Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | llvmpipe: fix comment typo | Roland Scheidegger | 2010-07-13 | 1 | -2/+2 |
| | |||||
* | llvmpipe: move rasterizer to screen instead of setup context | Roland Scheidegger | 2010-07-13 | 4 | -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é Fonseca | 2010-07-13 | 1 | -2/+5 |
| | |||||
* | llvmpipe: eliminate the set_state rasterizer command | Keith Whitwell | 2010-07-13 | 8 | -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 shader | Keith Whitwell | 2010-07-13 | 14 | -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-thread | Keith Whitwell | 2010-07-13 | 8 | -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é Fonseca | 2010-07-13 | 3 | -18/+18 |
| | | | | | This was already the case, but the generated (un)swizzling code was not benefiting of that knowledge. | ||||
* | llvmpipe: Ignores! | Jakob Bornecrantz | 2010-07-13 | 1 | -0/+1 |
| | |||||
* | targets: Link xorg drivers with LLVM if built | Jakob Bornecrantz | 2010-07-13 | 1 | -0/+8 |
| | |||||
* | targets: Clean up xorg make files a bit | Jakob Bornecrantz | 2010-07-13 | 6 | -29/+31 |
| | |||||
* | st/xorg: When selecting st via configure make sure to test for xorg-server | Jakob Bornecrantz | 2010-07-13 | 1 | -0/+1 |
| | |||||
* | libgl-xlib: add depend to make clean list | Brian Paul | 2010-07-13 | 1 | -1/+1 |
| | |||||
* | glapi: use _mesa_snprintf() | Brian Paul | 2010-07-13 | 1 | -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 shaders | Marek Olšák | 2010-07-13 | 1 | -4/+55 |
| | |||||
* | r300/compiler: emulate SIN/COS/SCS in r3xx-r4xx vertex shaders | Marek Olšák | 2010-07-13 | 1 | -1/+7 |
| | | | | Despite the docs, the corresponding hardware instructions are r5xx-only. | ||||
* | mesa: s/snprintf/_mesa_snprintf/ | Vinson Lee | 2010-07-13 | 1 | -1/+2 |
| | |||||
* | r300g: do not advertise half_float_vertex on rv3x0 | Marek Olšák | 2010-07-13 | 1 | -2/+2 |
| | | | | rv3x0 can't do it. | ||||
* | r300g: extend and clean up debug logging | Marek Olšák | 2010-07-13 | 5 | -17/+23 |
| | |||||
* | r300g/swtcl: do not emit texcoords if they are also stuffed in GA | Marek Olšák | 2010-07-13 | 1 | -3/+6 |
| | |||||
* | r300g: rework the draw_rectangle hook | Marek Olšák | 2010-07-13 | 1 | -89/+23 |
| | | | | It is a lot simplier, cleaner, and more stable now. | ||||
* | Merge branch 'master' of git://anongit.freedesktop.org/mesa/mesa | Maciej Cencora | 2010-07-12 | 2 | -2/+1 |
|\ | |||||
| * | r600: Fix include recursion. | Vinson Lee | 2010-07-12 | 1 | -1/+1 |
| | | | | | | | | | | Fix r600_context.h -> r700_oglprog.h -> r600_context.h include recursion. | ||||
| * | r300g: Remove unnecessary header. | Vinson Lee | 2010-07-12 | 1 | -1/+0 |
| | | |||||
* | | radeon: fix some wine d3d9 tests | Maciej Cencora | 2010-07-12 | 1 | -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é Fonseca | 2010-07-12 | 1 | -6/+0 |
| | |||||
* | os: remove gratuitous pipe_barrier placeholder code | nobled | 2010-07-12 | 1 | -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_CONDVAR | nobled | 2010-07-12 | 3 | -15/+0 |
| | | | | | The new default implementation of pipe_condvar makes it unnecessary. | ||||
* | os: Implement pipe_condvar on Windows Vista and later | nobled | 2010-07-12 | 1 | -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 win32 | nobled | 2010-07-12 | 1 | -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 clear | Marek Olšák | 2010-07-12 | 10 | -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 sprite | Marek Olšák | 2010-07-12 | 2 | -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 VRAM | Marek Olšák | 2010-07-12 | 2 | -4/+5 |
| | | | | And other minor fixups. | ||||
* | u_blitter: add draw_rectangle callback which can be overridden by a driver | Marek Olšák | 2010-07-12 | 2 | -19/+104 |
| | |||||
* | u_blitter: clean up the texcoord computations | Marek Olšák | 2010-07-12 | 1 | -28/+35 |
| | |||||
* | u_blitter: simplify blitter_set_rectangle | Marek Olšák | 2010-07-12 | 1 | -19/+32 |
| | |||||
* | u_blitter: rename blitter->base, add a way to get a pipe context from blitter | Marek Olšák | 2010-07-12 | 2 | -70/+80 |
| | |||||
* | r300g: ugly fix of a hardlock in the cubestorm xscreensaver | Marek Olšák | 2010-07-12 | 2 | -3/+5 |
| | | | | FDO bug #28563. | ||||
* | radeon: lower texture memory consumption is some cases | Maciej Cencora | 2010-07-11 | 1 | -1/+1 |
| | | | | | | | | | | | | | 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 <[email protected]> | ||||
* | radeon: fix teximage migration failure in rare case | Maciej Cencora | 2010-07-11 | 1 | -4/+4 |
| | | | | | | | | | 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 <[email protected]> | ||||
* | r300c: Fix vertex data setup for named buffer objects with unaligned offset | Maciej Cencora | 2010-07-11 | 1 | -2/+1 |
| | | | | | | Candidate for 7.8 branch Signed-off-by: Maciej Cencora <[email protected]> | ||||
* | r600: Remove unnecessary headers. | Vinson Lee | 2010-07-11 | 2 | -2/+0 |
| | |||||
* | r300g: do not print a rejected CS if RADEON_DUMP_CS is not set | Marek Olšák | 2010-07-10 | 2 | -4/+9 |
| | | | | Also print relocation failures on non-debug builds too. | ||||
* | r600: Fix GCC 'implication declaration of function' warnings. | Vinson Lee | 2010-07-10 | 2 | -0/+2 |
| | | | | | Fix GCC 'implicit declaration of function' compiler warnings resulting from commit 00fb58ed5d7104e675fe48d84e5049e5f7dbb9d7. | ||||
* | r600: Remove unnecessary header. | Vinson Lee | 2010-07-09 | 1 | -1/+0 |
| | | | | Fixes r600_emit.h -> r600_cmdbuf.h -> r600_emit.h include recursion. | ||||
* | r600: Fix include recursion. | Vinson Lee | 2010-07-09 | 1 | -1/+3 |
| | | | | | | | r700_chip.h included r600_context.h, which included r700_chip.h. Remove the unnecessary r600_context.h inclusion and add missing headers. | ||||
* | glslcompiler: Fix GCC warn_unused_result warning. | Vinson Lee | 2010-07-09 | 1 | -1/+5 |
| | |||||
* | glslcompiler: Fix memory leaks on error paths. | Vinson Lee | 2010-07-09 | 1 | -0/+2 |
| | |||||
* | glslcompiler: Remove unnecessary headers. | Vinson Lee | 2010-07-09 | 1 | -2/+0 |
| | |||||
* | mesa: Move [UN]CLAMPED_FLOAT_TO_UBYTE from imports.h to macros.h. | Vinson Lee | 2010-07-09 | 5 | -36/+38 |
| | | | | The other similar integer/float conversion macros are in macros.h. | ||||
* | r300g: allow the GTT domain for samplers | Marek Olšák | 2010-07-09 | 2 | -5/+12 |
| | | | | This fixes sluggishness in vdrift. |