summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* dri2: Track event mask in client code.Nick Bowler2010-07-143-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é Fonseca2010-07-141-0/+11
| | | | | Fixes MSVC build failure due to inconsistent _ReadWriteBarrier prototype.
* llvmpipe: Remove redundant alignments.José Fonseca2010-07-142-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 Li2010-07-143-3/+231
|
* gallium: Add a macro for memory barriers.José Fonseca2010-07-141-0/+19
|
* gallium: Add a new PIPE_ARCH_SSSE3 define for SSSE3 compiler support.José Fonseca2010-07-141-0/+5
|
* Merge branch 'mesa-2d-registers'Zack Rusin2010-07-1317-63/+217
|\
| * mesa: add comments and change Index2D to just Index2Zack Rusin2010-07-137-25/+37
| |
| * mesa: make uniform work with geometry shadersZack Rusin2010-07-102-5/+42
| |
| * Revert "mesa: temporarily enable printing of Mesa's GPU instructions"Zack Rusin2010-07-101-1/+1
| | | | | | | | This reverts commit 7b8726a99da961fe0ace7c7ee567f82217715fe4.
| * mesa: GL_TRIANGLE_STRIP_ADJACENCY_ARB is the last valid primitiveZack Rusin2010-07-101-5/+5
| |
| * tgsi: make sure that we print out the adjacency prims correctlyZack Rusin2010-07-101-1/+5
| |
| * draw: fix decomposition to work with adjacency primitivesZack Rusin2010-07-101-3/+8
| |
| * mesa: get the translation from mesa 2d regs to tgsi workingZack Rusin2010-07-105-14/+30
| | | | | | | | first working version of arb_geometry_shader4
| * mesa: initial support for emitting 2D registers from slangZack Rusin2010-07-096-40/+98
| |
| * mesa: temporarily enable printing of Mesa's GPU instructionsZack Rusin2010-07-091-1/+1
| |
| * mesa: add basic support for 2D register arrays to mesaZack Rusin2010-07-093-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 modifiersMarek Olšák2010-07-141-2/+2
| |
* | i965g: Fix scons build of dri driverJakob Bornecrantz2010-07-131-1/+0
| |
* | llvmpipe: fix comment typoRoland Scheidegger2010-07-131-2/+2
| |
* | llvmpipe: move rasterizer to screen instead of setup contextRoland Scheidegger2010-07-134-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é Fonseca2010-07-131-2/+5
| |
* | llvmpipe: eliminate the set_state rasterizer commandKeith Whitwell2010-07-138-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 shaderKeith Whitwell2010-07-1314-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-threadKeith Whitwell2010-07-138-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é Fonseca2010-07-133-18/+18
| | | | | | | | | | This was already the case, but the generated (un)swizzling code was not benefiting of that knowledge.
* | llvmpipe: Ignores!Jakob Bornecrantz2010-07-131-0/+1
| |
* | targets: Link xorg drivers with LLVM if builtJakob Bornecrantz2010-07-131-0/+8
| |
* | targets: Clean up xorg make files a bitJakob Bornecrantz2010-07-136-29/+31
| |
* | libgl-xlib: add depend to make clean listBrian Paul2010-07-131-1/+1
| |
* | glapi: use _mesa_snprintf()Brian Paul2010-07-131-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 shadersMarek Olšák2010-07-131-4/+55
| |
* | r300/compiler: emulate SIN/COS/SCS in r3xx-r4xx vertex shadersMarek Olšák2010-07-131-1/+7
| | | | | | | | Despite the docs, the corresponding hardware instructions are r5xx-only.
* | mesa: s/snprintf/_mesa_snprintf/Vinson Lee2010-07-131-1/+2
| |
* | r300g: do not advertise half_float_vertex on rv3x0Marek Olšák2010-07-131-2/+2
| | | | | | | | rv3x0 can't do it.
* | r300g: extend and clean up debug loggingMarek Olšák2010-07-135-17/+23
| |
* | r300g/swtcl: do not emit texcoords if they are also stuffed in GAMarek Olšák2010-07-131-3/+6
| |
* | r300g: rework the draw_rectangle hookMarek Olšák2010-07-131-89/+23
| | | | | | | | It is a lot simplier, cleaner, and more stable now.
* | Merge branch 'master' of git://anongit.freedesktop.org/mesa/mesaMaciej Cencora2010-07-122-2/+1
|\ \
| * | r600: Fix include recursion.Vinson Lee2010-07-121-1/+1
| | | | | | | | | | | | | | | Fix r600_context.h -> r700_oglprog.h -> r600_context.h include recursion.
| * | r300g: Remove unnecessary header.Vinson Lee2010-07-121-1/+0
| | |
* | | radeon: fix some wine d3d9 testsMaciej Cencora2010-07-121-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 <[email protected]>
* | llvmpipe: Re-enable threading on windows.José Fonseca2010-07-121-6/+0
| |
* | os: remove gratuitous pipe_barrier placeholder codenobled2010-07-121-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.
* | os, rbug: remove PIPE_THREAD_HAVE_CONDVARnobled2010-07-123-15/+0
| | | | | | | | | | The new default implementation of pipe_condvar makes it unnecessary.
* | os: Implement pipe_condvar on Windows Vista and laternobled2010-07-121-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.
* | os: Implement pipe_condvar on win32nobled2010-07-121-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.
* | r300g: implement fast color clearMarek Olšák2010-07-1210-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
* | r300g: clear and copy a resource with a rectangular point spriteMarek Olšák2010-07-122-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.
* | r300g: do not use immediate mode if there is a VBO in VRAMMarek Olšák2010-07-122-4/+5
| | | | | | | | And other minor fixups.