summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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.
2010-07-13llvmpipe: move fences from per-bin to per-threadKeith Whitwell
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.
2010-07-13llvmpipe: Always swizzle/unswizzle whole tiles.José Fonseca
This was already the case, but the generated (un)swizzling code was not benefiting of that knowledge.
2010-07-13llvmpipe: Ignores!Jakob Bornecrantz
2010-07-13targets: Link xorg drivers with LLVM if builtJakob Bornecrantz
2010-07-13targets: Clean up xorg make files a bitJakob Bornecrantz
2010-07-13libgl-xlib: add depend to make clean listBrian Paul
2010-07-13glapi: use _mesa_snprintf()Brian Paul
Note that the enums.c file is generated with this script. This will preserve the change from commit c4066b78c0aad41c199eb27157538c2ec9ab5bfd.
2010-07-13r300/compiler: implement the Abs source operand modifier for vertex shadersMarek Olšák
2010-07-13r300/compiler: emulate SIN/COS/SCS in r3xx-r4xx vertex shadersMarek Olšák
Despite the docs, the corresponding hardware instructions are r5xx-only.
2010-07-13mesa: s/snprintf/_mesa_snprintf/Vinson Lee
2010-07-13r300g: do not advertise half_float_vertex on rv3x0Marek Olšák
rv3x0 can't do it.
2010-07-13r300g: extend and clean up debug loggingMarek Olšák
2010-07-13r300g/swtcl: do not emit texcoords if they are also stuffed in GAMarek Olšák
2010-07-13r300g: rework the draw_rectangle hookMarek Olšák
It is a lot simplier, cleaner, and more stable now.
2010-07-12Merge branch 'master' of git://anongit.freedesktop.org/mesa/mesaMaciej Cencora
2010-07-12r600: Fix include recursion.Vinson Lee
Fix r600_context.h -> r700_oglprog.h -> r600_context.h include recursion.
2010-07-12r300g: Remove unnecessary header.Vinson Lee
2010-07-12radeon: fix some wine d3d9 testsMaciej Cencora
Need to flush command stream before mapping texture image that is referenced by current cs. Candidate for 7.8 branch. Signed-off-by: Maciej Cencora <m.cencora@gmail.com>
2010-07-12llvmpipe: Re-enable threading on windows.José Fonseca
2010-07-12os: remove gratuitous pipe_barrier placeholder codenobled
There's already an implementation of pipe_barrier using the other pipe_* primitives; just use that on Windows, too. Now Windows passes pipe_barrier_test.
2010-07-12os, rbug: remove PIPE_THREAD_HAVE_CONDVARnobled
The new default implementation of pipe_condvar makes it unnecessary.
2010-07-12os: Implement pipe_condvar on Windows Vista and laternobled
Unfortunately compiling with these defines enabled would mean Gallium can't run on Windows XP/2003 or older. Todo: Need a macro to declare if we don't care about WinXP compatibililty.
2010-07-12os: Implement pipe_condvar on win32nobled
Or at least a little of it. This version will sleep for a fixed amount of time instead of just deadlocking, which is a slight improvement. Also do the same thing on any unrecognized platform.
2010-07-12r300g: implement fast color clearMarek Olšák
An initial implementation made by Dave Airlie. For it to be used, a color-only clear must be invoked and exactly one point-sampled render target must be set. The render target must be macrotiled (for us to overcome alignment issues) and bpp must be either 16 or 32. I can't see a difference in performance. :( Conflicts: src/gallium/drivers/r300/r300_blit.c
2010-07-12r300g: clear and copy a resource with a rectangular point spriteMarek Olšák
With an ordinary quad, the pixels on the main diagonal are computed and stored twice, which is somewhat inefficient and might not work well with specialized clear codepaths.
2010-07-12r300g: do not use immediate mode if there is a VBO in VRAMMarek Olšák
And other minor fixups.