summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* docs: update docs with 7.7.1 and 7.8 release infoBrian Paul2010-03-233-8/+21
|
* softpipe: comments, re-formatting, etcBrian Paul2010-03-231-14/+24
|
* softpipe: add special cases for all Z compare modes for 16-bit Z bufferBrian Paul2010-03-232-173/+195
| | | | | | | | We had fast paths for PIPE_FUNC_LESS and LEQUAL before. To satisfy OpenGL invariance rules, all depth compare modes should produce the same fragment Z values. Fixes progs/demos/singlebuffer.c
* st/glx: better format selection in xmesa_choose_z_stencil_format()Brian Paul2010-03-231-17/+24
| | | | | This is a back-port of commit ef2664da6c4db1b52ef351641e3ee949b87f9c7b from master.
* Add missing EGL files to the tarballs.Chia-I Wu2010-03-231-0/+9
| | | | | Add the Makefile of Gallium EGL drivers and demos using EGL to the tarballs.
* glx: Suppress BadDrawable from DRI2CopyRegionKristian Høgsberg2010-03-221-1/+14
| | | | | | | | | | This can happen when an X window is destroyed behind our back. We use DRI2CopyRegion behind the scenes in many places (like flushing the fake front to the real front) so we have to ignore X errors triggered in that case. The glean test cases trigger this consistently as they don't destroy the GLX drawable nicely, they just destroy the X window.
* mesa: set version string to 7.8-rc27.8-rc2Ian Romanick2010-03-222-2/+2
|
* intel: Call intel_prepare_render() before looking up regions.Kristian Høgsberg2010-03-223-6/+9
| | | | Fixes #27213.
* Fix potential compilation issue in visual studio project fileKarl Schultz2010-03-221-2/+2
| | | | | Add quotes around filespec in post-build event to allow paths with embedded spaces.
* glslcompiler: fix build breakageBrian Paul2010-03-221-1/+2
|
* mesa: Add end of line to the end of a debug output.Pauli Nieminen2010-03-221-1/+1
|
* progs/tests: Add cva_huge to SCons build.Vinson Lee2010-03-211-0/+1
|
* progs/tests: Include stddef.h for ptrdiff_t on all platforms.Vinson Lee2010-03-211-5/+1
| | | | | | stddef.h is the standard C header that defines ptrdiff_t. Fixes build of cva_huge on Mac OS X.
* r200: Fix emit size prediction to account elt splitting.Pauli Nieminen2010-03-212-3/+4
| | | | | Emit sizes prediction didn't account for render splitting in hwtnl path.
* r200: Don't flush when closing elts in KMS.Pauli Nieminen2010-03-211-1/+2
| | | | | | | Flush in middle of rendering in KMS is not allowed because buffers are discarded in flush. Fixes crash when emiting split indices with RADEON_DEBUG=all.
* r200: Fix swtnl fallback to flush pending rendering before transition.Pauli Nieminen2010-03-211-4/+14
| | | | | | | | Flush after transition would emit wrong state that could cause wrong state emited for pending rendering operation. Fixes wan once from extrement tuxracer that is using per vertex materials.
* r200: Fix mixed indetion in r200TclFallback.Pauli Nieminen2010-03-211-21/+20
|
* vbo: Fix vbo_split_copy to pass correct max_index to draw.Pauli Nieminen2010-03-211-1/+1
| | | | | | | | vbo_split_copy was passing one past the max_index to draw function which caused _tnl_draw_prims function to read uninitialized values from copied array. Bug was spoted in valgrind report of progs/tests/cva_huge.
* tests: Add test for huge client arrays that has to be split.Pauli Nieminen2010-03-212-0/+237
| | | | | | | | When running this test case in valgrind report includes read of unitialized value in _tnl_draw_prims. The bug doesn't cause any vissible errors. Bug is caused by vbo_split_copy that is calling draw function with max_index one past the end instead of the end.
* r300/compiler: fix assertion failure in the r500-fragprog emission pathMarek Olšák2010-03-201-3/+2
|
* docs: remove the 'Last updated date'Brian Paul2010-03-201-4/+0
|
* glapi: Fix aliases to non-static functions.Chia-I Wu2010-03-212-5/+5
| | | | | | | The bug is triggered by 41a87a43e11c664935349f938022d58d3e22da4e. glBlitFramebuffer, for example, is an alias to the non-static glBlitFramebufferEXT. We should define glBlitFramebuffer as an alias to _dispatch_stub_NNN.
* glapi: Correctly generate static disatches for X86.Chia-I Wu2010-03-202-64/+6
| | | | | The entry point names, instead of the function name, should be used to test if the entry point should be statically dispatched.
* r300g: remove hacks from translate_vertex_data_swizzleMarek Olšák2010-03-191-20/+4
| | | | Fixing RGBA 4ub vertex colors.
* drivers/x11: add PUBLIC qualifier to more API functionsBrian Paul2010-03-191-7/+8
| | | | Based on a patch from Tom Fogal.
* intel: Use bit-wise not instead of logical not (i830 path)Ian Romanick2010-03-181-1/+1
| | | | | | | | The assertion is checking that the low-order bits of offset are not set. It does this by anding the inverted offset mask with the offset. This is clearly intended to be a bit-wise "invert". Fixes bug #25984.
* intel: Correct value of S0_VB_OFFSET_MASK to match hardware docs.Ian Romanick2010-03-181-1/+3
|
* Use bit-wise not instead of logical not.Ian Romanick2010-03-181-1/+1
| | | | | | | | The assertion is checking that the low-order bits of offset are not set. It does this by anding the inverted offset mask with the offset. This is clearly intended to be a bit-wise "invert". Fixes bug #25984.
* st/mesa: s/unpack/pack/ to be more consistentBrian Paul2010-03-181-6/+6
|
* intel: Call _mesa_make_current() after getting initial buffersKristian Høgsberg2010-03-181-1/+1
| | | | | | | | | The default viewport is the window rectangle, which is set up by _mesa_make_current(). To be able to do that we need to get the window dimension (and buffers) first, so we have to call intel_prepare_render() before we can call into _mesa_make_current(). Fixes #26676 and #26678.
* cell: return 1 for PIPE_CAP_BLEND_EQUATION_SEPARATEBrian Paul2010-03-171-0/+2
| | | | | With this feature, we get OpenGL version 2.0 and the progs/glsl/ demos run as-is.
* cell: be more conservative in cell_is_format_supported()Brian Paul2010-03-171-5/+9
| | | | | This fixes a regression from commit a84575cdc0c8193b2c7858734e2ec6b1ec4511b2 which changed the depth/stencil format we were trying to use.
* st/mesa: fix glCopyPixels bugs/crashes when src region need clippingBrian Paul2010-03-171-54/+36
| | | | | | | | | Use the _mesa_clip_readpixels() function to clip the src region against the buffer's bounds. Neatly, the resulting pixel unpack object's SkipPixels/SkipRows fields can be used to determine the position of the region in the destination texture. Fixes crash in progs/samples/copy.c and probably other cases.
* mesa: rename params in prototype to match implementationBrian Paul2010-03-171-1/+1
|
* swrast: remove unused compute_coveragei() functionBrian Paul2010-03-171-82/+0
|
* i965: Fix ENDLOOP to only patch up this loop's BREAK and CONT.Eric Anholt2010-03-161-2/+4
| | | | | | Corresponds to d225a25e21a24508aea3b877c78beb35502e942d and fixes piglit glsl-fs-loop-nested. Bug #25173. (cherry picked from commit a81836ee2fe5092d695b717addf8cec91f569777)
* i965: Unalias all GLSL source regs from the destination regs used.Eric Anholt2010-03-161-113/+25
| | | | | | | | | | | | We were doing it ad-hoc before, as instructions with potential aliasing problems were identified. But thanks to swizzling basically anything can have aliasing, so just do it generally at source reg setup time. This is somewhat inefficient, because sometimes an operation doesn't need unaliasing protection if the swizzling is safe, but the unaliasing before didn't cover those cases either. Fixes piglit glsl-fs-loop. (cherry picked from commit 6b194dab6b4d9f12cdd54c699b23c0d3420a49c2)
* i965: Fix nested loops in the VS.Eric Anholt2010-03-161-2/+4
| | | | | | | | We were patching up all the break and continues between the start of our loop and the end of our loop, even if they were breaks/continues for an inner loop. Avoiding patching already patched breaks/continues fixes piglit glsl-vs-loop-nested. (cherry picked from commit f6f547d87ea68f44c50a0b0231b7360ca94b2975)
* i965: Fix up VP constbuf leak on program delete.Eric Anholt2010-03-161-3/+11
| | | | (cherry picked from commit 7f6d2754d586545ab6c970acffdd897294879039)
* i965: Fix up the handling of point sprite coordinate replacement.Eric Anholt2010-03-163-66/+96
| | | | | | | | | | | | | | The code was walking over the regs of pairs of attributes and checking whether the attribute with a given reg index had point sprite enabled. So the point sprite setup code was rarely even getting executed. Instead, we need to determine which channels of a reg need point sprite coordinate replacement. In addition, it was multiplying the attribute by 1/w, when it's supposed to cover (0, 1) in each direction regardless of w, and it wasn't filling in the Z and W components of the texcoord as specified. Fixes piglit point-sprite and the spriteblast demo. Bug #24431, #22245. (cherry picked from commit bc632d04370566c1156cbd0345fe303834f0b910)
* i965: Add support for the CMP opcode in the GLSL path.Eric Anholt2010-03-163-6/+15
| | | | | | This would be triggered by use of sqrt() along with control flow. Fixes piglit-fs-sqrt-branch and a bug in Yo Frankie!. (cherry picked from commit 48dca99feb394febc3af44e14f23fb12a9cc9204)
* i965: Fix the response len of masked sampler messages for 8-wide dispatch.Eric Anholt2010-03-161-3/+15
| | | | | | | | | | | The bad response length would hang the GPU with a masked sample in a shader using control flow. For 8-wide, the response length is always 4, and masked slots are just not written to. brw_wm_glsl.c already allocates registers in the right locations. Fixes piglit glsl-fs-bug25902 (fd.o bug #25902). (cherry picked from commit f6d210c284751ac50a8d6358de7e75a1ff1e4ac7) (cherry picked from commit dc8c0359448cdae7b367552ba58783c04b199778)
* Remove nonexistant files from tarballs rule of MakefileIan Romanick2010-03-161-15/+1
| | | | | The Makefile should eventually be fixed to stop building tarballs if one of the individual calls to tar fails.
* mesa: set version string to 7.8-rc1Ian Romanick2010-03-162-2/+2
|
* Correct GL_EQUIV code in r67/7xx.Matthew W. S. Bell2010-03-161-1/+1
| | | | | | | From 247e121106e8d3e389f2e5a6edf13ea70ac18df7 Mon Sep 17 00:00:00 2001 These seem to be documented in <http://www.svgopen.org/2003/papers/RasterOperationsUsingFilterElements/index.html>.
* radeon: Fix buffer object unmap to be called only once for dma buffers.Pauli Nieminen2010-03-161-6/+1
| | | | | | If flush happens inside radeonRefillCurrentMaRegion the last dma buffer would be unmapped twice. Unmapping buffer when moving buffer to wait list fixes the mapping error.
* Replace _mesa_strtod with _mesa_strtof.Marcin Baczyński2010-03-156-18/+20
| | | | Reviewed-by: Ian Romanick <[email protected]>
* mesa: Fix memory leak in decompress-with-blit.Keith Whitwell2010-03-131-0/+2
| | | | (cherry picked from commit f05a4ee6f2840590c90da4be2fe5c6295410a5af)
* vmwgfx/dri: Fix SCons build.Michel Dänzer2010-03-121-0/+1
|
* st/dri: Always try to set up R5G6B5 configs.Michel Dänzer2010-03-121-49/+52
| | | | | | | | | | Allows compiz to work in depth 16. The DRI2 getBuffersWithFormat hook is only required for 16/32 bit depth buffers, for colour buffers the only requirement is that the format matches the drawable depth, which we can't check here. (cherry picked from commit c50477c255a34444720fb944c54373462ef39fb9)