summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers
AgeCommit message (Collapse)Author
2010-05-11st/xorg: Fix SCons build.Michel Dänzer
2010-05-08gallium: Add egl-apis target.Chia-I Wu
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.
2010-05-08egl_g3d: Check external modules for client APIs first.Chia-I Wu
dlopen api_<API>.so before dlopening the process itself in case the client APIs are implemented in external modules.
2010-05-07wgl: Add mapi to includes.José Fonseca
2010-05-07st/vega: Use vgapi.Chia-I Wu
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.
2010-05-07glapi: Move to src/mapi/.Chia-I Wu
Move glapi to src/mapi/{glapi,es1api,es2api}.
2010-05-03gallium: move surface utility functions into u_surface.cBrian Paul
This is a better place than in u_rect.c
2010-05-02Update dri state tracker to use new API aware context createXavier Chantry
2010-04-27st/dri: Don't check for null when user ensures non-nullJakob Bornecrantz
2010-04-27st/dri: Use flush function of old context not newJakob Bornecrantz
2010-04-26et/egl: Remove dead code.Vinson Lee
proc_name cannot be NULL after the switch statement. proc_name is assigned a value or the function has already returned.
2010-04-25st/wgl: s/st_manager_create_api/st_gl_api_create/Vinson Lee
commit 0c572c6828b6a338b07a6860280b3a314a81662e replaced st_manager_create_api with st_gl_api_create. Fixes MSVC build.
2010-04-26st/dri: Refactor dri_st_api into other filesJakob Bornecrantz
2010-04-26st/dri: Make st_framebuffer_iface the base for dri_drawableJakob Bornecrantz
2010-04-26st/dri: Make st_manager the base for dri_screenJakob Bornecrantz
2010-04-26st/dri: Add hooks for framebuffer functionsJakob Bornecrantz
2010-04-26st/dri: Make lookup_egl_image a hookJakob Bornecrantz
2010-04-26st_api: Remove st_moduleJakob Bornecrantz
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.
2010-04-25st/dri: Add missing header.Vinson Lee
Add GL/internal/dri_interface.h for __DRI_TEXTURE_FORMAT_RGB.
2010-04-24st/dri: DRI2 give proper binding to depth bufferJakob Bornecrantz
2010-04-23st/xlib: Try to propagate failure to create framebuffer.José Fonseca
Doesn't help much, since it is ignored by st_framebuffer_validate.
2010-04-21st/glx: variable 'i' is an enumBrian Paul
Now we can get see 'i' as an enum name instead of a plain integer in gdb.
2010-04-20st/egl: No need to use drm_api argument structJakob Bornecrantz
2010-04-20st/egl: Use correct driver_name field to get kernel driver nameJakob Bornecrantz
2010-04-20st/egl: Check for null destroy callback on api structJakob Bornecrantz
2010-04-20Merge branch 'gallium-index-bias'José Fonseca
2010-04-19Merge branch '7.8'Dan Nicholson
Conflicts: progs/egl/Makefile progs/egl/Makefile is gone on master with the egl demos split into subdirectories. Will require an additional commit.
2010-04-19egl: Pass flags to locate Xlib headers and librariesDan Nicholson
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 <dbn.lists@gmail.com>
2010-04-19Change libX11 variables to not conflict with AC_PATH_XTRADan Nicholson
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 <dbn.lists@gmail.com> (cherry picked from commit e725ef171b5a4d5425461f237d9ccab223806913)
2010-04-19gallium: Respect user's CFLAGS for including X headersDan Nicholson
This can break on systems that don't have a system X installation. Signed-off-by: Dan Nicholson <dbn.lists@gmail.com> (cherry picked from commit de4ee20578a79e024b0de83c40648112f42c994e) Conflicts: src/gallium/winsys/xlib/Makefile
2010-04-19st/python: Use index bias.José Fonseca
2010-04-18st/python: Set the bind flag for the default texture.José Fonseca
2010-04-17st/dri: Check for NULL before dereference and assignment.Vinson Lee
2010-04-16st/drisw: Stop pretending to be drm_apiJakob Bornecrantz
Reviewed-by: George Sapountzis <gsapountzis@gmail.com>
2010-04-16st/dri: Refactor init code a bitJakob Bornecrantz
Reviewed-by: George Sapountzis <gsapountzis@gmail.com>
2010-04-16st/egl: Remove unnecessary header.Vinson Lee
2010-04-16st/dri: Remove unnecessary header.Vinson Lee
2010-04-13st/vega: Drop st_public support.Chia-I Wu
There is no user of st_public now.
2010-04-13st/vega: Do not rely on st_resize_framebuffer.Chia-I Wu
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.
2010-04-12st/python: Fix regressions.José Fonseca
2010-04-12stw: Update for pipe_resource interface changes.José Fonseca
2010-04-12stw: Fix minor st_api migration glitches.José Fonseca
2010-04-12st/wgl: Switch from st_public.h to st_api.h. [V2]Chia-I Wu
This is only compile tested with crossmingw. V2: - reference count stw_framebuffer
2010-04-12st/egl: Request the front buffer as needed.Chia-I Wu
The front buffer is added to support old X servers. Check the version of the server so that it can be added as needed.
2010-04-12st/egl: Fix DRI2 on old X serversJakob Bornecrantz
2010-04-11st/egl: Follow the portability guide.Chia-I Wu
Avoid including standard library headers and use MALLOC/FREE if possible.
2010-04-11st/egl: Factor driver callbacks to a new file.Chia-I Wu
Factor all callbacks other than Initialize, Terminate, and GetProcAddress to egl_g3d_api.c.
2010-04-11scons: Always build softpipe and llvmpipe (when llvm available).José Fonseca
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.
2010-04-11scons: Make LLVM a black-white dependency.José Fonseca
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.
2010-04-11scons: Use libdrm options only where needed.José Fonseca
Prevents needless recompiles when switching dri=yes to no.