aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers
Commit message (Collapse)AuthorAgeFilesLines
* 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.
| * | python/retrace: Interpret is_texture_referenced/is_buffer_referenced.José Fonseca2009-06-111-0/+8
| | |
| * | wgl: Fix prototype.José Fonseca2009-06-111-1/+1
| | |
* | | Merge branch 'mesa_7_5_branch'José Fonseca2009-06-111-7/+216
|\| | | | | | | | | | | | | | | | | Conflicts: src/mesa/state_tracker/st_cb_fbo.c src/mesa/state_tracker/st_framebuffer.c
| * | python/tests: Test sampling from a depth texture.José Fonseca2009-06-111-7/+216
| | |
* | | dri st: Don't require the PIPE_TEXTURE_USAGE_RENDER_TARGET property for ↵Thomas Hellstrom2009-06-111-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-091-1/+5
|\| | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: Makefile src/mesa/main/version.h src/mesa/shader/slang/slang_preprocess.c src/mesa/state_tracker/st_cb_bufferobjects.c
| * | stw: ignore swapbuffer requests on singlebufferKeith Whitwell2009-06-091-0/+3
| | | | | | | | | | | | | | | | | | Return TRUE in this case. Returning FALSE seems to result in mis-rendering -- possibly opengl32.dll is trying to compensate by doing a software blit??
| * | stw: If stfb not set don't call into mesaJakob Bornecrantz2009-06-081-1/+2
| | |
* | | Merge branch 'mesa_7_5_branch'Brian Paul2009-06-041-24/+48
|\| | | | | | | | | | | | | | | | | Conflicts: src/mesa/main/context.c
| * | wgl: Destroy the framebuffer when the window is destroyed.José Fonseca2009-06-011-24/+48
| | |
* | | Merge branch 'mesa_7_5_branch'Brian Paul2009-06-0110-223/+339
|\| |
| * | wgl: Cleanup framebuffer destruction logic.José Fonseca2009-05-311-9/+4
| | |
| * | wgl: Ensure we only create framebuffers for HDC associated with a window.José Fonseca2009-05-311-1/+7
| | |
| * | wgl: Use the right pixel format.José Fonseca2009-05-309-202/+301
| | | | | | | | | | | | | | | | | | | | | | | | There is no current pixel format. Each HDC has its pixelformat which is kept by gdi and set/get via the SetPixelFormat/GetPixelFormat functions. Now the HDC's pixelformat is kept in the stw_framebuffer, which is created during the SetPixelFormat.
| * | wgl: Fix debugging output.José Fonseca2009-05-301-9/+27
| | |
| * | wgl: Rename function.José Fonseca2009-05-301-2/+2
| | |
| * | wgl: Remove unused field.José Fonseca2009-05-302-2/+0
| | |
* | | st/dri: Only create new textures if drawable has changedJakob Bornecrantz2009-05-182-0/+17
| | |