Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | r300g: handle timeout parameter in fence_finish | Marek Olšák | 2011-03-08 | 1 | -0/+17 |
| | |||||
* | gallium: add timeout parameter to fence_finish | Marek Olšák | 2011-03-08 | 29 | -36/+71 |
| | | | | | This is a follow-up to the ARB_sync patch for st/mesa and completes the ARB_sync implementation. | ||||
* | st/mesa: implement ARB_sync | Marek Olšák | 2011-03-08 | 6 | -0/+168 |
| | | | | | | The ServerWaitSync implementation matches Intel's driver. The extension is advertised when pipe_screen::fence_finish is set. | ||||
* | r300g: add LATC support | Marek Olšák | 2011-03-08 | 3 | -4/+22 |
| | |||||
* | st/mesa: cleanup checking for signed compressed formats in generate_mipmaps | Marek Olšák | 2011-03-08 | 1 | -8/+4 |
| | |||||
* | st/mesa: add LATC and 3DC support | Marek Olšák | 2011-03-08 | 3 | -3/+76 |
| | | | | softpipe passes all tests. | ||||
* | gallium/util: add LATC support | Marek Olšák | 2011-03-08 | 9 | -4/+472 |
| | | | | | | Again, a lot of code is shared with RGTC. The layout is UTIL_FORMAT_LAYOUT_RGTC, because LATC is just swizzled RGTC. | ||||
* | mesa: add ATI_texture_compression_3dc | Marek Olšák | 2011-03-08 | 7 | -0/+30 |
| | | | | | | | LUMINANCE_ALPHA_LATC2 = LUMINANCE_ALPHA_3DC, so this is easy. Note that there is no specification for 3DC, just a few white papers from ATI. | ||||
* | mesa: add EXT_texture_compression_latc | Marek Olšák | 2011-03-08 | 13 | -7/+234 |
| | | | | | | | | | | | | | | | | | The encoding/decoding algorithms are shared with RGTC. Thanks to some magic with the base format, the RGTC texstore functions work for LATC too. swrast passes the related piglit tests besides two things: - The alpha channel is wrong (it's always 1), however the incorrect alpha channel makes some other tests fail too, so I guess it's unrelated to LATC. - Signed LATC fetches aren't correct yet (signed values are clamped to [0,1]), however RGTC has the same problem. Further testing (with other of my patches) shows that hardware drivers and softpipe work. BTW, ETQW uses this extension. | ||||
* | st/mesa: Fix an incorrect user vertex buffer reference | Thomas Hellstrom | 2011-03-08 | 1 | -4/+2 |
| | | | | | | | | st->user_vb[attr] was always pointing to the same user vb, regardless of the value of attr. Together with reverting the temporary workaround for bug 34378, and a fix in the svga driver, this fixes googleearth on svga. Signed-off-by: Thomas Hellstrom <[email protected]> | ||||
* | vbo: mark vertex arrays as dirty when re-binding | Marek Olšák | 2011-03-08 | 1 | -1/+12 |
| | | | | | This fixes: https://bugs.freedesktop.org/show_bug.cgi?id=34378 | ||||
* | r300/compiler: remove unused variables | Marek Olšák | 2011-03-08 | 1 | -1/+1 |
| | |||||
* | glsl: Use insert_before for lists instead of open coding it | Ian Romanick | 2011-03-08 | 1 | -4/+1 |
| | |||||
* | linker: Add imported functions to the linked IR | Ian Romanick | 2011-03-08 | 1 | -1/+7 |
| | | | | | | Fixes piglit test glsl-function-chain16 and bugzilla #34203. NOTE: This is a candidate for stable release branches. | ||||
* | glsl: Add several function / call related validations | Ian Romanick | 2011-03-08 | 1 | -0/+27 |
| | | | | | | | | The signature list in a function must contain only ir_function_signature nodes. The target of an ir_call must be an ir_function_signature. These were added while trying to debug Mesa bugzilla #34203. | ||||
* | glsl: Function signatures cannot have NULL return type | Ian Romanick | 2011-03-08 | 2 | -1/+7 |
| | | | | | The return type can be void, and this is the case where a `_ret_val' variable should not be declared. | ||||
* | r600g: set start instance correctly | Christian König | 2011-03-08 | 1 | -1/+1 |
| | |||||
* | swrast: flip the conditionals in shadow_compare4() for readability | Brian Paul | 2011-03-08 | 1 | -24/+24 |
| | |||||
* | swrast: add coord clamping, fix comparisons for shadow testing | Philip Taylor | 2011-03-08 | 1 | -27/+30 |
| | | | | | | | | | This fixes https://bugs.freedesktop.org/show_bug.cgi?id=31159 for swrast and piglit depth-tex-compare. NOTE: This is a candidate for the 7.10 branch. Signed-off-by: Brian Paul <[email protected]> | ||||
* | r300g: decide whether a flush should be asynchronous when calling it | Marek Olšák | 2011-03-08 | 11 | -54/+54 |
| | | | | Thread offloading is not sometimes desirable, e.g. when mapping a buffer. | ||||
* | r300g: use pipelined transfers for RGTC textures | Marek Olšák | 2011-03-08 | 1 | -1/+2 |
| | |||||
* | r300/compiler: fix equal and notequal shadow compare functions | Marek Olšák | 2011-03-08 | 1 | -18/+16 |
| | |||||
* | r300/compiler: detect constants harder | Marek Olšák | 2011-03-08 | 1 | -4/+8 |
| | |||||
* | r300/compiler: improve the detection of constants for constant folding | Marek Olšák | 2011-03-08 | 1 | -0/+7 |
| | | | | Now the expression V==0 generates one instruction instead of two. | ||||
* | r300/compiler: saturate Z before the shadow comparison | Marek Olšák | 2011-03-08 | 1 | -37/+44 |
| | | | | | | | This fixes: https://bugs.freedesktop.org/show_bug.cgi?id=31159 NOTE: This is a candidate for the 7.9 and 7.10 branches. | ||||
* | llvmpipe: clamp texcoords in lp_build_sample_compare() | Brian Paul | 2011-03-07 | 1 | -0/+5 |
| | | | | | | See previous commit for more info. NOTE: This is a candidate for the 7.10 branch. | ||||
* | softpipe: clamp texcoords in sample_compare() | Philip Taylor | 2011-03-07 | 1 | -24/+30 |
| | | | | | | | | | This fixes http://bugs.freedesktop.org/show_bug.cgi?id=31159 for softpipe and fixes the piglit depth-tex-compare test. NOTE: This is a candidate for the 7.10 branch. Signed-off-by: Brian Paul <[email protected]> | ||||
* | mesa: return after invalidating renderbuffer | Marek Olšák | 2011-03-07 | 1 | -0/+1 |
| | |||||
* | st/mesa: fail to alloc a renderbuffer if st_choose_renderbuffer_format fails | Marek Olšák | 2011-03-07 | 1 | -1/+5 |
| | | | | | | This fixes: state_tracker/st_format.c:401:st_pipe_format_to_mesa_format: Assertion `0' failed. | ||||
* | mesa: invalidate framebuffer if internal format of renderbuffer is changed | Marek Olšák | 2011-03-07 | 2 | -6/+31 |
| | | | | RenderTexture doesn't have to be called in invalidate_rb, I guess. | ||||
* | mesa: initialize DummyBufferObject's mutex | Brian Paul | 2011-03-07 | 1 | -0/+1 |
| | | | | | | The mutex's fields were all zeros. That's OK on Linux, but not Windows. NOTE: This is a candidate for the 7.10 branch. | ||||
* | st/mesa: fix incorrect version checking code | Brian Paul | 2011-03-07 | 1 | -2/+3 |
| | |||||
* | st/glx: whitespace, 80-column fixes | Brian Paul | 2011-03-07 | 1 | -35/+50 |
| | |||||
* | mesa: remove stray _mesa_finish() call in _mesa_CopyPixels() | Brian Paul | 2011-03-07 | 1 | -2/+0 |
| | | | | Leftover debug code from 6364d75008b4fa580c1cb47c59ba1cf3e0caa6cd. | ||||
* | r600g: Simplify some swizzle lookups. | Henri Verbeet | 2011-03-07 | 1 | -75/+14 |
| | |||||
* | r600g: Constant buffers can contain up to 4096 constants. | Henri Verbeet | 2011-03-07 | 2 | -1/+2 |
| | |||||
* | i915: Only invert wpos when rendering to the system framebuffer. | Henri Verbeet | 2011-03-07 | 1 | -7/+15 |
| | |||||
* | i915: Derive the gl_fragment_program from i915_fragment_program. | Henri Verbeet | 2011-03-07 | 1 | -6/+5 |
| | | | | | | Instead of using the current gl_fragment_program. These aren't necessarily the same, for example when translate_program() is called by i915ValidateFragmentProgram(). | ||||
* | glx: Take GLPROTO_CFLAGS into account. | Henri Verbeet | 2011-03-07 | 1 | -0/+1 |
| | |||||
* | intel: check for miptree allocation failure | Chris Wilson | 2011-03-07 | 1 | -0/+2 |
| | | | | Signed-off-by: Chris Wilson <[email protected]> | ||||
* | intel: Add some defense against buffer allocation failure for subimage blits | Chris Wilson | 2011-03-07 | 1 | -11/+11 |
| | | | | Signed-off-by: Chris Wilson <[email protected]> | ||||
* | intel: Add some defense against bo allocation failure | Chris Wilson | 2011-03-07 | 1 | -7/+11 |
| | | | | Signed-off-by: Chris Wilson <[email protected]> | ||||
* | egl_dri2: Add attribute map for __DRI_ATTRIB_FRAMEBUFFER_SRGB_CAPABLE | Benjamin Franzke | 2011-03-07 | 1 | -0/+1 |
| | | | | | Broken since 6538b5824e298eaebede2d9686c7607c44ab446a. Thanks to iskren on #wayland for helping on finding this. | ||||
* | r600g: use long long integers for instance addr calculation | Christian König | 2011-03-06 | 1 | -1/+1 |
| | | | | | | | Using a long for instance addr calculation isn't big enough on 32bit systems, use a long long int instead. Thanks to Rafael Monica for fixing this. | ||||
* | glx/dri: add initial dri interface for GLX_EXT_framebuffer_sRGB. | Dave Airlie | 2011-03-06 | 5 | -5/+10 |
| | | | | This realigns the name of the glx bit to align with the core mesa names. | ||||
* | glx: add initial GLX_EXT_framebuffer_sRGB support. | Dave Airlie | 2011-03-06 | 5 | -0/+16 |
| | | | | | | | | | | this doesn't bind to drivers yet, just enough to in theory make indirect work against other servers. I'm really not sure what the rules for adding extensions to the known_gl_extensions list as it looks to be missing a few. are these GL extensions that have GLX protocol?? Signed-off-by: Dave Airlie <[email protected]> | ||||
* | pb: Add is_buffer_busy for malloc buffers. | José Fonseca | 2011-03-06 | 1 | -1/+10 |
| | |||||
* | st/wgl: No need to initialize OneTimeLock anymore. | José Fonseca | 2011-03-06 | 1 | -6/+0 |
| | |||||
* | mapi: _glthread_DECLARE_STATIC_MUTEX is not broken on Windows. | José Fonseca | 2011-03-06 | 3 | -18/+5 |
| | |||||
* | trace: Use pipe_static_mutex. | José Fonseca | 2011-03-06 | 3 | -22/+1 |
| |