aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers
Commit message (Collapse)AuthorAgeFilesLines
* st/xorg: Fix SCons build.Michel Dänzer2010-05-111-1/+3
|
* gallium: Add egl-apis target.Chia-I Wu2010-05-086-166/+48
| | | | | | | | | | | | | | | The new target installs client API modules to EGL_DRIVER_INSTALL_DIR. They are used by st/egl. The client APIs are built from OpenGL and OpenVG state trackers. For this to work, st/vega is modified to produce a static library, libvega.a, instead. st/es is also not needed any more. It is removed and --with-state-trackers=es is replaced by --enable-gles-overlay. As st/egl now has its own client API modules, this solves the ABI issue between st/egl and client APIs, as long as the client API modules are distributed with st/egl. Plus, this allows st/egl to support OpenGL with non-Gallium libGL.so.
* egl_g3d: Check external modules for client APIs first.Chia-I Wu2010-05-083-39/+157
| | | | | dlopen api_<API>.so before dlopening the process itself in case the client APIs are implemented in external modules.
* wgl: Add mapi to includes.José Fonseca2010-05-071-0/+1
|
* st/vega: Use vgapi.Chia-I Wu2010-05-0716-235/+393
| | | | | | Rename vgFooBar to vegaFooBar and use vgapi as the dispatcher. This makes sure there is always a current context when the internal functions are called. And eglGetProcAddress is finally supported.
* glapi: Move to src/mapi/.Chia-I Wu2010-05-078-2/+10
| | | | Move glapi to src/mapi/{glapi,es1api,es2api}.
* gallium: move surface utility functions into u_surface.cBrian Paul2010-05-034-0/+4
| | | | This is a better place than in u_rect.c
* Update dri state tracker to use new API aware context createXavier Chantry2010-05-022-2/+4
|
* st/dri: Don't check for null when user ensures non-nullJakob Bornecrantz2010-04-271-30/+22
|
* st/dri: Use flush function of old context not newJakob Bornecrantz2010-04-271-1/+1
|
* et/egl: Remove dead code.Vinson Lee2010-04-261-3/+0
| | | | | proc_name cannot be NULL after the switch statement. proc_name is assigned a value or the function has already returned.
* st/wgl: s/st_manager_create_api/st_gl_api_create/Vinson Lee2010-04-251-2/+2
| | | | | | | commit 0c572c6828b6a338b07a6860280b3a314a81662e replaced st_manager_create_api with st_gl_api_create. Fixes MSVC build.
* st/dri: Refactor dri_st_api into other filesJakob Bornecrantz2010-04-2617-303/+173
|
* st/dri: Make st_framebuffer_iface the base for dri_drawableJakob Bornecrantz2010-04-268-41/+26
|
* st/dri: Make st_manager the base for dri_screenJakob Bornecrantz2010-04-268-85/+35
|
* st/dri: Add hooks for framebuffer functionsJakob Bornecrantz2010-04-2610-123/+94
|
* st/dri: Make lookup_egl_image a hookJakob Bornecrantz2010-04-264-10/+13
|
* st_api: Remove st_moduleJakob Bornecrantz2010-04-265-51/+42
| | | | | | The struct st_module isn't needed as it is the same thing as the st_api struct. That is they both represent the API. Instead just use a single function entry point to the the API.
* st/dri: Add missing header.Vinson Lee2010-04-251-0/+2
| | | | Add GL/internal/dri_interface.h for __DRI_TEXTURE_FORMAT_RGB.
* st/dri: DRI2 give proper binding to depth bufferJakob Bornecrantz2010-04-241-14/+16
|
* st/xlib: Try to propagate failure to create framebuffer.José Fonseca2010-04-231-3/+10
| | | | Doesn't help much, since it is ignored by st_framebuffer_validate.
* st/glx: variable 'i' is an enumBrian Paul2010-04-211-1/+1
| | | | Now we can get see 'i' as an enum name instead of a plain integer in gdb.
* st/egl: No need to use drm_api argument structJakob Bornecrantz2010-04-202-8/+2
|
* st/egl: Use correct driver_name field to get kernel driver nameJakob Bornecrantz2010-04-201-1/+1
|
* st/egl: Check for null destroy callback on api structJakob Bornecrantz2010-04-201-1/+1
|
* Merge branch 'gallium-index-bias'José Fonseca2010-04-201-4/+6
|\
| * st/python: Use index bias.José Fonseca2010-04-191-4/+6
| |
* | Merge branch '7.8'Dan Nicholson2010-04-191-0/+1
|\ \ | |/ |/| | | | | | | | | | | Conflicts: progs/egl/Makefile progs/egl/Makefile is gone on master with the egl demos split into subdirectories. Will require an additional commit.
| * egl: Pass flags to locate Xlib headers and librariesDan Nicholson2010-04-191-0/+1
| | | | | | | | | | | | | | | | eglplatform.h pulls in Xlib.h on X11 platforms. Likewise, the egl glx driver and egl programs needs to link to libX11. Make sure we use the locations the user told us about. Signed-off-by: Dan Nicholson <[email protected]>
| * Change libX11 variables to not conflict with AC_PATH_XTRADan Nicholson2010-04-191-1/+1
| | | | | | | | | | | | | | | | | | The variable X_LIBS from AC_PATH_XTRA contains only the -L searchdir parameter and not the -lX11 to link to Xlib. Use X11 prefixed build vars for linking with Xlib to avoid the conflict. Signed-off-by: Dan Nicholson <[email protected]> (cherry picked from commit e725ef171b5a4d5425461f237d9ccab223806913)
| * gallium: Respect user's CFLAGS for including X headersDan Nicholson2010-04-191-1/+2
| | | | | | | | | | | | | | | | | | | | | | This can break on systems that don't have a system X installation. Signed-off-by: Dan Nicholson <[email protected]> (cherry picked from commit de4ee20578a79e024b0de83c40648112f42c994e) Conflicts: src/gallium/winsys/xlib/Makefile
* | st/python: Set the bind flag for the default texture.José Fonseca2010-04-181-0/+1
| |
* | st/dri: Check for NULL before dereference and assignment.Vinson Lee2010-04-171-2/+10
| |
* | st/drisw: Stop pretending to be drm_apiJakob Bornecrantz2010-04-161-5/+1
| | | | | | | | Reviewed-by: George Sapountzis <[email protected]>
* | st/dri: Refactor init code a bitJakob Bornecrantz2010-04-165-9/+18
| | | | | | | | Reviewed-by: George Sapountzis <[email protected]>
* | st/egl: Remove unnecessary header.Vinson Lee2010-04-161-1/+0
| |
* | st/dri: Remove unnecessary header.Vinson Lee2010-04-161-1/+0
| |
* | st/vega: Drop st_public support.Chia-I Wu2010-04-134-610/+0
| | | | | | | | There is no user of st_public now.
* | st/vega: Do not rely on st_resize_framebuffer.Chia-I Wu2010-04-131-24/+239
| | | | | | | | | | | | Add vg_context_update_draw_buffer (and helpers) that duplicates the logic of st_resize_framebuffer. Use the new function instead of st_resize_framebuffer in vg_manager.c.
* | st/python: Fix regressions.José Fonseca2010-04-123-48/+117
| |
* | stw: Update for pipe_resource interface changes.José Fonseca2010-04-121-15/+17
| |
* | stw: Fix minor st_api migration glitches.José Fonseca2010-04-122-2/+6
| |
* | st/wgl: Switch from st_public.h to st_api.h. [V2]Chia-I Wu2010-04-1212-197/+519
| | | | | | | | | | | | | | This is only compile tested with crossmingw. V2: - reference count stw_framebuffer
* | st/egl: Request the front buffer as needed.Chia-I Wu2010-04-121-7/+11
| | | | | | | | | | The front buffer is added to support old X servers. Check the version of the server so that it can be added as needed.
* | st/egl: Fix DRI2 on old X serversJakob Bornecrantz2010-04-121-1/+10
| |
* | st/egl: Follow the portability guide.Chia-I Wu2010-04-1110-92/+86
| | | | | | | | | | Avoid including standard library headers and use MALLOC/FREE if possible.
* | st/egl: Factor driver callbacks to a new file.Chia-I Wu2010-04-115-702/+776
| | | | | | | | | | Factor all callbacks other than Initialize, Terminate, and GetProcAddress to egl_g3d_api.c.
* | scons: Always build softpipe and llvmpipe (when llvm available).José Fonseca2010-04-111-2/+2
| | | | | | | | | | | | | | | | | | | | These are our reference software rasterizers. They can build everywhere and are a precious debugging tool. Making them always present immensily simplifies the scons logic. If people want to avoid building it is still possible to pass direcotries and target names to scons to narrow the build.
* | scons: Make LLVM a black-white dependency.José Fonseca2010-04-111-1/+0
| | | | | | | | | | | | | | Now that draw depends on llvm it is very difficult to correctly handle broken llvm installations. Either the user requests LLVM and it needs to supply a working installation. Or it doesn't, and it gets no LLVM accelerate pipe drivers.
* | scons: Use libdrm options only where needed.José Fonseca2010-04-111-0/+2
| | | | | | | | Prevents needless recompiles when switching dri=yes to no.