summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers
AgeCommit message (Collapse)Author
2009-03-18st: call _glapi_check_multithread from st_make_currentKeith Whitwell
This function is called from many OS-dependent versions of MakeCurrent. Move the check for multithreading to this central location to avoid having to make this check from all the callers.
2009-03-18stw: Fix makeCurrent.Thomas Hellstrom
Flush if we change current context. Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
2009-03-18xlib st: Fix makeCurrent.Thomas Hellstrom
Flush if we change context. Also reinstate the old optimization of doing nothing if nothing changes. Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
2009-03-18st/dri2: use pipe_screen.is_format_supported to choose depth/stencil formatBen Skeggs
2009-03-17python: Return on unknown pixel format.Michal Krol
2009-03-17python: Fix build after refcount rework.Michal Krol
2009-03-17python: Include `p_winsys_screen.h'.Michal Krol
2009-03-17python: Do not pass screen object to pipe_buffer_reference.Michal Krol
2009-03-16python: Use transfer object to read from a surface.Michal Krol
2009-03-16python: pipe_vertex_buffer's pitch member has been renamed to stride.Michal Krol
2009-03-16python: size is not a member of pipe_constant_buffer any more.Michal Krol
2009-03-16python: Include missing `p_compiler.h' header.michal
2009-03-16python: Do not pass shader_state to util shader functions.michal
2009-03-16python: Use transfer objects to initialise texture data.michal
2009-03-16python: Use new bypass_vs_clip_and_viewport rasteriser flag.michal
2009-03-15dri2-gallium: Add occlusion query support at the state tracker level.Corbin Simpson
2009-03-14nouveau: bypass_vs_clip_and_viewportYounes Manton
2009-03-13gallium: Remove do_flip argument from surface_copyJakob Bornecrantz
I should have gotten most uses and implementation correctly fixed, but things might break. Feel free to blame me.
2009-03-12wgl: add new dispatch stubsBrian Paul
2009-03-12stw: fix uninitialized variable issueKeith Whitwell
2009-03-09scons: Also define USE_XSHM for the glx/xlib state tracker build.Michel Dänzer
Fixes an inconsisten definition of struct xmesa_buffer between there and winsys/xlib, resulting in a crash in XPutImage.
2009-03-09Fix up another instance of _mesa_unreference_framebuffer().Michel Dänzer
2009-03-06wgl: Check support for all other depth/stencil formats.José Fonseca
2009-03-06wgl: Choose a supported S8Z24/Z24S8/X8Z24/Z24X8.José Fonseca
2009-03-05st/xorg: Clean up xorg_exa.c a bitJakob Bornecrantz
2009-03-05st/xorg: Change format function a bitJakob Bornecrantz
2009-03-05st/xorg: Fix transfer double freeJakob Bornecrantz
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.