Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | st/python: remove pipe_vertex_buffer::max_index | Vinson Lee | 2011-02-14 | 1 | -3/+0 |
| | | | | This is a follow-up to commit cdca3c58aa2d9549f5188910e2a77b438516714f. | ||||
* | graw: remove pipe_vertex_buffer::max_index | Vinson Lee | 2011-02-14 | 1 | -1/+0 |
| | | | | This is a follow-up to commit cdca3c58aa2d9549f5188910e2a77b438516714f. | ||||
* | r300g: implement pb_manager::is_buffer_busy | Marek Olšák | 2011-02-14 | 1 | -22/+27 |
| | |||||
* | pb_bufmgr_cache: add is_buffer_busy hook and use it instead of non-blocking map | Marek Olšák | 2011-02-14 | 2 | -7/+14 |
| | | | | This is cleaner and implementing the hook is optional. | ||||
* | gallium: notify drivers about possible changes in user buffer contents | Marek Olšák | 2011-02-14 | 23 | -6/+134 |
| | | | | Also implement the redefine_user_buffer hook in the drivers. | ||||
* | gallium: remove pipe_vertex_buffer::max_index | Marek Olšák | 2011-02-14 | 24 | -44/+12 |
| | | | | | This is redundant to pipe_draw_info::max_index and doesn't really fit in the optimizations I plan. | ||||
* | gallium: always save and restore vertex buffers using cso_cache | Marek Olšák | 2011-02-14 | 9 | -14/+79 |
| | |||||
* | r300g: Remove redundant initialization. | Vinson Lee | 2011-02-14 | 1 | -1/+1 |
| | | | | | Remove redundant initialization from commit 3b01b52bd78e3d2fc857feacebd815a5fae00c94 noticed by tstellar. | ||||
* | r600g: add alignment cases for linear aligned | Alex Deucher | 2011-02-14 | 1 | -0/+6 |
| | | | | | | Matches the drm and ddx. Signed-off-by: Alex Deucher <[email protected]> | ||||
* | draw: Don't define the last two mipmap levels in aa lines. | José Fonseca | 2011-02-14 | 1 | -5/+11 |
| | | | | | | Some hardware needs to make a seperate copy of all levels to obey max_lod, so simply do not define the last two levels instead of clamping. | ||||
* | svga: Set the appropriate flags when creating sampler/surface views. | José Fonseca | 2011-02-14 | 3 | -5/+18 |
| | |||||
* | r300g: put indices in CS if there's just a few of them and are in user memory | Marek Olšák | 2011-02-14 | 1 | -3/+99 |
| | |||||
* | r300g: cleanup the draw functions | Marek Olšák | 2011-02-14 | 2 | -76/+53 |
| | |||||
* | r300g: do not create a user buffer struct for misaligned ushort indices fallback | Marek Olšák | 2011-02-14 | 3 | -12/+8 |
| | |||||
* | r300g: fix fallback for misaligned ushort indices with num vertices >= 65535 | Marek Olšák | 2011-02-14 | 1 | -1/+5 |
| | |||||
* | r300g: consolidate emission of common draw regs | Marek Olšák | 2011-02-14 | 1 | -21/+23 |
| | |||||
* | r300g: Move declaration before code. | Vinson Lee | 2011-02-14 | 1 | -3/+4 |
| | | | | Fixes SCons build. | ||||
* | r600g: do not destroy the original index buffer when translating indices | Marek Olšák | 2011-02-14 | 1 | -2/+2 |
| | | | | Because we only translate a subrange of the buffer. | ||||
* | r300g: emit 3D_LOAD_VBPNTR only when necessary | Marek Olšák | 2011-02-14 | 4 | -64/+33 |
| | | | | | I thought I couldn't skip emitting this packet in some cases. Well it looks like I can. | ||||
* | r300g: fix reference counting when translating indices | Marek Olšák | 2011-02-14 | 1 | -0/+3 |
| | |||||
* | u_index_modify: map buffers with PIPE_TRANSFER_UNSYNCHRONIZED | Marek Olšák | 2011-02-14 | 1 | -3/+12 |
| | |||||
* | r300g: remove the relocation after AARESOLVE_PITCH | Marek Olšák | 2011-02-14 | 2 | -3/+1 |
| | |||||
* | nv50: fix query assertion | Marcin Slusarz | 2011-02-13 | 1 | -1/+1 |
| | |||||
* | r300g: correctly determine if a texture is blittable in texture_get_transfer | Marek Olšák | 2011-02-13 | 1 | -4/+5 |
| | |||||
* | r300g: fixup the handle_compare function | Marek Olšák | 2011-02-13 | 1 | -2/+2 |
| | | | | Accidentally negated in 685c3262b945a7f0e9f1f3a9409a12fdda08c828. | ||||
* | r300g: when printing shader linker errors to stderr, report it's not a bug | Marek Olšák | 2011-02-12 | 1 | -3/+6 |
| | |||||
* | r300g: add debug options nozmask and nohiz which disable some hyper-z features | Marek Olšák | 2011-02-12 | 3 | -0/+9 |
| | |||||
* | r300g: typecast void* to unsigned correctly | Marek Olšák | 2011-02-12 | 1 | -2/+4 |
| | |||||
* | r300g: improve function radeon_bo_is_referenced_by_cs | Marek Olšák | 2011-02-12 | 5 | -18/+30 |
| | | | | | This should prevent calling into radeon_get_reloc when there's only one context. | ||||
* | u_vbuf_mgr: fix segfault | Marek Olšák | 2011-02-12 | 1 | -1/+1 |
| | | | | | max_index could have been less than min_index, which later caused integer underflow followed by a segfault in memcpy. | ||||
* | svga: disable a debug_printf() call | Brian Paul | 2011-02-11 | 1 | -5/+9 |
| | |||||
* | svga: comments and debug code | Brian Paul | 2011-02-11 | 1 | -0/+10 |
| | |||||
* | svga: more comments for need_pipeline field | Brian Paul | 2011-02-11 | 1 | -1/+4 |
| | |||||
* | draw: tweak AA line texture minimum alpha | Brian Paul | 2011-02-11 | 1 | -1/+1 |
| | | | | | AA lines drawn as textured quads look a little better with this change. Conformance/piglit tests still pass. | ||||
* | svga: add max DMA size check in svga_winsys_buffer_create() | Brian Paul | 2011-02-11 | 1 | -0/+10 |
| | | | | | | | This fixes a problem when trying to use large (2K x 2K) texture images. We'll DMA the image in chunks. Patch written by Jose. | ||||
* | svga: remove old comment, remove extra whitespace | Brian Paul | 2011-02-11 | 1 | -4/+0 |
| | |||||
* | svga: Enable the draw pipeline for smooth lines. | José Fonseca | 2011-02-11 | 1 | -0/+5 |
| | | | | Spotted by Brian Paul. | ||||
* | svga: Don't use the draw pipeline for non-AA lines with a fractional width. | José Fonseca | 2011-02-11 | 1 | -2/+1 |
| | | | | Spotted by Jakob Bornecrantz. | ||||
* | draw: Don't use the pipeline when drawing lines with fractional widths. | José Fonseca | 2011-02-11 | 3 | -5/+6 |
| | | | | Spotted by Jakob Bornecrantz. | ||||
* | llvmpipe: Use u_math's round. | José Fonseca | 2011-02-11 | 1 | -12/+1 |
| | |||||
* | util: Define round and roundf on MSVC. | José Fonseca | 2011-02-11 | 1 | -1/+13 |
| |