summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300
AgeCommit message (Collapse)Author
2011-02-19r300g: fix a possible race when counting contextsMarek Olšák
Atomics aren't sufficient here.
2011-02-18r300g: remove tracking whether vertex buffers need to be validatedMarek Olšák
This was getting hard to maintain and didn't really bring any real benefits. Instead, validate buffers when the vertex array state is dirty.
2011-02-16r300g: fix a race between CS and SET_TILING ioctlsMarek Olšák
2011-02-16r300g: fix blitting NPOT compressed texturesMarek Olšák
2011-02-16r300g: fix texture border color for float formatsMarek Olšák
2011-02-16r300g: disable linear filtering for float texturesMarek Olšák
2011-02-15gallium: add usage parameter to pipe_buffer_createMarek Olšák
And set a reasonable buffer usage flag everywhere instead of just PIPE_USAGE_DEFAULT.
2011-02-15r300g: offload the CS ioctl to another threadMarek Olšák
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
2011-02-15r300g: implement fences using dummy relocationsMarek Olšák
So finally we have them.
2011-02-15r300g: fix SIGFPE on debug buildsMarek Olšák
2011-02-15r300g: inline some of the pipe_buffer_map/unmap callsMarek Olšák
2011-02-14r300g: do not track whether occlusion queries have been flushedMarek Olšák
The winsys takes care of flushing automatically.
2011-02-14gallium: notify drivers about possible changes in user buffer contentsMarek Olšák
Also implement the redefine_user_buffer hook in the drivers.
2011-02-14r300g: Remove redundant initialization.Vinson Lee
Remove redundant initialization from commit 3b01b52bd78e3d2fc857feacebd815a5fae00c94 noticed by tstellar.
2011-02-14r300g: put indices in CS if there's just a few of them and are in user memoryMarek Olšák
2011-02-14r300g: cleanup the draw functionsMarek Olšák
2011-02-14r300g: do not create a user buffer struct for misaligned ushort indices fallbackMarek Olšák
2011-02-14r300g: fix fallback for misaligned ushort indices with num vertices >= 65535Marek Olšák
2011-02-14r300g: consolidate emission of common draw regsMarek Olšák
2011-02-14r300g: Move declaration before code.Vinson Lee
Fixes SCons build.
2011-02-14r300g: emit 3D_LOAD_VBPNTR only when necessaryMarek Olšák
I thought I couldn't skip emitting this packet in some cases. Well it looks like I can.
2011-02-14r300g: fix reference counting when translating indicesMarek Olšák
2011-02-14r300g: remove the relocation after AARESOLVE_PITCHMarek Olšák
2011-02-13r300g: correctly determine if a texture is blittable in texture_get_transferMarek Olšák
2011-02-12r300g: when printing shader linker errors to stderr, report it's not a bugMarek Olšák
2011-02-12r300g: add debug options nozmask and nohiz which disable some hyper-z featuresMarek Olšák
2011-02-11r300g: prevent NULL pointer dereference in r300_buffer_createMarek Olšák
Should fix: https://bugs.freedesktop.org/show_bug.cgi?id=33185
2011-02-11r300g: fix warningMarek Olšák
2011-02-11r300g: import the last bits of libdrm and cleanup the whole thingMarek Olšák
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.
2011-02-10r300g: implement accelerated copy_region for compressed formatsMarek Olšák
2011-02-10r300g: add a way to change texture properties arbitrarilyMarek Olšák
So that we can implement resource_copy on arbitrary data.
2011-02-10r300g: consolidate buffers and textures to r300_resourceMarek Olšák
Transfers and create/destroy are still handled separately.
2011-02-10r300g: simplify WRITE_RELOC API and cleanupMarek Olšák
2011-02-10r300g: use format from pipe_surface instead of pipe_resourceMarek Olšák
2011-02-10Revert "r300g: support sRGB colorbuffers"Marek Olšák
This partially reverts commit 91eba2567eab9409d94efc3c1f07a4a3731d0047. Conflicts: src/gallium/drivers/r300/r300_blit.c
2011-02-08r300g: use the same upload buffer for vertices and indicesMarek Olšák
2011-02-08u_vbuf_mgr: add a way to specify the BIND flag for the upload bufferMarek Olšák
2011-02-07r300g: use the new vertex buffer managerMarek Olšák
2011-02-06r300g: do not flush the uploaderMarek Olšák
We don't have to unmap and recreate the upload buffer when a flush occurs. This should also prevent buffer allocations from failing.
2011-02-06r300g: RS400 doesn't have ZMASKMarek Olšák
2011-02-03r300g: Make the buffer and texture vbtls static const.Henri Verbeet
2011-01-30r300g: upload translated indices via the uploaderMarek Olšák
2011-01-30r300g: rework vertex format fallbackMarek Olšák
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[]
2011-01-28r300g: fix resource_copy_region for DXT SRGB formatsMarek Olšák
2011-01-28r300g: handle PIPE_CAP_ARRAY_TEXTURESMarek Olšák
2011-01-28r300g: 8x8-compressed zbuffer can only be point-sampledMarek Olšák
2011-01-28r300g: fix and re-enable 8x8 zbuffer compression modeMarek Olšák
Also cleanup the whole thing.
2011-01-27r300g: print driver info if RADEON_DEBUG=infoMarek Olšák
2011-01-27r300g: add winsys flag CAN_AACOMPRESSMarek Olšák
2011-01-27r300g: rename flag squaretiling -> drm_2_1_0Marek Olšák