Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-07-01 | util: Increase OutputDebugStringA to 4k. | José Fonseca | |
According to http://unixwiz.net/techtips/outputdebugstring.html that's how big the buffer is. The 512bytes limitation is in kernel mode. | |||
2009-07-01 | st/wgl: dummy implementation of wgl swapinterval extension | Keith Whitwell | |
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. | |||
2009-07-01 | gallium: fix the front face semantics | Zack Rusin | |
mesa allocates both frontface and pointcoord registers within the fog coordinate register, by using swizzling. to make it cleaner and easier for drivers we want each of them in its own register. so when doing compilation from the mesa IR to tgsi allocate new registers for both and add new semantics to the respective declarations. | |||
2009-07-01 | wgl: Optimize wglGetProcAddress. | José Fonseca | |
Do linear search only if prefix matches. | |||
2009-06-30 | identity: Create a drm_api wrapper | Jakob Bornecrantz | |
2009-06-30 | drm/st: Return drm_api struct from a function | Jakob Bornecrantz | |
2009-06-29 | softpipe: use shadow_compare4() to compare texcoord to four texture samples | Brian Paul | |
2009-06-29 | softpipe: pass sampler state to shadow_compare() | Brian Paul | |
2009-06-29 | nouveau: Expect right params to tex_transfer_destroy(). | Younes Manton | |
Never crashed on x86, ptx is in the same stack slot in either case. Thanks to Bob Gleitsmann for catching this. | |||
2009-06-29 | nouveau: Turn off debug cannon. | Younes Manton | |
2009-06-29 | gallium/draw: sketch out some missing pointcoord code | Brian Paul | |
The gl_PointCoord attribute is currently expected to be in the fog coord register's z/w components. This was never totally fleshed out though. This is just some placeholder code. | |||
2009-06-26 | cell: PIPE_CAP_TGSI_CONT_SUPPORTED query | Brian Paul | |
2009-06-26 | softpipe: PIPE_CAP_TGSI_CONT_SUPPORTED query | Brian Paul | |
2009-06-26 | gallium: added PIPE_CAP_TGSI_CONT_SUPPORTED | Brian Paul | |
2009-06-26 | tgsi: correct handling of return value from util_vsnprintf | Keith Whitwell | |
We were failing to deal with: - vsnprintf returns negative value on error. - vsnprintf returns the number of chars that *would* have been written on truncation. | |||
2009-06-26 | aux/indices: don't use 'prim' value once it is known to be bad | Keith Whitwell | |
Theoretical bugfix only - no known case where this might happen. | |||
2009-06-24 | wgl: Handle flush after a window is destroyed. | José Fonseca | |
Fixes assertion failure with conform. | |||
2009-06-19 | softpipe: return alpha=1 in shadow_compare() function | Brian Paul | |
The alpha value wasn't set at all before so we got unpredictable results. Note that we don't currently obey GL_DEPTH_TEXTURE_MODE in the state tracker. For now, we return the result in the default mode (r,r,r,1). | |||
2009-06-18 | util: Add cast. | José Fonseca | |
It is expected to loose precision here. | |||
2009-06-18 | draw: Replace pointer arithmetic with cast. | José Fonseca | |
Using uintptr_t as intermediate type for pointer -> integer conversions is easier to understand and does not cause any size mismatch warnings. uintptr_t is part of C99, and we already provide a suitable replacement definition for all platforms we care about. | |||
2009-06-18 | trace: Use size_t consistently. | José Fonseca | |
2009-06-18 | pipebuffer: Use a type consistently for sizes/offsets. | José Fonseca | |
Avoids warnings on 64bit builds. Use regular unsigned since that's what gallium expects, but use a typedef to facilitate possible changes in the future. | |||
2009-06-18 | wgl: Fix window resizing in multithread applications. | José Fonseca | |
In multithreading stw_call_window_proc can be called by a thread other than the thread where the context is bound. | |||
2009-06-18 | wgl: Move all thread related code together. | José Fonseca | |
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). | |||
2009-06-17 | st/glx: added null ptr check in Fake_glXCreatePixmap() | Brian Paul | |
Fixes segfault in progs/xdemos/glxgears_pixmap.c | |||
2009-06-17 | wgl: Factor out some repetitive code into inline functions. | José Fonseca | |
2009-06-16 | softpipe: fix out of bounds quad rasterization bug | Brian Paul | |
For some triangles we can generate quads which lie just outside the surface bounds. Just check the quad's mask before trying to emit/process the quad. Fixes failed assertion in Lightsmark. | |||
2009-06-16 | gallium: Avoid atomic ops / locking when src is dst. | José Fonseca | |
2009-06-15 | python/tests: Add is_depth_stencil_format utility function. | José Fonseca | |
2009-06-15 | python/tests: Cleanup texture_sample. | José Fonseca | |
2009-06-15 | rtasm: Use 32bit constant. | José Fonseca | |
As we're only using 32bit bitmasks. | |||
2009-06-15 | gallium: Ensure assert macro is defined before being used in p_thread.h | José Fonseca | |
2009-06-15 | softpipe: Fix softpipe_is_texture_referenced. | José Fonseca | |
Render results are only visible when the render cache is flushed. softpipe_is_texture_referenced must reflect that or transfers to/from the textures bound in the framebuffer won't be proceeded of the necessary flush, causing transfer data to be outdated/clobbered. This fixes conform drawpix test with softpipe. | |||
2009-06-15 | dri st: Don't require the PIPE_TEXTURE_USAGE_RENDER_TARGET property for ↵ | Thomas Hellstrom | |
depth- and stencil renderbuffers. Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com> | |||
2009-06-15 | gallium: Fix segfault and valgrind error introduced with commit ↵ | Thomas Hellstrom | |
3f2e006b759705abd7c409d30f9aeb1f2a75b83f Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com> | |||
2009-06-27 | r300g: YCbCr and sRGB textures. | Corbin Simpson | |
2009-06-27 | r300g: Fix EXT_packed_depth_stencil functionality. | Corbin Simpson | |
Allow Z24S8 to be a true texture. | |||
2009-06-27 | st/dri: Fix last depth bits logic | Jakob Bornecrantz | |
2009-06-26 | r300g: EXT_provoking_vertex. | Corbin Simpson | |
2009-06-26 | r300g: S3TC. | Corbin Simpson | |
tests/texcompress2 doesn't work, but tests/texcmp does (more or less.) | |||
2009-06-26 | r300g: Use real texture formats. | Corbin Simpson | |
What bugs me is that the YUV444 format somehow worked properly. :3 | |||
2009-06-26 | r300g: Definitively forbid unusable Z buffer/stencil formats. | Corbin Simpson | |
2009-06-26 | r300g: Comment out assert for now. | Corbin Simpson | |
Will fix with better constant refactoring later. | |||
2009-06-26 | r300g: Be more specific on surface_copy fallbacks. | Corbin Simpson | |
2009-06-26 | r300g: PIPE_CAP_TGSI_CONT_SUPPORTED. | Corbin Simpson | |
2009-06-26 | r300-gallium: Ensure that no dirty state goes unemitted. | Corbin Simpson | |
2009-06-26 | Merge branch 'mesa_7_5_branch' | Brian Paul | |
Conflicts: Makefile src/gallium/drivers/softpipe/sp_screen.c src/mesa/main/version.h | |||
2009-06-14 | Merge branch 'mesa_7_5_branch' | Jakob Bornecrantz | |
2009-06-14 | trace: Don't write state objects to file if dumping is not set | Jakob Bornecrantz | |
2009-06-26 | tgsi: correct handling of return value from util_vsnprintf | Keith Whitwell | |
We were failing to deal with: - vsnprintf returns negative value on error. - vsnprintf returns the number of chars that *would* have been written on truncation. |