summaryrefslogtreecommitdiff
path: root/src/gallium/drivers
AgeCommit message (Collapse)Author
2011-02-15r600g: Fix RGB10_A2 format handlingFabian Bieler
2011-02-15r600g: fix regression in r6/7xx since mipmap reworkDave Airlie
I typod this when copy-pasting.
2011-02-15nvc0: Fix uninitialized variable warning.Vinson Lee
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
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-15r600g: add support for s3tc formats.Dave Airlie
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.
2011-02-15r600g: fix miptree calculationsDave Airlie
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.
2011-02-15r600g: drop tiled flagDave Airlie
we can work this out from the array_mode and it makes more sense to do that. Signed-off-by: Dave Airlie <airlied@redhat.com>
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-14gallium: remove pipe_vertex_buffer::max_indexMarek Olšák
This is redundant to pipe_draw_info::max_index and doesn't really fit in the optimizations I plan.
2011-02-14r300g: Remove redundant initialization.Vinson Lee
Remove redundant initialization from commit 3b01b52bd78e3d2fc857feacebd815a5fae00c94 noticed by tstellar.
2011-02-14r600g: add alignment cases for linear alignedAlex Deucher
Matches the drm and ddx. Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2011-02-14svga: Set the appropriate flags when creating sampler/surface views.José Fonseca
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-14r600g: do not destroy the original index buffer when translating indicesMarek Olšák
Because we only translate a subrange of the buffer.
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-13nv50: fix query assertionMarcin Slusarz
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-11svga: disable a debug_printf() callBrian Paul
2011-02-11svga: comments and debug codeBrian Paul
2011-02-11svga: more comments for need_pipeline fieldBrian Paul
2011-02-11svga: add max DMA size check in svga_winsys_buffer_create()Brian Paul
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.
2011-02-11svga: remove old comment, remove extra whitespaceBrian Paul
2011-02-11svga: Enable the draw pipeline for smooth lines.José Fonseca
Spotted by Brian Paul.
2011-02-11svga: Don't use the draw pipeline for non-AA lines with a fractional width.José Fonseca
Spotted by Jakob Bornecrantz.
2011-02-11llvmpipe: Use u_math's round.José Fonseca
2011-02-11svga: Stippled lines can also be drawn with triangles.José Fonseca
2011-02-11r600g: get correct height alignmentDave Airlie
useful for s3tc
2011-02-11r600g: drop two unused | 0 that are actually in word4 anyways.Dave Airlie
these were NOPs anyways. Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-02-11r600g: handle 16/32 u/s norm formats properlyDave Airlie
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 <airlied@redhat.com>
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