summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers
AgeCommit message (Collapse)Author
2009-08-22st/dri: Remove some debug printsJakob Bornecrantz
2009-08-22st/dri: Find out if the drawable is a pixmapJakob Bornecrantz
Part of this code is disabled since no performance gains where detected with it enabled. This code only detects if it is a pixmap that it is rendering to on the st/xorg DDX since it sets the fake front to the same handle as front.
2009-08-22st/dri: Fix frontbuffer rendering with DRI2Jakob Bornecrantz
2009-08-22st/xorg: Handle fake fronts correctly for pixmapsJakob Bornecrantz
2009-08-21st/egl: Add support for drmModeDirtyFB command if foundJakob Bornecrantz
2009-08-20st/egl: Open the first drm nodeJakob Bornecrantz
At least its better then hardcoded to i915
2009-08-19gallium: rename copy/fill_rect utility functionsBrian Paul
2009-08-19st/xlib: remove a couple more 'fake' referencesKeith Whitwell
2009-08-19st/xlib: remove dead ungrab helperKeith Whitwell
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.