summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers
AgeCommit message (Collapse)Author
2009-08-18Merge branch 'mesa_7_5_branch'Brian Paul
2009-08-18egl: Create the front texture the properlyJakob Bornecrantz
2009-08-18egl: Some per-driver data should be per-display.Chia-I Wu
Move some fields of _EGLDriver to _EGLDisplay. It also becomes unnecessary to pass _EGLDisplay to drivers when _eglMain is called. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-08-18egl: Overhaul driver API.Chia-I Wu
The motivation is so that drivers do not need to look up and check for bad display, context, and etc. It also becomes unnecessary for drivers to call the link functions. This commit makes eglapi.[ch] do the lookup and check. As a result, the driver API is overhauled, and almost all sources and drivers need update. The updates are mainly find and replace with human brains. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-08-14python/retrace: Open bz2 files correctly.José Fonseca
2009-08-14st/xlib: reduce the proliferation of GLX context typesKeith Whitwell
Now there is just a single, struct __GLXcontextRec, which is the GLXContext typedef has already been defined as a pointer to. I believe this is the intended usage, that GLX implementations should define that struct as they require. Merge the two previous structs into one and get rid of the no-longer-necessary type casts and sub-classing.
2009-08-14st/dri: remove unused dummyContext valueKeith Whitwell
2009-08-14st/vega: Add more symbols defined by mesa/st.Chia-I Wu
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-08-13st/dri: Add support for GLX_EXT_texture_from_pixmap with direct rendering.Michel Dänzer
2009-08-13st/xorg: Fix DRI2 CopyRegion hook.Michel Dänzer
Use GC CopyArea op for proper translation and clipping, and throttle full buffer swaps / frontbuffer flushes.
2009-08-12st/xorg: Acquire/drop DRM master in order to work with multiple servers.Michel Dänzer
2009-08-12gallium/glx/xlib: main/ prefix on Mesa includes, remove -I$(TOP)/src/mesa/main/Brian Paul
2009-08-12gallium/glx/xlib: updated commentsBrian Paul
2009-08-12gallium/glx/xlib: delete fakeglx.hBrian Paul
2009-08-12gallium/glx/xlib: rename fakeglx.c to glx_api.cBrian Paul
2009-08-12gallium/glx/xlib: delete glxapi.hBrian Paul
2009-08-12gallium/glx/xlib: rename fakeglx_fonts.c to glx_usefont.cBrian Paul
2009-08-12gallium/glx/xlib: rename glxapi.c to glx_getproc.cBrian Paul
2009-08-12gallium/glx/xlib: don't include fakeglx.hBrian Paul
2009-08-12gallium/glx/xlib: overhaul and simplification of the Gallium Xlib-based GLXBrian Paul
The old GLX dispatch table stuff isn't needed (same story for the Mesa/Xlib driver). The intention of that code was being able to switch on the fly between the real GLX library and the fake/Xlib-based emulation. That hasn't been used in a long time. Next up: some file renaming.
2009-08-06st/xorg: If we have DRI2 we should also have some sort of hw supportJakob Bornecrantz
2009-08-05st/xorg: Make it work againJakob Bornecrantz
2009-08-05st/egl: Create primary texture not display targetJakob Bornecrantz
2009-08-03egl: Replace IsBound by a pointer to the binding.Chia-I Wu
IsBound tells if a context or surface is current. What it does not tell is, to which thread a context is current, or to which context a surface is current. This commit replaces IsBound by a pointer to the binding thread or context. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-07-31Rename TGSI LOOP instruction to better match theri usage.Michal Krol
The LOOP/ENDLOOP pair is renamed to BGNFOR/ENDFOR as its behaviour is similar to a C language for-loop. The BGNLOOP2/ENDLOOP2 pair is renamed to BGNLOOP/ENDLOOP as now there is no name collision.
2009-07-18gallium: make g3dvl build againDave Airlie
2009-07-17Merge branch 'mesa_7_5_branch'Brian Paul
Conflicts: Makefile progs/glsl/multitex.c src/mesa/main/enums.c src/mesa/main/state.c src/mesa/main/texenvprogram.c src/mesa/main/version.h
2009-07-18st/egl: Fix broken build after EGL thread changesAndrew Randrianasulu
2009-07-17egl: Remove redundant DeletePending flag.Chia-I Wu
A context or surface that is neither linked to a display nor current to a thread should be destroyed. Therefore, an unlinked context or surface implies a pending delete automatically. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-07-17egl: Use the link functions to manage resources.Chia-I Wu
This commit uses the newly introduced link functions to manage EGL contexts and surfaces. As a result of this, the API for drivers are changed. All drivers are updated for the change. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-07-16python/retrace: Process the call no passed to --to option inclusively.José Fonseca
2009-07-16python/retrace: Dump the surface copy contents.José Fonseca
2009-07-16python/retrace: Flush stdout before calling the pipe driver.José Fonseca
So that messages are in sync with stderr.
2009-07-16python: Hack to prevent segmentation faults when python exits.José Fonseca
2009-07-16wgl: Expose pipe_screen/pipe_context via an extension.José Fonseca
2009-07-16python: Obtain pipe_screen/pipe_context from the system's OpenGL driver.José Fonseca
2009-07-15python/retrace: Interpret surface_copy.José Fonseca
2009-07-15python/samples: Use PIPE_FORMAT_Z16_UNORM instead of PIPE_FORMAT_Z32_UNORM.José Fonseca
More common. True fix would be to use whatever the screen supports though.
2009-07-14dri-st: Unbreak GL_EXT_blend_equation_separate.Corbin Simpson
Since it has a dispatch table entry (for BlendEquationSeparateEXT,) can't omit it from this list. It'll still get disabled if the cap (PIPE_CAP_BLEND_EQUATION_SEPARATE) isn't set. Somebody that doesn't suck at GL (read: not me) should probably add this into progs/samples/blendeq or similar so we can test it.
2009-07-14gallium: Define PIPE_CAP_BLEND_EQUATION_SEPARATE, remove extension from ↵Patrice Mandin
default extension list
2009-07-06wgl: Make the stw_framebuffer destructions threadsafe.José Fonseca
Ensure no other thread is accessing a framebuffer when it is being destroyed by acquiring both the global and per-framebuffer mutexes. Normal access only needs the global lock to walk the linked list and acquire the per-framebuffer mutex.
2009-07-06wgl: Check for multiple threads before GET_CURRENT_CONTEXT.José Fonseca
Fixes wglthreads -- the 2nd thread MakeCurrent call was trying to flush the first thread context while still in use.
2009-07-06wgl: Listen to WM_WINDOWPOSCHANGED instead of WM_SIZE messages.José Fonseca
According to http://blogs.msdn.com/oldnewthing/archive/2008/01/15/7113860.aspx WM_SIZE is generated from WM_WINDOWPOSCHANGED by DefWindowProc so it can be masked out by the application. Also there were some weird bogus WM_SIZE 0x0 messages when starting sharedtex_mt which we don't get like this.
2009-07-04Merge branch 'mesa_7_5_branch'Jakob Bornecrantz
2009-07-06Merge commit 'origin/openvg-1.0'Zack Rusin
2009-07-06exa: some infrastucture work for accelerating compositeZack Rusin
2009-07-03Merge branch 'mesa_7_5_branch'Jakob Bornecrantz
Conflicts: src/mesa/main/dlist.c src/mesa/vbo/vbo_save_api.c
2009-07-03st/wgl: don't advertise WGL_EXT_swap_interval stringKeith Whitwell
This is a tweak to a previous fix -- it's not necessary to actually advertise this extension to prevent these games from crashing -- they ignore the extension string anyway. It's sufficient to just have GetProcAddress return some dummy function addresses for SwapInterval. Given we don't really implement this funcitonality, this is a better fix.
2009-07-03wgl: Lookup framebuffers by HWND whenever possible.José Fonseca
Some applications create several HDCs for the same window, so spite the WGL API is geared towards HDCs it is not reliable searching by HDC.
2009-06-30gallium: remove the pipe_sampler_state::shadow_ambient fieldBrian Paul
This was only present for the sake of GL_ARB_shadow_ambient which we never implemented in Gallium. If we someday want GL_ARB_shadow_ambient we can implement it in the state tracker by adding a MAD after the relevant TEX instructions.