Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-11-29 | radeon: update miptree code a little | Maciej Cencora | |
Simplify gl image level <-> miptree level mapping (are equal now). Don't allocate miptree for images that won't fit in it (fixes #25230). | |||
2009-11-29 | radeon: don't check the same miptree many times when looking for matching ↵ | Maciej Cencora | |
miptrees | |||
2009-11-29 | radeon: add some debugging info | Maciej Cencora | |
2009-11-28 | radeon: need to flush cs when moving images between mipmap trees | Maciej Cencora | |
2009-11-25 | radeon: fix context destroy needing lock for flushing. | Dave Airlie | |
Thanks to Intel code which I've just stolen pretty much as usual. This fixes fdo bug 22851 which is a dri1 regression since rewrite. Tested by: fpiobaf (Fabio) on #radeon Signed-off-by: Dave Airlie <airlied@redhat.com> | |||
2009-11-25 | r600: add ARB_texture_non_power_of_two support. | Dave Airlie | |
This makes the miptree rounds up to the near POT for each level for all radeons, however since mipmaps aren't support with NPOT on previous radeons this calculation shouldn't cause any problems. If it does we can just make it r600 only. I tested a few mipmap demos on r500 and they all seem to work. Signed-off-by: Dave Airlie <airlied@redhat.com> | |||
2009-11-25 | radeon: fix context destroy needing lock for flushing. | Dave Airlie | |
Thanks to Intel code which I've just stolen pretty much as usual. This fixes fdo bug 22851 which is a dri1 regression since rewrite. Tested by: fpiobaf (Fabio) on #radeon Signed-off-by: Dave Airlie <airlied@redhat.com> | |||
2009-11-24 | r300: fix swtcl bo leak problem. | Dave Airlie | |
We can get a lot of swtcl bo allocations - need to probably abstract this a bit further. Signed-off-by: Dave Airlie <airlied@redhat.com> | |||
2009-11-24 | radeon/r200/r300/r600: make bo mapping be explicit | Dave Airlie | |
This moves the bo mapping outside the DMA layer and makes it explicit, this should in theory make it simpler to split the clean up the dma/cmdbuf linkage that I created before that is broken. Tested on: r600, rv380 (tcl/no-tcl), rv200 (tcl/no-tcl) Signed-off-by: Dave Airlie <airlied@redhat.com> | |||
2009-11-23 | Merge commit 'origin/mesa_7_7_branch' | Maciej Cencora | |
2009-11-23 | radeon: fix errors in miptree related function | Maciej Cencora | |
- typo - memory leak - off by one (spotted by airlied) | |||
2009-11-21 | radeon: fix compressed mipmapped textures | Maciej Cencora | |
Tested on r300 only, other cards may require adjusting texture_compressed_row_align. | |||
2009-11-21 | radeon: fix glCompressedTexSubImage | Maciej Cencora | |
2009-11-20 | Merge remote branch 'origin/mesa_7_7_branch' | Dave Airlie | |
2009-11-20 | r100: fix texture_from_pixmap and compiz. | Dave Airlie | |
r100 state emission has separate rect and non-rect states, if we are doing TFP for a TEXTURE_2D we shouldn't use the rect states as they won't get emitted properly. Signed-off-by: Dave Airlie <airlied@redhat.com> | |||
2009-11-19 | tnl: Replace deprecated FogCoordPtr with AttribPtr[_TNL_ATTRIB_FOG] | Eric Anholt | |
2009-11-19 | tnl: Replace deprecated ColorPtr[] with AttribPtr or new BackfaceColorPtr. | Eric Anholt | |
2009-11-19 | tnl: Replace deprecated ObjPtr with AttribPtr[_TNL_ATTRIB_POS] | Eric Anholt | |
2009-11-19 | tnl: Replace deprecated TexCoordPtr with AttribPtr[_TNL_ATTRIB_TEX*] | Eric Anholt | |
2009-11-19 | tnl: Replace NormalPtr with AttribPtr[_TNL_ATTRIB_NORMAL] | Eric Anholt | |
2009-11-18 | Revert "radeon: Fix legacy bo not to reuse dma buffers before refcount is 1." | Alex Deucher | |
This reverts commit 284a7af274bc148f112bd0ebb40583923ee26b49. This breaks kde desktop effects. See fdo bug 24131 | |||
2009-11-18 | Merge branch 'radeon-texrewrite-clean' into mesa_7_7_branch | Maciej Cencora | |
2009-11-17 | radeon: align for mipmap tree changes | Maciej Cencora | |
2009-11-17 | r300: fix reads and writes for MESA_FORMAT_S8Z24 buffer | Maciej Cencora | |
Regression was introduced by texformat-rework branch merge. | |||
2009-11-17 | r600: More span breakage fixes. | Michel Dänzer | |
At least now the compiler doesn't complain about implicitly declared functions anymore... | |||
2009-11-17 | r600: Attempt to fix span breakage introduced by big endian fixes. | Michel Dänzer | |
Only compile tested; I happened to notice people on IRC reporting .../r600_dri.so: undefined symbol: radeon_ptr_2byte_8x2 | |||
2009-11-17 | radeon: Depth/stencil span code fixes for big endian. | Michel Dänzer | |
Fixes e.g. text in progs/demos/arbocclude. | |||
2009-11-17 | radeon: Fix occlusion queries on big endian. | Michel Dänzer | |
2009-11-17 | radeon: Fix software fallbacks with KMS on big endian. | Michel Dänzer | |
2009-11-17 | radeon: FBO fixes for big endian. | Michel Dänzer | |
2009-11-17 | radeon: rn50's have no 3D engine so don't try and init 3D driver. | Dave Airlie | |
2009-11-14 | radeon: return false on texture validation if texture isn't complete | Maciej Cencora | |
2009-11-14 | radeon: rework mipmap tree | Maciej Cencora | |
2009-11-14 | radeon: more texture code refactoring | Maciej Cencora | |
2009-11-14 | radeon: minor refactoring of texture code | Maciej Cencora | |
Also properly set dstImageOffsets for TexSubImage case. | |||
2009-11-14 | radeon: rework mipmap tree reference counting | Maciej Cencora | |
2009-11-14 | radeon: use radeon_bo_is_referenced_by_cs for query objects | Maciej Cencora | |
2009-11-14 | radeon/r300: don't flush cmdbuf if not necessary | Maciej Cencora | |
2009-11-14 | radeon/r300: no need to flush the cmdbuf when changing scissors state in KMM ↵ | Maciej Cencora | |
mode | |||
2009-11-14 | radeon: fix glBufferSubData | Maciej Cencora | |
2009-11-14 | radeon: add radeon_bo_is_referenced_by_cs function | Maciej Cencora | |
2009-11-14 | radeon: remove unnecessary call to radeonEmitState | Maciej Cencora | |
fixes bo space accounting errors | |||
2009-10-31 | radeon: add missing include | Dave Airlie | |
2009-10-31 | radeon: use _mesa_get_current_tex_unit | Dave Airlie | |
2009-10-29 | radeon: fix incorrect Z format in radeon_alloc_renderbuffer_storage() | Brian Paul | |
And update error message. | |||
2009-10-28 | Merge branch 'texformat-rework' | Brian Paul | |
Conflicts: src/mesa/drivers/dri/radeon/radeon_fbo.c src/mesa/drivers/dri/s3v/s3v_tex.c src/mesa/drivers/dri/s3v/s3v_xmesa.c src/mesa/drivers/dri/trident/trident_context.c src/mesa/main/debug.c src/mesa/main/mipmap.c src/mesa/main/texformat.c src/mesa/main/texgetimage.c | |||
2009-10-28 | r600: add occlusion query support | Alex Deucher | |
Based on initial patch from Stephan Schmid <stephan_2303@gmx.de>. Basic idea is to dump the zpass count at the start and end of the query and subtract to get the total number of visible fragments. HW writes alternating qwords for up to 4 DBs. On the first pass, we start at buffer address + 0; on the second pass, we start at buffer address + 8 (bytes). The resulting buffer at the end of the query looks like: qw[0]: db0 start qw[1]: db0 end ... qw[6]: db3 start qw[7]: db3 end The MSB of each qword is the valid bit and the lower 63 bits are the zpass count for that DB. OQ on RV740 is disabled at the moment as it only seems to report results for half of its DBs. This needs further investigation. Signed-off-by: Alex Deucher <alexdeucher@gmail.com> | |||
2009-10-27 | radeon: add case for MESA_FORMAT_X8_Z24 in radeon_create_renderbuffer() | Brian Paul | |
2009-10-25 | mesa: choose texture format in core mesa, not drivers | Brian Paul | |
Call the ctx->Driver.ChooseTextureFormat() function from core Mesa's _mesa_[Copy]TexImage functions instead of in the driver functions. One less thing for drivers to do. | |||
2009-10-25 | mesa: remove calls to _mesa_compressed_row_stride() | Brian Paul | |