summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-13st/xorg: When selecting st via configure make sure to test for xorg-serverJakob 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.
2010-07-12u_blitter: add draw_rectangle callback which can be overridden by a driverMarek Olšák
2010-07-12u_blitter: clean up the texcoord computationsMarek Olšák
2010-07-12u_blitter: simplify blitter_set_rectangleMarek Olšák
2010-07-12u_blitter: rename blitter->base, add a way to get a pipe context from blitterMarek Olšák
2010-07-12r300g: ugly fix of a hardlock in the cubestorm xscreensaverMarek Olšák
FDO bug #28563.
2010-07-11radeon: lower texture memory consumption is some casesMaciej Cencora
When searching for valid miptree check images in range of [BaseLeve, MaxLevel] not [MinLod, MaxLoad]. Prevents unnecessary miptree allocations in cases when during every rendering operation different texture image level was selected using MIN_LOD = MAX_LOD = level (for every level new miptree for whole texture was allocated). Candidate for 7.8 branch. Signed-off-by: Maciej Cencora <m.cencora@gmail.com>
2010-07-11radeon: fix teximage migration failure in rare caseMaciej Cencora
Always store selected miptree in texObj->mt so get_base_teximage_offset returns correct data. Found with piglit/mipmap-setup. Candidate for 7.8 branch. Signed-off-by: Maciej Cencora <m.cencora@gmail.com>
2010-07-11r300c: Fix vertex data setup for named buffer objects with unaligned offsetMaciej Cencora
Candidate for 7.8 branch Signed-off-by: Maciej Cencora <m.cencora@gmail.com>
2010-07-11r600: Remove unnecessary headers.Vinson Lee
2010-07-10mesa: make uniform work with geometry shadersZack Rusin
2010-07-10Revert "mesa: temporarily enable printing of Mesa's GPU instructions"Zack Rusin
This reverts commit 7b8726a99da961fe0ace7c7ee567f82217715fe4.
2010-07-10mesa: GL_TRIANGLE_STRIP_ADJACENCY_ARB is the last valid primitiveZack Rusin
2010-07-10tgsi: make sure that we print out the adjacency prims correctlyZack Rusin
2010-07-10draw: fix decomposition to work with adjacency primitivesZack Rusin
2010-07-10r300g: do not print a rejected CS if RADEON_DUMP_CS is not setMarek Olšák
Also print relocation failures on non-debug builds too.
2010-07-10r600: Fix GCC 'implication declaration of function' warnings.Vinson Lee
Fix GCC 'implicit declaration of function' compiler warnings resulting from commit 00fb58ed5d7104e675fe48d84e5049e5f7dbb9d7.
2010-07-10mesa: get the translation from mesa 2d regs to tgsi workingZack Rusin
first working version of arb_geometry_shader4
2010-07-09mesa: initial support for emitting 2D registers from slangZack Rusin
2010-07-09r600: Remove unnecessary header.Vinson Lee
Fixes r600_emit.h -> r600_cmdbuf.h -> r600_emit.h include recursion.
2010-07-09mesa: temporarily enable printing of Mesa's GPU instructionsZack Rusin
2010-07-09mesa: add basic support for 2D register arrays to mesaZack Rusin
just like in Gallium it's a basic functionality needed by a lot of modern graphcis extensions