Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | wgl: Lookup framebuffers by HWND whenever possible. | José Fonseca | 2009-07-03 | 1 | -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 extension | Keith Whitwell | 2009-07-01 | 4 | -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é Fonseca | 2009-07-01 | 1 | -6/+6 |
| | | | | Do linear search only if prefix matches. | ||||
* | wgl: Handle flush after a window is destroyed. | José Fonseca | 2009-06-24 | 1 | -20/+21 |
| | | | | Fixes assertion failure with conform. | ||||
* | wgl: Fix window resizing in multithread applications. | José Fonseca | 2009-06-18 | 4 | -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é Fonseca | 2009-06-18 | 5 | -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 Paul | 2009-06-17 | 1 | -1/+1 |
| | | | | Fixes segfault in progs/xdemos/glxgears_pixmap.c | ||||
* | wgl: Factor out some repetitive code into inline functions. | José Fonseca | 2009-06-17 | 1 | -29/+28 |
| | |||||
* | python/tests: Add is_depth_stencil_format utility function. | José Fonseca | 2009-06-15 | 1 | -0/+8 |
| | |||||
* | python/tests: Cleanup texture_sample. | José Fonseca | 2009-06-15 | 1 | -18/+32 |
| | |||||
* | dri st: Don't require the PIPE_TEXTURE_USAGE_RENDER_TARGET property for ↵ | Thomas Hellstrom | 2009-06-15 | 1 | -2/+0 |
| | | | | | | depth- and stencil renderbuffers. Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com> | ||||
* | python/retrace: Show the contents of the depth/stencil and surfaces ↵ | José Fonseca | 2009-06-11 | 1 | -10/+28 |
| | | | | before/after transfers. | ||||
* | python/retrace: Interpret is_texture_referenced/is_buffer_referenced. | José Fonseca | 2009-06-11 | 1 | -0/+8 |
| | |||||
* | wgl: Fix prototype. | José Fonseca | 2009-06-11 | 1 | -1/+1 |
| | |||||
* | python/tests: Test sampling from a depth texture. | José Fonseca | 2009-06-11 | 1 | -7/+216 |
| | |||||
* | stw: ignore swapbuffer requests on singlebuffer | Keith Whitwell | 2009-06-09 | 1 | -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 mesa | Jakob Bornecrantz | 2009-06-08 | 1 | -1/+2 |
| | |||||
* | wgl: Destroy the framebuffer when the window is destroyed. | José Fonseca | 2009-06-01 | 1 | -24/+48 |
| | |||||
* | wgl: Cleanup framebuffer destruction logic. | José Fonseca | 2009-05-31 | 1 | -9/+4 |
| | |||||
* | wgl: Ensure we only create framebuffers for HDC associated with a window. | José Fonseca | 2009-05-31 | 1 | -1/+7 |
| | |||||
* | wgl: Use the right pixel format. | José Fonseca | 2009-05-30 | 9 | -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é Fonseca | 2009-05-30 | 1 | -9/+27 |
| | |||||
* | wgl: Rename function. | José Fonseca | 2009-05-30 | 1 | -2/+2 |
| | |||||
* | wgl: Remove unused field. | José Fonseca | 2009-05-30 | 2 | -2/+0 |
| | |||||
* | wgl: Grow the maximum number of pixel formats to cope with the new accum ↵ | José Fonseca | 2009-05-08 | 1 | -1/+1 |
| | | | | | | pixel formats. Fix a segfault when using softpipe. | ||||
* | wgl: Export pixelformats with accumulation bits. | José Fonseca | 2009-05-08 | 1 | -6/+8 |
| | |||||
* | stw: fix potential uninitialized use of curctx | Keith Whitwell | 2009-05-08 | 1 | -1/+1 |
| | |||||
* | wgl: Enforce a minimum 1x1 framebuffer size. | José Fonseca | 2009-05-08 | 1 | -8/+19 |
| | |||||
* | wgl: Add assertion for missing function. | José Fonseca | 2009-05-08 | 1 | -0/+1 |
| | |||||
* | wgl: Remove unused variable. | José Fonseca | 2009-05-08 | 1 | -1/+0 |
| | |||||
* | wgl: Implement ShareLists. | José Fonseca | 2009-05-08 | 4 | -7/+28 |
| | |||||
* | wgl: Implemente SwapLayerBuffers. | José Fonseca | 2009-05-08 | 4 | -5/+17 |
| | |||||
* | wgl: Include alpha bits in pixel format's cColorBits field. | José Fonseca | 2009-05-08 | 1 | -1/+1 |
| | |||||
* | wgl: UINT_PTR null value is an integral type, so return 0 instead of NULL. | José Fonseca | 2009-05-08 | 1 | -2/+2 |
| | |||||
* | gallium: Add SCons build support for the DRI state tracker. | Michel Dänzer | 2009-04-30 | 1 | -0/+23 |
| | |||||
* | wgl: Store current HDC/HGLRC in stw_context. | José Fonseca | 2009-04-28 | 3 | -25/+44 |
| | | | | Less TLS lookups. | ||||
* | gallium dri st: Propagate the drawable info when we bind to new drawables. | Thomas Hellstrom | 2009-04-28 | 1 | -3/+8 |
| | | | | Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com> | ||||
* | gallium dri st: Use st_get_current() instead of GET_CURRENT_CONTEXT() | Thomas Hellstrom | 2009-04-28 | 2 | -15/+10 |
| | | | | Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com> | ||||
* | gallium dri st: Fix up some comments and minor bugs. | Thomas Hellstrom | 2009-04-28 | 2 | -8/+11 |
| | | | | Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com> | ||||
* | gallium: Rename the dri state tracker lib to libdridrm.a | Thomas Hellstrom | 2009-04-28 | 1 | -1/+1 |
| | |||||
* | gallium: indent and cleanfile the dri state-tracker. | Thomas Hellstrom | 2009-04-28 | 7 | -281/+221 |
| | |||||
* | gallium: Update the dri2 state tracker to support dri1. | Thomas Hellstrom | 2009-04-28 | 6 | -55/+507 |
| | | | | Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com> | ||||
* | gallium: Move the dri2 state tracker since we're about to extend it to dri1. | Thomas Hellstrom | 2009-04-28 | 8 | -0/+0 |
| | | | | Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com> | ||||
* | gallium: Update the drm_api. | Thomas Hellstrom | 2009-04-28 | 4 | -38/+3 |
| | | | | | | | | Make it possible to pass state-tracker-specific data to the init_screen function, and even open the door for device-specific state-tracker screen initialization. Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com> | ||||
* | wgl: Cope with pre-existing threads. | José Fonseca | 2009-04-27 | 1 | -8/+31 |
| | | | | | DllMain is called with DLL_THREAD_ATTACH only by threads created after the DLL is loaded by the process. | ||||
* | wgl: Implement WGL_EXT_extensions_string extension. | José Fonseca | 2009-04-27 | 3 | -5/+20 |
| | |||||
* | stw: Use a statically initiallized gl proc table. | José Fonseca | 2009-04-27 | 1 | -356/+347 |
| | | | | It doesn't change anyway. | ||||
* | gallium: Handle non-NULL data pointer in EXA ModifyPixmapHeader hook. | Michel Dänzer | 2009-04-23 | 1 | -0/+14 |
| | | | | | | Need to use the data pointed to for pixmap contents in that case. Fixes RENDER based text rendering. | ||||
* | gallium: Always include xorg-server.h before other X server headers. | Michel Dänzer | 2009-04-23 | 2 | -0/+2 |
| | | | | | Various breakage otherwise, e.g. _XSERVER64 not being defined on 64 bit leading to inconsistent definitions of X server internal structs. | ||||
* | gallium: Fix up xorg state tracker build. | Michel Dänzer | 2009-04-23 | 2 | -3/+0 |
| |