Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | softpipe: re-order drawing functions to get rid of prototype | Brian Paul | 2010-07-15 | 1 | -108/+102 |
| | |||||
* | graw: new tri-instanced.c program to test instanced drawing | Brian Paul | 2010-07-15 | 2 | -0/+297 |
| | |||||
* | r600: fix typo in r700 assembler | Alex Deucher | 2010-07-15 | 1 | -1/+1 |
| | | | | | | Noticed by Henri Verbeet on IRC. NOTE: This is a candidate for the 7.8 branch. | ||||
* | radeon: Also flush if it's not the current context that's being destroyed. | Henri Verbeet | 2010-07-15 | 1 | -1/+1 |
| | | | | | | | This avoids calling radeonFlush() during context destruction, when ctx->DrawBuffer would be NULL. NOTE: This is a candidate for the 7.8 branch. | ||||
* | radeon: allow driconf vblank settings with dri2 | Alex Deucher | 2010-07-15 | 1 | -0/+1 |
| | | | | | | | fixes: https://bugs.freedesktop.org/show_bug.cgi?id=28771 NOTE: This is a candidate for the 7.8 branch. | ||||
* | st/mesa: fix quad strip trimming bug | Brian Paul | 2010-07-15 | 1 | -27/+57 |
| | | | | | | | | | | | | | | | | The translate_prim() function tries to convert quad strips into tri strips. This is normally OK but we have to check for an odd number of vertices so that we don't accidentally draw an extra triangle. The mesa-demos/src/samples/prim.c demo exercises that. With this fix the stray yellow triangle is no longer drawn. Use the u_trim_pipe_prim() function to make sure that prims have the right number of vertices and avoid calling gallium drawing functions when the prim has a degenerate number of vertices. Plus add comments, clean-up formatting, etc. NOTE: This is a candidate for the 7.8 branch. | ||||
* | llvmpipe: Remove redundant statement. | José Fonseca | 2010-07-15 | 1 | -1/+0 |
| | | | | Thanks to Vinson for spotting this. | ||||
* | glu/sgi: Remove dead initialization in extract565. | Vinson Lee | 2010-07-15 | 1 | -1/+1 |
| | |||||
* | tgsi: Remove dead assignment in uprcase function. | Vinson Lee | 2010-07-15 | 1 | -1/+1 |
| | |||||
* | mesa: Fix potential out-of-bounds access by _vbo_Materialf. | Vinson Lee | 2010-07-15 | 1 | -1/+4 |
| | | | | | _vbo_Materialf calls _vbo_Materialfv, which uses the params argument as an array. | ||||
* | glx: Move dereference and initialization to after NULL check. | Vinson Lee | 2010-07-15 | 1 | -1/+3 |
| | |||||
* | egl: Return the correct array size in _eglFlattenArray. | Chia-I Wu | 2010-07-15 | 1 | -1/+4 |
| | | | | | | | The function is used by _eglGetConfigs and _eglGetScreens. The array size should not be limited by the buffer size when the buffer is NULL. This fixes fdo bug #29052. | ||||
* | mesa: fix _mesa_Texture/Render/BufferObjectUnpurgeable() return values | Brian Paul | 2010-07-14 | 1 | -3/+3 |
| | | | | | | | Fixes piglit object_purgeable-api-pbo, object_purgeable-api-vbo and object_purgeable-api-texture failures with swrast. NOTE: This is a candidate for the 7.8 branch. | ||||
* | mesa: update assertions and fix refcounting in depth/stencil renderbuffer code | Brian Paul | 2010-07-14 | 1 | -6/+16 |
| | |||||
* | mesa: silence a printf warning | Brian Paul | 2010-07-14 | 1 | -2/+2 |
| | |||||
* | llvmpipe: delete lp_test_*.o files with make clean | Brian Paul | 2010-07-14 | 1 | -0/+3 |
| | |||||
* | gallium: added CLEAN_EXTRA var for make clean target | Brian Paul | 2010-07-14 | 1 | -1/+1 |
| | |||||
* | dri2: Track event mask in client code. | Nick Bowler | 2010-07-14 | 3 | -0/+18 |
| | | | | | | | | | | | | | | | | | | | When direct rendering is being used, DRI2 BufferSwapComplete events are sent unconditionally to clients, even if they haven't been requested. This causes error messages to be printed by every freeglut application of the form freeglut (./gears): Unknown X event type: 104 and might confuse other clients. This is a fixed up version of the patch by Jesse Barnes, which drops BufferSwapComplete events if they are not requested by clients. Fixes fdo bug 27962. Signed-off-by: Nick Bowler <[email protected]> Signed-off-by: Jesse Barnes <[email protected]> | ||||
* | gallium: Ensure prototypes are wrapped in extern "C". | José Fonseca | 2010-07-14 | 1 | -0/+11 |
| | | | | | Fixes MSVC build failure due to inconsistent _ReadWriteBarrier prototype. | ||||
* | llvmpipe: Remove redundant alignments. | José Fonseca | 2010-07-14 | 2 | -3/+1 |
| | | | | | | | The lp_rast_shader_inputs' alignment is irrelevant now that it contains pointers instead of actual data. Likewise, lp_rast_triangle's size alignment is meaningless. | ||||
* | llvmpipe: Addi ssse3 swizzling for B8G8R8A8_UNORM. | Chris Li | 2010-07-14 | 3 | -3/+231 |
| | |||||
* | gallium: Add a macro for memory barriers. | José Fonseca | 2010-07-14 | 1 | -0/+19 |
| | |||||
* | gallium: Add a new PIPE_ARCH_SSSE3 define for SSSE3 compiler support. | José Fonseca | 2010-07-14 | 1 | -0/+5 |
| | |||||
* | Merge branch 'mesa-2d-registers' | Zack Rusin | 2010-07-13 | 17 | -63/+217 |
|\ | |||||
| * | mesa: add comments and change Index2D to just Index2 | Zack Rusin | 2010-07-13 | 7 | -25/+37 |
| | | |||||
| * | mesa: make uniform work with geometry shaders | Zack Rusin | 2010-07-10 | 2 | -5/+42 |
| | | |||||
| * | Revert "mesa: temporarily enable printing of Mesa's GPU instructions" | Zack Rusin | 2010-07-10 | 1 | -1/+1 |
| | | | | | | | | This reverts commit 7b8726a99da961fe0ace7c7ee567f82217715fe4. | ||||
| * | mesa: GL_TRIANGLE_STRIP_ADJACENCY_ARB is the last valid primitive | Zack Rusin | 2010-07-10 | 1 | -5/+5 |
| | | |||||
| * | tgsi: make sure that we print out the adjacency prims correctly | Zack Rusin | 2010-07-10 | 1 | -1/+5 |
| | | |||||
| * | draw: fix decomposition to work with adjacency primitives | Zack Rusin | 2010-07-10 | 1 | -3/+8 |
| | | |||||
| * | mesa: get the translation from mesa 2d regs to tgsi working | Zack Rusin | 2010-07-10 | 5 | -14/+30 |
| | | | | | | | | first working version of arb_geometry_shader4 | ||||
| * | mesa: initial support for emitting 2D registers from slang | Zack Rusin | 2010-07-09 | 6 | -40/+98 |
| | | |||||
| * | mesa: temporarily enable printing of Mesa's GPU instructions | Zack Rusin | 2010-07-09 | 1 | -1/+1 |
| | | |||||
| * | mesa: add basic support for 2D register arrays to mesa | Zack Rusin | 2010-07-09 | 3 | -3/+25 |
| | | | | | | | | | | just like in Gallium it's a basic functionality needed by a lot of modern graphcis extensions | ||||
* | | r300/compiler: fix swizzling in the transformation of Abs modifiers | Marek Olšák | 2010-07-14 | 1 | -2/+2 |
| | | |||||
* | | i965g: Fix scons build of dri driver | Jakob Bornecrantz | 2010-07-13 | 1 | -1/+0 |
| | | |||||
* | | llvmpipe: fix comment typo | Roland Scheidegger | 2010-07-13 | 1 | -2/+2 |
| | | |||||
* | | llvmpipe: move rasterizer to screen instead of setup context | Roland Scheidegger | 2010-07-13 | 4 | -13/+22 |
| | | | | | | | | | | there's no point of having this per context, so move to screen (and protect with a mutex). | ||||
* | | llvmpipe: Align texture data to the cache line. | José Fonseca | 2010-07-13 | 1 | -2/+5 |
| | | |||||
* | | llvmpipe: eliminate the set_state rasterizer command | Keith Whitwell | 2010-07-13 | 8 | -92/+22 |
| | | | | | | | | | | | | Just put a pointer to the state in the tri->inputs struct. Remove some complex logic for eliminating unused statechanges in bins at the expense of a slightly larger triangle struct. | ||||
* | | llvmpipe: pass mask into fragment shader | Keith Whitwell | 2010-07-13 | 14 | -790/+901 |
| | | | | | | | | | | | | | | | | | | Move this code back out to C for now, will generate separately. Shader now takes a mask parameter instead of C0/C1/C2/etc. Shader does not currently use that parameter and rasterizes whole pixel stamps always. | ||||
* | | llvmpipe: move fences from per-bin to per-thread | Keith Whitwell | 2010-07-13 | 8 | -29/+58 |
| | | | | | | | | | | | | | | | | | | Rather than inserting an lp_rast_fence command at the end of each bin, have each rasterizer thread call this function directly once it has run out of work to do on a particular scene. This results in fewer calls to the mutex & related functions, but more importantly makes it easier to recognize empty bins. | ||||
* | | llvmpipe: Always swizzle/unswizzle whole tiles. | José Fonseca | 2010-07-13 | 3 | -18/+18 |
| | | | | | | | | | | This was already the case, but the generated (un)swizzling code was not benefiting of that knowledge. | ||||
* | | llvmpipe: Ignores! | Jakob Bornecrantz | 2010-07-13 | 1 | -0/+1 |
| | | |||||
* | | targets: Link xorg drivers with LLVM if built | Jakob Bornecrantz | 2010-07-13 | 1 | -0/+8 |
| | | |||||
* | | targets: Clean up xorg make files a bit | Jakob Bornecrantz | 2010-07-13 | 6 | -29/+31 |
| | | |||||
* | | libgl-xlib: add depend to make clean list | Brian Paul | 2010-07-13 | 1 | -1/+1 |
| | | |||||
* | | glapi: use _mesa_snprintf() | Brian Paul | 2010-07-13 | 1 | -1/+2 |
| | | | | | | | | | | | | Note that the enums.c file is generated with this script. This will preserve the change from commit c4066b78c0aad41c199eb27157538c2ec9ab5bfd. | ||||
* | | r300/compiler: implement the Abs source operand modifier for vertex shaders | Marek Olšák | 2010-07-13 | 1 | -4/+55 |
| | | |||||
* | | r300/compiler: emulate SIN/COS/SCS in r3xx-r4xx vertex shaders | Marek Olšák | 2010-07-13 | 1 | -1/+7 |
| | | | | | | | | Despite the docs, the corresponding hardware instructions are r5xx-only. |