summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers
Commit message (Collapse)AuthorAgeFilesLines
* st/xorg: If we have DRI2 we should also have some sort of hw supportJakob Bornecrantz2009-08-061-1/+1
|
* st/xorg: Make it work againJakob Bornecrantz2009-08-055-10/+86
|
* st/egl: Create primary texture not display targetJakob Bornecrantz2009-08-051-2/+2
|
* egl: Replace IsBound by a pointer to the binding.Chia-I Wu2009-08-032-2/+2
| | | | | | | | | 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 <[email protected]>
* Rename TGSI LOOP instruction to better match theri usage.Michal Krol2009-07-311-2/+2
| | | | | | | | 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.
* gallium: make g3dvl build againDave Airlie2009-07-183-3/+0
|
* Merge branch 'mesa_7_5_branch'Brian Paul2009-07-179-7/+351
|\ | | | | | | | | | | | | | | | | | | | | 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
| * python/retrace: Process the call no passed to --to option inclusively.José Fonseca2009-07-161-1/+1
| |
| * python/retrace: Dump the surface copy contents.José Fonseca2009-07-161-0/+10
| |
| * python/retrace: Flush stdout before calling the pipe driver.José Fonseca2009-07-161-0/+4
| | | | | | | | So that messages are in sync with stderr.
| * python: Hack to prevent segmentation faults when python exits.José Fonseca2009-07-161-1/+7
| |
| * wgl: Expose pipe_screen/pipe_context via an extension.José Fonseca2009-07-164-1/+133
| |
| * python: Obtain pipe_screen/pipe_context from the system's OpenGL driver.José Fonseca2009-07-162-3/+191
| |
| * python/retrace: Interpret surface_copy.José Fonseca2009-07-151-0/+4
| |
| * python/samples: Use PIPE_FORMAT_Z16_UNORM instead of PIPE_FORMAT_Z32_UNORM.José Fonseca2009-07-151-1/+1
| | | | | | | | More common. True fix would be to use whatever the screen supports though.
* | st/egl: Fix broken build after EGL thread changesAndrew Randrianasulu2009-07-181-1/+1
| |
* | egl: Remove redundant DeletePending flag.Chia-I Wu2009-07-172-6/+2
| | | | | | | | | | | | | | | | 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 <[email protected]>
* | egl: Use the link functions to manage resources.Chia-I Wu2009-07-172-7/+8
| | | | | | | | | | | | | | | | 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 <[email protected]>
* | dri-st: Unbreak GL_EXT_blend_equation_separate.Corbin Simpson2009-07-141-0/+1
| | | | | | | | | | | | | | | | | | 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.
* | gallium: Define PIPE_CAP_BLEND_EQUATION_SEPARATE, remove extension from ↵Patrice Mandin2009-07-141-2/+0
| | | | | | | | default extension list
* | Merge branch 'mesa_7_5_branch'Jakob Bornecrantz2009-07-045-123/+234
|\|
| * wgl: Make the stw_framebuffer destructions threadsafe.José Fonseca2009-07-065-82/+186
| | | | | | | | | | | | | | 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.
| * wgl: Check for multiple threads before GET_CURRENT_CONTEXT.José Fonseca2009-07-061-2/+8
| | | | | | | | | | Fixes wglthreads -- the 2nd thread MakeCurrent call was trying to flush the first thread context while still in use.
| * wgl: Listen to WM_WINDOWPOSCHANGED instead of WM_SIZE messages.José Fonseca2009-07-061-44/+45
| | | | | | | | | | | | | | | | | | | | 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.
* | Merge commit 'origin/openvg-1.0'Zack Rusin2009-07-0650-0/+18857
|\ \
| * | OpenVG 1.0 State TrackerZack Rusin2009-05-0150-0/+18857
| | | | | | | | | | | | Import of the OpenVG 1.0 state tracker for Gallium.
* | | exa: some infrastucture work for accelerating compositeZack Rusin2009-07-065-49/+130
| | |
* | | Merge branch 'mesa_7_5_branch'Jakob Bornecrantz2009-07-035-6/+79
|\ \ \ | | |/ | |/| | | | | | | | | | Conflicts: src/mesa/main/dlist.c src/mesa/vbo/vbo_save_api.c
| * | st/wgl: don't advertise WGL_EXT_swap_interval stringKeith Whitwell2009-07-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | wgl: Lookup framebuffers by HWND whenever possible.José Fonseca2009-07-031-0/+10
| | | | | | | | | | | | | | | 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.
| * | st/wgl: dummy implementation of wgl swapinterval extensionKeith Whitwell2009-07-014-0/+63
| | | | | | | | | | | | | | | | | | | | | Required as some applications retrieve and call these functions regardless of the fact that we don't advertise the extension and further more the results of wglGetProcAddress are NULL.
| * | wgl: Optimize wglGetProcAddress.José Fonseca2009-07-011-6/+6
| | | | | | | | | | | | Do linear search only if prefix matches.
* | | gallium: remove the pipe_sampler_state::shadow_ambient fieldBrian Paul2009-06-302-2/+0
| | | | | | | | | | | | | | | | | | | | | 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.
* | | drm/st: Return drm_api struct from a functionJakob Bornecrantz2009-06-3013-19/+34
| | |
* | | st/dri: Fix last depth bits logicJakob Bornecrantz2009-06-271-2/+2
| | |
* | | Merge branch 'mesa_7_5_branch'Brian Paul2009-06-247-139/+179
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/mesa/drivers/dri/i915/i915_tex_layout.c src/mesa/drivers/dri/i965/brw_wm_glsl.c src/mesa/drivers/dri/intel/intel_buffer_objects.c src/mesa/drivers/dri/intel/intel_pixel_bitmap.c src/mesa/drivers/dri/intel/intel_pixel_draw.c src/mesa/main/enums.c src/mesa/main/texstate.c src/mesa/vbo/vbo_exec_array.c
| * | wgl: Handle flush after a window is destroyed.José Fonseca2009-06-241-20/+21
| | | | | | | | | | | | Fixes assertion failure with conform.
| * | wgl: Fix window resizing in multithread applications.José Fonseca2009-06-184-47/+112
| | | | | | | | | | | | | | | In multithreading stw_call_window_proc can be called by a thread other than the thread where the context is bound.
| * | wgl: Move all thread related code together.José Fonseca2009-06-185-58/+33
| | | | | | | | | | | | | | | | | | Not only for cosmetic reasons, but also because we need to set the SetWindowsHookEx hook for threads created before the DllMain is called (threads for each we don't get the DLL_THREAD_ATTACH notification).
| * | st/glx: added null ptr check in Fake_glXCreatePixmap()Brian Paul2009-06-171-1/+1
| | | | | | | | | | | | Fixes segfault in progs/xdemos/glxgears_pixmap.c
| * | wgl: Factor out some repetitive code into inline functions.José Fonseca2009-06-171-29/+28
| | |
* | | st/xorg: Convert to template makefileJakob Bornecrantz2009-06-221-24/+13
| | |
* | | st/dri: Fix typo when checking for depth formatsJakob Bornecrantz2009-06-221-1/+1
| | |
* | | gallium dri st: Probe the driver for supported surface formats.Thomas Hellstrom2009-06-174-63/+114
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is done when constructing the fbconfigs, and the result is saved for window system framebuffer creation. Note: For dri2 the server needs to have an identical format selection logic. Otherwise the dri state-tracker and the xorg driver (state-tracker) will disagree on which format to use for the attachments. Some more work is needed in this area. Signed-off-by: Thomas Hellstrom <[email protected]>
* | | Merge branch 'mesa_7_5_branch'Brian Paul2009-06-162-18/+40
|\| | | | | | | | | | | | | | | | | Conflicts: src/mesa/main/api_validate.c
| * | python/tests: Add is_depth_stencil_format utility function.José Fonseca2009-06-151-0/+8
| | |
| * | python/tests: Cleanup texture_sample.José Fonseca2009-06-151-18/+32
| | |
| * | dri st: Don't require the PIPE_TEXTURE_USAGE_RENDER_TARGET property for ↵Thomas Hellstrom2009-06-151-2/+0
| | | | | | | | | | | | | | | | | | depth- and stencil renderbuffers. Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
* | | Merge branch 'mesa_7_5_branch'Jakob Bornecrantz2009-06-122-11/+37
|\| |
| * | python/retrace: Show the contents of the depth/stencil and surfaces ↵José Fonseca2009-06-111-10/+28
| | | | | | | | | | | | before/after transfers.