Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-02-16 | r600g: add L4A4 support. | Dave Airlie | |
this fixes piglit fbo-generatemipmap-formats on my rv730. Signed-off-by: Dave Airlie <airlied@redhat.com> | |||
2011-02-16 | r600g: fix s3tc-texsubimage | Dave Airlie | |
we need to translate the destination box as well. fixes piglit's s3tc-texsubimage test. Signed-off-by: Dave Airlie <airlied@redhat.com> | |||
2011-02-15 | st/python: add usage parameter to pipe_buffer_create | Vinson Lee | |
This is a follow-up to commit eafb7f234d11a290b00dcaf5492b9bdad1cf5148. Fixes Linux SCons build. | |||
2011-02-16 | r300g: disable linear filtering for float textures | Marek Olšák | |
2011-02-16 | r600g: add srgb compressed formats to the list. | Dave Airlie | |
2011-02-15 | gallium: add usage parameter to pipe_buffer_create | Marek Olšák | |
And set a reasonable buffer usage flag everywhere instead of just PIPE_USAGE_DEFAULT. | |||
2011-02-15 | r600g: Fix RGB10_A2 format handling | Fabian Bieler | |
2011-02-15 | r600g: fix regression in r6/7xx since mipmap rework | Dave Airlie | |
I typod this when copy-pasting. | |||
2011-02-15 | nvc0: 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-15 | r300g: offload the CS ioctl to another thread | Marek 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-15 | r600g: 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-15 | r600g: fix miptree calculations | Dave 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-15 | r600g: drop tiled flag | Dave 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-15 | r300g: actually implement the is_buffer_busy hook the right way | Marek Olšák | |
Ooops. | |||
2011-02-15 | r300g: handle interaction between UNSYNCHRONIZED and DONTBLOCK flags in bo_map | Marek Olšák | |
The VBO module uses both, but they are somewhat opposite to each other. In this case, we pick UNSYNCHRONIZED and ignore DONTBLOCK. | |||
2011-02-15 | r300g: fix a possible race condition when mapping a buffer | Marek Olšák | |
This is the last one I think. | |||
2011-02-15 | r300g: implement fences using dummy relocations | Marek Olšák | |
So finally we have them. | |||
2011-02-15 | r300g: fix SIGFPE on debug builds | Marek Olšák | |
2011-02-15 | r300g: inline some of the pipe_buffer_map/unmap calls | Marek Olšák | |
2011-02-14 | r300g: do not track whether occlusion queries have been flushed | Marek Olšák | |
The winsys takes care of flushing automatically. | |||
2011-02-14 | r300g: flush CS in bo_map even if we get USAGE_DONTBLOCK | Marek Olšák | |
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. | |||
2011-02-14 | st/python: remove pipe_vertex_buffer::max_index | Vinson Lee | |
This is a follow-up to commit cdca3c58aa2d9549f5188910e2a77b438516714f. | |||
2011-02-14 | graw: remove pipe_vertex_buffer::max_index | Vinson Lee | |
This is a follow-up to commit cdca3c58aa2d9549f5188910e2a77b438516714f. | |||
2011-02-14 | r300g: implement pb_manager::is_buffer_busy | Marek Olšák | |
2011-02-14 | pb_bufmgr_cache: add is_buffer_busy hook and use it instead of non-blocking map | Marek Olšák | |
This is cleaner and implementing the hook is optional. | |||
2011-02-14 | gallium: notify drivers about possible changes in user buffer contents | Marek Olšák | |
Also implement the redefine_user_buffer hook in the drivers. | |||
2011-02-14 | gallium: remove pipe_vertex_buffer::max_index | Marek Olšák | |
This is redundant to pipe_draw_info::max_index and doesn't really fit in the optimizations I plan. | |||
2011-02-14 | gallium: always save and restore vertex buffers using cso_cache | Marek Olšák | |
2011-02-14 | r300g: Remove redundant initialization. | Vinson Lee | |
Remove redundant initialization from commit 3b01b52bd78e3d2fc857feacebd815a5fae00c94 noticed by tstellar. | |||
2011-02-14 | r600g: add alignment cases for linear aligned | Alex Deucher | |
Matches the drm and ddx. Signed-off-by: Alex Deucher <alexdeucher@gmail.com> | |||
2011-02-14 | draw: Don't define the last two mipmap levels in aa lines. | José Fonseca | |
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. | |||
2011-02-14 | svga: Set the appropriate flags when creating sampler/surface views. | José Fonseca | |
2011-02-14 | r300g: put indices in CS if there's just a few of them and are in user memory | Marek Olšák | |
2011-02-14 | r300g: cleanup the draw functions | Marek Olšák | |
2011-02-14 | r300g: do not create a user buffer struct for misaligned ushort indices fallback | Marek Olšák | |
2011-02-14 | r300g: fix fallback for misaligned ushort indices with num vertices >= 65535 | Marek Olšák | |
2011-02-14 | r300g: consolidate emission of common draw regs | Marek Olšák | |
2011-02-14 | r300g: Move declaration before code. | Vinson Lee | |
Fixes SCons build. | |||
2011-02-14 | r600g: do not destroy the original index buffer when translating indices | Marek Olšák | |
Because we only translate a subrange of the buffer. | |||
2011-02-14 | r300g: emit 3D_LOAD_VBPNTR only when necessary | Marek Olšák | |
I thought I couldn't skip emitting this packet in some cases. Well it looks like I can. | |||
2011-02-14 | r300g: fix reference counting when translating indices | Marek Olšák | |
2011-02-14 | u_index_modify: map buffers with PIPE_TRANSFER_UNSYNCHRONIZED | Marek Olšák | |
2011-02-14 | r300g: remove the relocation after AARESOLVE_PITCH | Marek Olšák | |
2011-02-13 | nv50: fix query assertion | Marcin Slusarz | |
2011-02-13 | r300g: correctly determine if a texture is blittable in texture_get_transfer | Marek Olšák | |
2011-02-13 | r300g: fixup the handle_compare function | Marek Olšák | |
Accidentally negated in 685c3262b945a7f0e9f1f3a9409a12fdda08c828. | |||
2011-02-12 | r300g: when printing shader linker errors to stderr, report it's not a bug | Marek Olšák | |
2011-02-12 | r300g: add debug options nozmask and nohiz which disable some hyper-z features | Marek Olšák | |
2011-02-12 | r300g: typecast void* to unsigned correctly | Marek Olšák | |
2011-02-12 | r300g: improve function radeon_bo_is_referenced_by_cs | Marek Olšák | |
This should prevent calling into radeon_get_reloc when there's only one context. |