summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300
Commit message (Collapse)AuthorAgeFilesLines
* r300g: disable hyper-z on rs6xx+Marek Olšák2011-02-281-6/+0
| | | | It doesn't work.
* r300g: force swizzles for RGTCDave Airlie2011-02-281-0/+5
| | | | still can't get signed to work
* r300g: explicit sign bits on RGTC texturesDave Airlie2011-02-251-2/+4
|
* r300g: fix missing initializers warningBrian Paul2011-02-221-2/+4
|
* r300g: fix a possible race when counting contextsMarek Olšák2011-02-193-2/+8
| | | | Atomics aren't sufficient here.
* r300g: remove tracking whether vertex buffers need to be validatedMarek Olšák2011-02-187-88/+27
| | | | | This was getting hard to maintain and didn't really bring any real benefits. Instead, validate buffers when the vertex array state is dirty.
* r300g: fix a race between CS and SET_TILING ioctlsMarek Olšák2011-02-163-7/+4
|
* r300g: fix blitting NPOT compressed texturesMarek Olšák2011-02-162-11/+11
|
* r300g: fix texture border color for float formatsMarek Olšák2011-02-161-1/+14
|
* r300g: disable linear filtering for float texturesMarek Olšák2011-02-161-0/+45
|
* gallium: add usage parameter to pipe_buffer_createMarek Olšák2011-02-151-0/+1
| | | | | And set a reasonable buffer usage flag everywhere instead of just PIPE_USAGE_DEFAULT.
* r300g: offload the CS ioctl to another threadMarek Olšák2011-02-152-2/+13
| | | | | | | | | | 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
* r300g: implement fences using dummy relocationsMarek Olšák2011-02-154-65/+32
| | | | So finally we have them.
* r300g: fix SIGFPE on debug buildsMarek Olšák2011-02-151-2/+2
|
* r300g: inline some of the pipe_buffer_map/unmap callsMarek Olšák2011-02-151-18/+14
|
* r300g: do not track whether occlusion queries have been flushedMarek Olšák2011-02-144-18/+5
| | | | The winsys takes care of flushing automatically.
* gallium: notify drivers about possible changes in user buffer contentsMarek Olšák2011-02-141-0/+2
| | | | Also implement the redefine_user_buffer hook in the drivers.
* r300g: Remove redundant initialization.Vinson Lee2011-02-141-1/+1
| | | | | Remove redundant initialization from commit 3b01b52bd78e3d2fc857feacebd815a5fae00c94 noticed by tstellar.
* r300g: put indices in CS if there's just a few of them and are in user memoryMarek Olšák2011-02-141-3/+99
|
* r300g: cleanup the draw functionsMarek Olšák2011-02-142-76/+53
|
* r300g: do not create a user buffer struct for misaligned ushort indices fallbackMarek Olšák2011-02-143-12/+8
|
* r300g: fix fallback for misaligned ushort indices with num vertices >= 65535Marek Olšák2011-02-141-1/+5
|
* r300g: consolidate emission of common draw regsMarek Olšák2011-02-141-21/+23
|
* r300g: Move declaration before code.Vinson Lee2011-02-141-3/+4
| | | | Fixes SCons build.
* r300g: emit 3D_LOAD_VBPNTR only when necessaryMarek Olšák2011-02-144-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 indicesMarek Olšák2011-02-141-0/+3
|
* r300g: remove the relocation after AARESOLVE_PITCHMarek Olšák2011-02-142-3/+1
|
* r300g: correctly determine if a texture is blittable in texture_get_transferMarek Olšák2011-02-131-4/+5
|
* r300g: when printing shader linker errors to stderr, report it's not a bugMarek Olšák2011-02-121-3/+6
|
* r300g: add debug options nozmask and nohiz which disable some hyper-z featuresMarek Olšák2011-02-123-0/+9
|
* r300g: prevent NULL pointer dereference in r300_buffer_createMarek Olšák2011-02-111-3/+3
| | | | | Should fix: https://bugs.freedesktop.org/show_bug.cgi?id=33185
* r300g: fix warningMarek Olšák2011-02-111-1/+1
|
* r300g: import the last bits of libdrm and cleanup the whole thingMarek Olšák2011-02-1111-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 formatsMarek Olšák2011-02-101-0/+29
|
* r300g: add a way to change texture properties arbitrarilyMarek Olšák2011-02-109-76/+104
| | | | So that we can implement resource_copy on arbitrary data.
* r300g: consolidate buffers and textures to r300_resourceMarek Olšák2011-02-1018-381/+328
| | | | Transfers and create/destroy are still handled separately.
* r300g: simplify WRITE_RELOC API and cleanupMarek Olšák2011-02-1010-136/+126
|
* r300g: use format from pipe_surface instead of pipe_resourceMarek Olšák2011-02-102-29/+14
|
* Revert "r300g: support sRGB colorbuffers"Marek Olšák2011-02-101-20/+0
| | | | | | | | This partially reverts commit 91eba2567eab9409d94efc3c1f07a4a3731d0047. Conflicts: src/gallium/drivers/r300/r300_blit.c
* r300g: use the same upload buffer for vertices and indicesMarek Olšák2011-02-084-18/+7
|
* u_vbuf_mgr: add a way to specify the BIND flag for the upload bufferMarek Olšák2011-02-081-0/+1
|
* r300g: use the new vertex buffer managerMarek Olšák2011-02-079-560/+144
|
* r300g: do not flush the uploaderMarek Olšák2011-02-061-3/+0
| | | | | We don't have to unmap and recreate the upload buffer when a flush occurs. This should also prevent buffer allocations from failing.
* r300g: RS400 doesn't have ZMASKMarek Olšák2011-02-061-1/+0
|
* r300g: Make the buffer and texture vbtls static const.Henri Verbeet2011-02-032-2/+2
|
* r300g: upload translated indices via the uploaderMarek Olšák2011-01-301-20/+45
|
* r300g: rework vertex format fallbackMarek Olšák2011-01-307-78/+86
| | | | | | 1) Only translate the [min_index, max_index] range. 2) Upload translated vertices via the uploader. 3) Rename valid_vertex_buffer[] to real_vertex_buffer[]
* r300g: fix resource_copy_region for DXT SRGB formatsMarek Olšák2011-01-281-4/+4
|
* r300g: handle PIPE_CAP_ARRAY_TEXTURESMarek Olšák2011-01-281-0/+1
|
* r300g: 8x8-compressed zbuffer can only be point-sampledMarek Olšák2011-01-281-1/+2
|