Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gallium/util: init key with memset() | Brian Paul | 2011-02-16 | 1 | -1/+3 |
| | | | | To silence missing initializers warning. | ||||
* | svga: flush when transitioning between HW and SW rendering paths | Brian Paul | 2011-02-16 | 2 | -0/+11 |
| | | | | To avoid mixing HW and SW rendering with the same vertex buffer. | ||||
* | rtasm: add dummy return statement to silence MSVC warning | Brian Paul | 2011-02-16 | 1 | -1/+2 |
| | | | | | And use assert(0) instead of abort() to be consistent with rest of Gallium. | ||||
* | svga: use TRUE/FALSE instead of 0/1 | Brian Paul | 2011-02-16 | 1 | -4/+4 |
| | | | | | Some fields are booleans, others are bitmasks. Use TRUE/FALSE to clarify what's what. | ||||
* | svga: fix incorrect comment | Brian Paul | 2011-02-16 | 1 | -1/+1 |
| | |||||
* | svga: dimension the dirty[] array with SVGA_STATE_MAX | Brian Paul | 2011-02-16 | 1 | -1/+3 |
| | |||||
* | svga: disable a debug_printf() call | Brian Paul | 2011-02-16 | 1 | -3/+6 |
| | |||||
* | svga: Proper redefine_user_buffer implementation. | José Fonseca | 2011-02-16 | 4 | -1/+58 |
| | | | | Unfortunately still not enough to make GoogleEarth happy. | ||||
* | r300g: fix a race between CS and SET_TILING ioctls | Marek Olšák | 2011-02-16 | 6 | -13/+25 |
| | |||||
* | r300g: fix blitting NPOT compressed textures | Marek Olšák | 2011-02-16 | 2 | -11/+11 |
| | |||||
* | svga: Don't fake DXT compression ability. | José Fonseca | 2011-02-16 | 2 | -17/+0 |
| | |||||
* | nvc0: fix blend factor mapping | Christoph Bumiller | 2011-02-16 | 1 | -31/+26 |
| | |||||
* | nvc0: fix emit_dfdx,dfdy | Christoph Bumiller | 2011-02-16 | 1 | -0/+2 |
| | |||||
* | nvc0: don't swap sources if either value is not in a GPR | Christoph Bumiller | 2011-02-16 | 1 | -0/+3 |
| | | | | | The memory / immediate source should already be in the only valid position. | ||||
* | nvc0: add missing break statements in constant_operand | Christoph Bumiller | 2011-02-16 | 1 | -0/+2 |
| | |||||
* | nvc0: fix clipping and use VIEWPORT instead of SCISSOR | Christoph Bumiller | 2011-02-16 | 5 | -70/+58 |
| | |||||
* | nvc0: demagic the clear flags and fix region clears | Christoph Bumiller | 2011-02-16 | 3 | -32/+62 |
| | | | | | The CLIP_RECTs always affect dedicated clears, and it's nicer than having to mark the viewport or scissor state dirty after it. | ||||
* | nvc0: front stencil mask and func mask methods are swapped | Christoph Bumiller | 2011-02-16 | 2 | -8/+10 |
| | |||||
* | nvc0: clone memory values with multiple refs before modifying them | Christoph Bumiller | 2011-02-16 | 1 | -2/+5 |
| | |||||
* | nvc0: disable early fragment tests if KIL is used | Christoph Bumiller | 2011-02-16 | 1 | -1/+1 |
| | | | | Early-Z pass raises the occlusion counter. | ||||
* | nvc0: force vertex data through FIFO if we need to convert it | Christoph Bumiller | 2011-02-16 | 2 | -1/+9 |
| | | | | | We may want to put the converted vertex buffer in persistent storage instead, but these are rare corner cases. | ||||
* | nvc0: use format from the template on surface creation | Christoph Bumiller | 2011-02-16 | 1 | -1/+1 |
| | | | | Fixes piglit/fbo-srgb. | ||||
* | nvc0: update the set of formats supported by the 2D engine | Christoph Bumiller | 2011-02-16 | 1 | -16/+10 |
| | |||||
* | nvc0: fix user vertex buffer updates | Christoph Bumiller | 2011-02-16 | 4 | -11/+42 |
| | |||||
* | r600g: fix typo in previous s3tc commit | Dave Airlie | 2011-02-16 | 1 | -1/+1 |
| | | | | pointed out by Marek on irc. | ||||
* | r300g: fix texture border color for float formats | Marek Olšák | 2011-02-16 | 1 | -1/+14 |
| | |||||
* | Revert "util: fix DXT1 RGBA texture compression if the source color is (0, ↵ | Dave Airlie | 2011-02-16 | 1 | -14/+2 |
| | | | | | | | | 0, 0, 0)" This reverts commit 6e7d782da506da233b2ac695b022ac393e1c719e. Oops, I just had this locally for testing and forgot to remove it before pushing. | ||||
* | r600g: add L8A8 SRGB formats. | Dave Airlie | 2011-02-16 | 3 | -2/+8 |
| | | | | | | this fixes the piglit mipmap generation sRGB on my rv730. Signed-off-by: Dave Airlie <[email protected]> | ||||
* | util: fix DXT1 RGBA texture compression if the source color is (0, 0, 0, 0) | Marek Olšák | 2011-02-16 | 1 | -2/+14 |
| | | | | | | | | | This is a workaround for a bug in libtxc_dxtn. Fixes: - piglit/GL_EXT_texture_compression_s3tc/fbo-generatemipmap-formats Signed-off-by: Dave Airlie <[email protected]> | ||||
* | r600g: add L4A4 support. | Dave Airlie | 2011-02-16 | 2 | -0/+12 |
| | | | | | | this fixes piglit fbo-generatemipmap-formats on my rv730. Signed-off-by: Dave Airlie <[email protected]> | ||||
* | r600g: fix s3tc-texsubimage | Dave Airlie | 2011-02-16 | 1 | -0/+3 |
| | | | | | | | | we need to translate the destination box as well. fixes piglit's s3tc-texsubimage test. Signed-off-by: Dave Airlie <[email protected]> | ||||
* | st/python: add usage parameter to pipe_buffer_create | Vinson Lee | 2011-02-15 | 2 | -2/+3 |
| | | | | | | This is a follow-up to commit eafb7f234d11a290b00dcaf5492b9bdad1cf5148. Fixes Linux SCons build. | ||||
* | r300g: disable linear filtering for float textures | Marek Olšák | 2011-02-16 | 1 | -0/+45 |
| | |||||
* | r600g: add srgb compressed formats to the list. | Dave Airlie | 2011-02-16 | 1 | -0/+4 |
| | |||||
* | gallium: add usage parameter to pipe_buffer_create | Marek Olšák | 2011-02-15 | 14 | -5/+24 |
| | | | | | And set a reasonable buffer usage flag everywhere instead of just PIPE_USAGE_DEFAULT. | ||||
* | r600g: Fix RGB10_A2 format handling | Fabian Bieler | 2011-02-15 | 2 | -6/+10 |
| | |||||
* | r600g: fix regression in r6/7xx since mipmap rework | Dave Airlie | 2011-02-15 | 1 | -1/+1 |
| | | | | I typod this when copy-pasting. | ||||
* | nvc0: Fix uninitialized variable warning. | Vinson Lee | 2011-02-15 | 1 | -1/+1 |
| | | | | | | Fixes this GCC warning. nvc0_tgsi_to_nc.c: In function 'bld_tex': nvc0_tgsi_to_nc.c:1392: warning: 'dim' may be used uninitialized in this function | ||||
* | r300g: offload the CS ioctl to another thread | Marek Olšák | 2011-02-15 | 6 | -113/+233 |
| | | | | | | | | | | This is a multi-threading optimization which hides the kernel overhead behind a thread. It improves performance in CPU-limited apps by 2-15%. Of course you must have at least 2 cores for it to make any difference. It can be disabled with: export RADEON_THREAD=0 | ||||
* | r600g: add support for s3tc formats. | Dave Airlie | 2011-02-15 | 3 | -0/+75 |
| | | | | | | | | | | | | On r600, s3tc formats require a 1D tiled texture format, so we have to do uploads using a blit, via the 64-bit and 128-bit formats Based on the r600c code we use a 64 and 128-bit type to do the blits. Still requires R600_ENABLE_S3TC until the kernel fixes are in, this has only been tested on evergreen where the kernel doesn't yet get in the way. | ||||
* | r600g: fix miptree calculations | Dave Airlie | 2011-02-15 | 4 | -47/+41 |
| | | | | | | | | | | the miptree setup and pitch storing didn't work so well for block based things like compressed textures. The CB takes blocks, where the texture sampler takes pixels, and transfers need bytes, So now we store blocks/bytes and translate to pixels in the sampler. This is necessary for s3tc to work properly. | ||||
* | r600g: drop tiled flag | Dave Airlie | 2011-02-15 | 4 | -13/+8 |
| | | | | | | | we can work this out from the array_mode and it makes more sense to do that. Signed-off-by: Dave Airlie <[email protected]> | ||||
* | r300g: actually implement the is_buffer_busy hook the right way | Marek Olšák | 2011-02-15 | 1 | -3/+3 |
| | | | | Ooops. | ||||
* | r300g: handle interaction between UNSYNCHRONIZED and DONTBLOCK flags in bo_map | Marek Olšák | 2011-02-15 | 1 | -20/+16 |
| | | | | | The VBO module uses both, but they are somewhat opposite to each other. In this case, we pick UNSYNCHRONIZED and ignore DONTBLOCK. | ||||
* | r300g: fix a possible race condition when mapping a buffer | Marek Olšák | 2011-02-15 | 2 | -23/+34 |
| | | | | This is the last one I think. | ||||
* | r300g: implement fences using dummy relocations | Marek Olšák | 2011-02-15 | 4 | -65/+32 |
| | | | | So finally we have them. | ||||
* | r300g: fix SIGFPE on debug builds | Marek Olšák | 2011-02-15 | 1 | -2/+2 |
| | |||||
* | r300g: inline some of the pipe_buffer_map/unmap calls | Marek Olšák | 2011-02-15 | 1 | -18/+14 |
| | |||||
* | r300g: do not track whether occlusion queries have been flushed | Marek Olšák | 2011-02-14 | 4 | -18/+5 |
| | | | | The winsys takes care of flushing automatically. | ||||
* | r300g: flush CS in bo_map even if we get USAGE_DONTBLOCK | Marek Olšák | 2011-02-14 | 1 | -0/+1 |
| | | | | | | | | | | Because an app may do something like this: while (!(ptr = bo_map(..., DONT_BLOCK))) { /* Do some other work. */ } And it would be looping endlessly if we didn't flush. |