Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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: 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. | ||||
* | gallium: notify drivers about possible changes in user buffer contents | Marek Olšák | 2011-02-14 | 18 | -0/+95 |
| | | | | Also implement the redefine_user_buffer hook in the drivers. | ||||
* | gallium: remove pipe_vertex_buffer::max_index | Marek Olšák | 2011-02-14 | 3 | -3/+2 |
| | | | | | This is redundant to pipe_draw_info::max_index and doesn't really fit in the optimizations I plan. | ||||
* | 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]> | ||||
* | 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 |
| | |||||
* | 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: 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 |
| | |||||
* | 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 |
| | |||||
* | 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. | ||||
* | llvmpipe: Use u_math's round. | José Fonseca | 2011-02-11 | 1 | -12/+1 |
| | |||||
* | svga: Stippled lines can also be drawn with triangles. | José Fonseca | 2011-02-11 | 2 | -2/+3 |
| | |||||
* | r600g: get correct height alignment | Dave Airlie | 2011-02-11 | 1 | -3/+2 |
| | | | | useful for s3tc | ||||
* | r600g: drop two unused | 0 that are actually in word4 anyways. | Dave Airlie | 2011-02-11 | 2 | -2/+2 |
| | | | | | | these were NOPs anyways. Signed-off-by: Dave Airlie <[email protected]> | ||||
* | r600g: handle 16/32 u/s norm formats properly | Dave Airlie | 2011-02-11 | 7 | -12/+57 |
| | | | | | | | add support for the 32-bit types, also fixup the export setting to handle types with channels > 11 bits properly Signed-off-by: Dave Airlie <[email protected]> | ||||
* | r300g: prevent NULL pointer dereference in r300_buffer_create | Marek Olšák | 2011-02-11 | 1 | -3/+3 |
| | | | | | Should fix: https://bugs.freedesktop.org/show_bug.cgi?id=33185 | ||||
* | r300g: fix warning | Marek Olšák | 2011-02-11 | 1 | -1/+1 |
| | |||||
* | r300g: import the last bits of libdrm and cleanup the whole thing | Marek Olšák | 2011-02-11 | 11 | -129/+82 |
| | | | | | | | | | | | | | | Based on Dave's branch. The majority of this commit is a cleanup, mainly renaming things. There wasn't much code to import, just ioctl calls. Also done: - implemented unsynchronized bo_map (important optimization!) - radeon_bo_is_referenced_by_cs is no longer a refcount hack - dropped the libdrm_radeon dependency I'm surprised that this has resulted in less code in the end. | ||||
* | r300g: implement accelerated copy_region for compressed formats | Marek Olšák | 2011-02-10 | 1 | -0/+29 |
| | |||||
* | r300g: add a way to change texture properties arbitrarily | Marek Olšák | 2011-02-10 | 9 | -76/+104 |
| | | | | So that we can implement resource_copy on arbitrary data. | ||||
* | r300g: consolidate buffers and textures to r300_resource | Marek Olšák | 2011-02-10 | 18 | -381/+328 |
| | | | | Transfers and create/destroy are still handled separately. | ||||
* | r300g: simplify WRITE_RELOC API and cleanup | Marek Olšák | 2011-02-10 | 10 | -136/+126 |
| | |||||
* | r300g: use format from pipe_surface instead of pipe_resource | Marek Olšák | 2011-02-10 | 2 | -29/+14 |
| | |||||
* | Revert "r300g: support sRGB colorbuffers" | Marek Olšák | 2011-02-10 | 1 | -20/+0 |
| | | | | | | | | This partially reverts commit 91eba2567eab9409d94efc3c1f07a4a3731d0047. Conflicts: src/gallium/drivers/r300/r300_blit.c | ||||
* | svga: Don't advertise pixel shader addr register support. | José Fonseca | 2011-02-09 | 1 | -3/+8 |
| | | | | It's not fully supported. | ||||
* | nvc0: serialize on PIPE_FLUSH_RENDER_CACHE as well | Christoph Bumiller | 2011-02-09 | 1 | -0/+4 |
| | | | | Effects were easily visible in piglit/fbo-generatemipmap-formats. | ||||
* | nvc0: fix stride of NVC0_3D_RT methods | Christoph Bumiller | 2011-02-09 | 1 | -8/+8 |
| | |||||
* | nvc0: correct storage type for 16 bit surface formats | Christoph Bumiller | 2011-02-09 | 1 | -2/+2 |
| |