summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers
AgeCommit message (Collapse)Author
2009-03-04gallium: Unify reference counting.Michel Dänzer
The core reference counting code is centralized in p_refcnt.h. This has some consequences related to struct pipe_buffer: * The screen member of struct pipe_buffer must be initialized, or pipe_buffer_reference() will crash trying to destroy a buffer with reference count 0. u_simple_screen takes care of this, but I may have missed some of the drivers not using it. * Except for rare exceptions deep in winsys code, buffers must always be allocated via pipe_buffer_create() or via screen->*buffer_create() rather than via winsys->*buffer_create().
2009-03-04st/dri2: Fake frontbuffer changesJakob Bornecrantz
Front buffer rendering works as it stands but it completely wrong. But as it stands fake front buffer rendering is completely broken. So we keep it as it is. But lets atleast handle it in the get buffers code.
2009-03-04st/dri2: Hook up flush_frontbufferJakob Bornecrantz
Doesn't do anything because we can't tell the X server about any changes to the fake front buffer.
2009-03-04st/dri2: We are strictly a dri2 driverJakob Bornecrantz
2009-03-03st/drm: s/hocks/hooks/Jakob Bornecrantz
2009-03-03wgl: Support the same combinations of single buffer pixel formats.José Fonseca
2009-03-03st/xorg: Add Xorg state trackerJakob Bornecrantz
2009-03-03st/dri2: Add DRI2 a state trackerJakob Bornecrantz
This was based of the unfinnished code that Keith Whitwell started on but never finnished. I moved the code from the glx directory because dri drivers can be used for more things then just glx.
2009-02-27egl: Fix for minor api changeJakob Bornecrantz
2009-02-25egl: remove compiler flags from CFLAGSBrian Paul
The incoming CFLAGS already has -fPIC and -Wall. Don't want -g here either.
2009-02-25egl: add comment/reminder to fix the CFLAGS in this MakefileBrian Paul
2009-02-25gallium: Fix build when exiting CFLAGS contains a path with different gl.hBenjamin Close
If a path is in CFLAGS when building and that path contains gl.h then the wrong gl.h is used when building. This can lead to very confusing errors. The solution is rather than postpend the CFLAGS we prepend the paths as expected allowing compilation to occur as intended Signed-off-by: Benjamin Close <Benjamin.Close@clearchain.com>
2009-02-24st/wgl: silence some debugKeith Whitwell
2009-02-23Merge commit 'origin/gallium-0.1'José Fonseca
Conflicts: src/gallium/auxiliary/pipebuffer/pb_bufmgr_mm.c src/gallium/auxiliary/util/u_tile.c
2009-02-23wgl: Enable the use of Win32 threads.José Fonseca
2009-02-22gallium: remove dependency on main/glheader.h in glxapi.cBrian Paul
Only needed it for the PUBLIC macro.
2009-02-20python: More efficient blits from surfaces.José Fonseca
C code instead of interpreted python code.
2009-02-20python/interpreter: Don't do unnecessary updates.José Fonseca
2009-02-20python/retrace: Verbosity level.José Fonseca
2009-02-20python/retrace: Cope with python 2.4.xJosé Fonseca
2009-02-20python: Pass a zero offset to util_draw_vertex_buffer.José Fonseca
2009-02-20wgl: Prevent null pointer reference.José Fonseca
2009-02-20gallium: Improve makefiles for librariesJakob Bornecrantz
The template makefile that most libraries in gallium included was based on dri and had a bunch unrelevant junk in it. Update it and improve the depending makefiles.
2009-02-19wgl: debug_printf in the main entry/exit pointsJosé Fonseca
2009-02-19wgl: Call pipe_screen::destroy on exit.José Fonseca
2009-02-19wgl: Use a separate .DEF for MinGWJosé Fonseca
gnu linker fails to resolve the @n symbols, unless: - they are listed verbatim in the .def - they are already linked. And mingw's .def parser is slightly incompatible with MSVC in respect with underscores. Will try to work with upstream to fix this, but for now there is no option other to use seperate .def for mingw.
2009-02-19wgl: Share more code between icd and standalone driver.José Fonseca
2009-02-18Merge branch 'gallium-texture-transfer'Michel Dänzer
Conflicts: src/gallium/drivers/softpipe/sp_tile_cache.c
2009-02-16Merge branch 'master' into gallium-texture-transferKeith Whitwell
Conflicts: src/mesa/state_tracker/st_cb_accum.c src/mesa/state_tracker/st_cb_drawpixels.c
2009-02-18util: Move p_debug.h into util module.José Fonseca
The debug functions depend on several util function for os abstractions, and these depend on debug functions, so a seperate module is not possible.
2009-02-18wgl: Report memory leaks.José Fonseca
2009-02-12egl: Doesn't depend on xorg or pixmanJakob Bornecrantz
2009-02-13galium: Makefile fixes: -Werror=implicit-function-declaration -> ↵Benjamin Close
-Werror-implicit-function-declaration Found-By: Tinderbox
2009-02-11g3dvl: Fixups for introduction of pipe_transfer.Michel Dänzer
2009-02-11egl: Use only libdrm structs for kmsJakob Bornecrantz
2009-02-12scons: Build xlib state tracker regardless of DRI settings.José Fonseca
2009-02-11Add external pixman CFLAGS after all internal include pathsDan Nicholson
With the pixman CFLAGS at the beginning of the command line, my build was picking up the glcore.h from glproto, which doesn't have any of the TFP fields in __GLcontextmodes. Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
2009-02-11wgl: Add a few more stubs.José Fonseca
I wonder why we need this... It is only necessary for the MSVC build. MinGW does not require them.
2009-02-10Merge commit 'origin/gallium-0.2' into gallium-master-mergeBrian Paul
2009-02-10wgl: return before locking if stw_icd is NULLKeith Whitwell
2009-02-10Merge commit 'origin/gallium-0.2' into gallium-0.2Keith Whitwell
Conflicts: src/gallium/state_trackers/wgl/icd/stw_icd.c
2009-02-10wgl: mutex-protect the shared stw_icd structKeith Whitwell
2009-02-10gallium: Introduce new subdirs build variablesJakob Bornecrantz
(based on gallium-xorg-driver/commit 270ce504052d415870a25ab59818b2309eb8ac13)
2009-02-10vmw/icd: remove bogus current_context valueKeith Whitwell
2009-02-10wgl: Fix null pointer reference.José Fonseca
2009-02-10stw: Hack for applications which use wglSetPixelFormat instead of ↵José Fonseca
SetPixelFormat.
2009-02-10wgl: s/0x%p/%p/gJosé Fonseca
Rather not have 0x prefix, than 0x0x in certain platforms.
2009-02-06g3dvl: Catch up to gallium changes, fix build.Younes Manton
2009-02-02scons: Fixups for the introduction of the xlib state_tracker.Michel Dänzer
Not quite working yet; glxinfo complains about glXChooseVisual being undefined.
2009-02-02Merge commit 'origin/gallium-0.2' into gallium-0.2Keith Whitwell