summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-07-14mesa: fix _mesa_Texture/Render/BufferObjectUnpurgeable() return valuesBrian Paul1-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.
2010-07-14mesa: update assertions and fix refcounting in depth/stencil renderbuffer codeBrian Paul1-6/+16
2010-07-14mesa: silence a printf warningBrian Paul1-2/+2
2010-07-14llvmpipe: delete lp_test_*.o files with make cleanBrian Paul1-0/+3
2010-07-14gallium: added CLEAN_EXTRA var for make clean targetBrian Paul1-1/+1
2010-07-14dri2: Track event mask in client code.Nick Bowler3-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 <nbowler@draconx.ca> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
2010-07-14gallium: Ensure prototypes are wrapped in extern "C".José Fonseca1-0/+11
Fixes MSVC build failure due to inconsistent _ReadWriteBarrier prototype.
2010-07-14llvmpipe: Remove redundant alignments.José Fonseca2-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.
2010-07-14llvmpipe: Addi ssse3 swizzling for B8G8R8A8_UNORM.Chris Li3-3/+231
2010-07-14gallium: Add a macro for memory barriers.José Fonseca1-0/+19
2010-07-14gallium: Add a new PIPE_ARCH_SSSE3 define for SSSE3 compiler support.José Fonseca1-0/+5
2010-07-13Merge branch 'mesa-2d-registers'Zack Rusin17-63/+217
2010-07-13mesa: add comments and change Index2D to just Index2Zack Rusin7-25/+37
2010-07-14r300/compiler: fix swizzling in the transformation of Abs modifiersMarek Olšák1-2/+2
2010-07-13i965g: Fix scons build of dri driverJakob Bornecrantz1-1/+0
2010-07-13llvmpipe: fix comment typoRoland Scheidegger1-2/+2
2010-07-13llvmpipe: move rasterizer to screen instead of setup contextRoland Scheidegger4-13/+22
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é Fonseca1-2/+5
2010-07-13llvmpipe: eliminate the set_state rasterizer commandKeith Whitwell8-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.
2010-07-13llvmpipe: pass mask into fragment shaderKeith Whitwell14-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.
2010-07-13llvmpipe: move fences from per-bin to per-threadKeith Whitwell8-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.
2010-07-13llvmpipe: Always swizzle/unswizzle whole tiles.José Fonseca3-18/+18
This was already the case, but the generated (un)swizzling code was not benefiting of that knowledge.
2010-07-13llvmpipe: Ignores!Jakob Bornecrantz1-0/+1
2010-07-13targets: Link xorg drivers with LLVM if builtJakob Bornecrantz1-0/+8
2010-07-13targets: Clean up xorg make files a bitJakob Bornecrantz6-29/+31
2010-07-13st/xorg: When selecting st via configure make sure to test for xorg-serverJakob Bornecrantz1-0/+1
2010-07-13libgl-xlib: add depend to make clean listBrian Paul1-1/+1
2010-07-13glapi: use _mesa_snprintf()Brian Paul1-1/+2
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šák1-4/+55
2010-07-13r300/compiler: emulate SIN/COS/SCS in r3xx-r4xx vertex shadersMarek Olšák1-1/+7
Despite the docs, the corresponding hardware instructions are r5xx-only.
2010-07-13mesa: s/snprintf/_mesa_snprintf/Vinson Lee1-1/+2
2010-07-13r300g: do not advertise half_float_vertex on rv3x0Marek Olšák1-2/+2
rv3x0 can't do it.
2010-07-13r300g: extend and clean up debug loggingMarek Olšák5-17/+23
2010-07-13r300g/swtcl: do not emit texcoords if they are also stuffed in GAMarek Olšák1-3/+6
2010-07-13r300g: rework the draw_rectangle hookMarek Olšák1-89/+23
It is a lot simplier, cleaner, and more stable now.
2010-07-12Merge branch 'master' of git://anongit.freedesktop.org/mesa/mesaMaciej Cencora2-2/+1
2010-07-12r600: Fix include recursion.Vinson Lee1-1/+1
Fix r600_context.h -> r700_oglprog.h -> r600_context.h include recursion.
2010-07-12r300g: Remove unnecessary header.Vinson Lee1-1/+0
2010-07-12radeon: fix some wine d3d9 testsMaciej Cencora1-0/+9
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é Fonseca1-6/+0
2010-07-12os: remove gratuitous pipe_barrier placeholder codenobled1-21/+1
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_CONDVARnobled3-15/+0
The new default implementation of pipe_condvar makes it unnecessary.
2010-07-12os: Implement pipe_condvar on Windows Vista and laternobled1-0/+30
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 win32nobled1-7/+27
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šák10-13/+178
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šák2-3/+152
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šák2-4/+5
And other minor fixups.
2010-07-12u_blitter: add draw_rectangle callback which can be overridden by a driverMarek Olšák2-19/+104
2010-07-12u_blitter: clean up the texcoord computationsMarek Olšák1-28/+35
2010-07-12u_blitter: simplify blitter_set_rectangleMarek Olšák1-19/+32