summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/radeon
AgeCommit message (Collapse)Author
2009-12-12radeon: fix #25463Maciej Cencora
This is just a workaroung until we properly fix texture mapping in radeonSpanRenderStart
2009-12-11r300: fix depth texturesMaciej Cencora
2009-12-07Merge branch 'mesa_7_6_branch' into mesa_7_7_branchIan Romanick
Conflicts: progs/demos/projtex.c progs/xdemos/glxinfo.c src/mesa/main/version.h To fix the confilicts in projtex.c and glxinfo.c I just took the code from mesa_7_6_branch. The conflicts seem to have occured from cherry-picks from mesa_7_7_branch to mesa_7_6_branch followed by commmits just to mesa_7_6_branch.
2009-12-07radeon: fix cases when only first image where put directly into miptree.Maciej Cencora
Make sure that minimal width, height and depth of texture image is 1.
2009-12-07radeon: fix image migration for small compressed texturesMaciej Cencora
memcpy would give incorrect results if src rowstride != dst rowstride
2009-12-04radeon: fix polygon stippleAlex Deucher
fixes fdo bug 25354 Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2009-12-03radeon: workaround an FBO issueMaciej Cencora
Fixes #21501
2009-12-03radeon: properly check if image should be placed in the miptreeMaciej Cencora
Fixes #25355
2009-12-02Revert "radeon/r300: no need to flush the cmdbuf when changing scissors ↵Dave Airlie
state in KMM mode" This reverts commit 286bf89e5a1fc931dbf523ded861b809859485e2. This doesn't appear to be correct, regression so revert it. http://bugs.freedesktop.org/show_bug.cgi?id=25193
2009-11-30Merge branch 'mesa_7_6_branch' into mesa_7_7_branchIan Romanick
Conflicts: progs/util/shaderutil.c src/mesa/drivers/dri/r600/r600_context.c src/mesa/main/version.h
2009-11-29radeon: update miptree code a littleMaciej 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-29radeon: don't check the same miptree many times when looking for matching ↵Maciej Cencora
miptrees
2009-11-29radeon: add some debugging infoMaciej Cencora
2009-11-28radeon: need to flush cs when moving images between mipmap treesMaciej Cencora
2009-11-25radeon: 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-25radeon: 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-23radeon: fix errors in miptree related functionMaciej Cencora
- typo - memory leak - off by one (spotted by airlied)
2009-11-21radeon: fix compressed mipmapped texturesMaciej Cencora
Tested on r300 only, other cards may require adjusting texture_compressed_row_align.
2009-11-21radeon: fix glCompressedTexSubImageMaciej Cencora
2009-11-20r100: 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-18Revert "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-18Merge branch 'radeon-texrewrite-clean' into mesa_7_7_branchMaciej Cencora
2009-11-17radeon: align for mipmap tree changesMaciej Cencora
2009-11-17r300: fix reads and writes for MESA_FORMAT_S8Z24 bufferMaciej Cencora
Regression was introduced by texformat-rework branch merge.
2009-11-17r600: More span breakage fixes.Michel Dänzer
At least now the compiler doesn't complain about implicitly declared functions anymore...
2009-11-17r600: 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-17radeon: Depth/stencil span code fixes for big endian.Michel Dänzer
Fixes e.g. text in progs/demos/arbocclude.
2009-11-17radeon: Fix occlusion queries on big endian.Michel Dänzer
2009-11-17radeon: Fix software fallbacks with KMS on big endian.Michel Dänzer
2009-11-17radeon: FBO fixes for big endian.Michel Dänzer
2009-11-17radeon: rn50's have no 3D engine so don't try and init 3D driver.Dave Airlie
2009-11-14radeon: return false on texture validation if texture isn't completeMaciej Cencora
2009-11-14radeon: rework mipmap treeMaciej Cencora
2009-11-14radeon: more texture code refactoringMaciej Cencora
2009-11-14radeon: minor refactoring of texture codeMaciej Cencora
Also properly set dstImageOffsets for TexSubImage case.
2009-11-14radeon: rework mipmap tree reference countingMaciej Cencora
2009-11-14radeon: use radeon_bo_is_referenced_by_cs for query objectsMaciej Cencora
2009-11-14radeon/r300: don't flush cmdbuf if not necessaryMaciej Cencora
2009-11-14radeon/r300: no need to flush the cmdbuf when changing scissors state in KMM ↵Maciej Cencora
mode
2009-11-14radeon: fix glBufferSubDataMaciej Cencora
2009-11-14radeon: add radeon_bo_is_referenced_by_cs functionMaciej Cencora
2009-11-14radeon: remove unnecessary call to radeonEmitStateMaciej Cencora
fixes bo space accounting errors
2009-10-31radeon: add missing includeDave Airlie
2009-10-31radeon: use _mesa_get_current_tex_unitDave Airlie
2009-10-29radeon: fix incorrect Z format in radeon_alloc_renderbuffer_storage()Brian Paul
And update error message.
2009-10-28Merge 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-28r600: add occlusion query supportAlex 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-27radeon: add case for MESA_FORMAT_X8_Z24 in radeon_create_renderbuffer()Brian Paul
2009-10-25mesa: choose texture format in core mesa, not driversBrian 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-25mesa: remove calls to _mesa_compressed_row_stride()Brian Paul