summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2010-07-16r300g: do not make copies of constant buffers, emit them directlyMarek Olšák
2010-07-16draw: updated debug/dump codeBrian Paul
2010-07-16draw: added array element debug / bounds checking code (disabled)Brian Paul
2010-07-16llvmpipe: use single swizzled tileKeith Whitwell
Use a single swizzled tile per colorbuf (and per thread) to avoid accumulating large amounts of cached swizzled data. Now that the SSE3 code has been merged to master, the performance delta of this change is minimal, the main benefit is reduced memory usage due to no longer keeping swizzled copies of render targets. It's clear from the performance of the in-place version of this code that there is still quite a bit of time being spent swizzling & unswizzling, but it's not clear exactly how to reduce that.
2010-07-16llvmpipe: Describe _mm_shuffle_epi8() with gcc extended inline assembly when ↵José Fonseca
-mssse3 is not supported/enabled.
2010-07-16llvmpipe: Only use -mssse3 on gcc 4.3+José Fonseca
2010-07-16draw/llvm: adjust the instance id at run timeZack Rusin
fixes instancing in draw llvm
2010-07-16draw: use the instance id when fetching vertex dataZack Rusin
2010-07-16mesa: return retval in _mesa_RenderObjectUnpurgeable()Brian Paul
Found by Vinson with static analysis. NOTE: This is a candidate for the 7.8 branch.
2010-07-16st/egl: Fix build on FreeBSD.Chia-I Wu
There is no libdl on FreeBSD. Based on patch from Thinker <thinker@branda.to>, which is against 7.8. This fixes fdo bug #29093.
2010-07-16glu/sgi: Remove dead initialization in extract565rev.Vinson Lee
2010-07-16i965g: Remove dead initialization in precalc_tex.Vinson Lee
2010-07-16r300g: rebuild winsys and command submission to support multiple contextsMarek Olšák
2010-07-15mesa: Add error path in compressed_texture_error_check.Vinson Lee
Add error path for unhandled dimensions in compressed_texture_error_check.
2010-07-15glsl/apps: Handle ftell errors in non-debug builds.Vinson Lee
2010-07-15llvmpipe: implement instanced drawing functionsBrian Paul
And express all the other drawing functions in terms of llvmpipe_draw_range_elements_instanced().
2010-07-15draw: update comments for drawing functionsBrian Paul
2010-07-15draw: move prototype, update commentBrian Paul
2010-07-15softpipe: re-order drawing functions to get rid of prototypeBrian Paul
2010-07-15graw: new tri-instanced.c program to test instanced drawingBrian Paul
2010-07-15r600: fix typo in r700 assemblerAlex Deucher
Noticed by Henri Verbeet on IRC. NOTE: This is a candidate for the 7.8 branch.
2010-07-15radeon: Also flush if it's not the current context that's being destroyed.Henri Verbeet
This avoids calling radeonFlush() during context destruction, when ctx->DrawBuffer would be NULL. NOTE: This is a candidate for the 7.8 branch.
2010-07-15radeon: allow driconf vblank settings with dri2Alex Deucher
fixes: https://bugs.freedesktop.org/show_bug.cgi?id=28771 NOTE: This is a candidate for the 7.8 branch.
2010-07-15st/mesa: fix quad strip trimming bugBrian Paul
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.
2010-07-15llvmpipe: Remove redundant statement.José Fonseca
Thanks to Vinson for spotting this.
2010-07-15glu/sgi: Remove dead initialization in extract565.Vinson Lee
2010-07-15tgsi: Remove dead assignment in uprcase function.Vinson Lee
2010-07-15mesa: Fix potential out-of-bounds access by _vbo_Materialf.Vinson Lee
_vbo_Materialf calls _vbo_Materialfv, which uses the params argument as an array.
2010-07-15glx: Move dereference and initialization to after NULL check.Vinson Lee
2010-07-15egl: Return the correct array size in _eglFlattenArray.Chia-I Wu
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.
2010-07-14mesa: fix _mesa_Texture/Render/BufferObjectUnpurgeable() return valuesBrian Paul
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.
2010-07-14mesa: update assertions and fix refcounting in depth/stencil renderbuffer codeBrian Paul
2010-07-14mesa: silence a printf warningBrian Paul
2010-07-14llvmpipe: delete lp_test_*.o files with make cleanBrian Paul
2010-07-14gallium: added CLEAN_EXTRA var for make clean targetBrian Paul
2010-07-14dri2: Track event mask in client code.Nick Bowler
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 <nbowler@draconx.ca> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
2010-07-14gallium: Ensure prototypes are wrapped in extern "C".José Fonseca
Fixes MSVC build failure due to inconsistent _ReadWriteBarrier prototype.
2010-07-14llvmpipe: Remove redundant alignments.José Fonseca
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.
2010-07-14llvmpipe: Addi ssse3 swizzling for B8G8R8A8_UNORM.Chris Li
2010-07-14gallium: Add a macro for memory barriers.José Fonseca
2010-07-14gallium: Add a new PIPE_ARCH_SSSE3 define for SSSE3 compiler support.José Fonseca
2010-07-13Merge branch 'mesa-2d-registers'Zack Rusin
2010-07-13mesa: add comments and change Index2D to just Index2Zack Rusin
2010-07-14r300/compiler: fix swizzling in the transformation of Abs modifiersMarek Olšák
2010-07-13i965g: Fix scons build of dri driverJakob Bornecrantz
2010-07-13llvmpipe: fix comment typoRoland Scheidegger
2010-07-13llvmpipe: move rasterizer to screen instead of setup contextRoland Scheidegger
there's no point of having this per context, so move to screen (and protect with a mutex).
2010-07-13llvmpipe: Align texture data to the cache line.José Fonseca
2010-07-13llvmpipe: eliminate the set_state rasterizer commandKeith Whitwell
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.
2010-07-13llvmpipe: pass mask into fragment shaderKeith Whitwell
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.