aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/radeon
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'mesa_7_6_branch' into mesa_7_7_branchIan Romanick2009-12-074-24/+29
|\ | | | | | | | | | | | | | | | | | | | | | | 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.
| * radeon: fix polygon stippleAlex Deucher2009-12-044-24/+29
| | | | | | | | | | | | fixes fdo bug 25354 Signed-off-by: Alex Deucher <[email protected]>
* | radeon: fix cases when only first image where put directly into miptree.Maciej Cencora2009-12-071-3/+3
| | | | | | | | Make sure that minimal width, height and depth of texture image is 1.
* | radeon: fix image migration for small compressed texturesMaciej Cencora2009-12-071-14/+9
| | | | | | | | memcpy would give incorrect results if src rowstride != dst rowstride
* | radeon: workaround an FBO issueMaciej Cencora2009-12-032-0/+9
| | | | | | | | Fixes #21501
* | radeon: properly check if image should be placed in the miptreeMaciej Cencora2009-12-031-1/+4
| | | | | | | | Fixes #25355
* | Revert "radeon/r300: no need to flush the cmdbuf when changing scissors ↵Dave Airlie2009-12-021-3/+1
| | | | | | | | | | | | | | | | | | 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
* | Merge branch 'mesa_7_6_branch' into mesa_7_7_branchIan Romanick2009-11-301-7/+2
|\| | | | | | | | | | | | | Conflicts: progs/util/shaderutil.c src/mesa/drivers/dri/r600/r600_context.c src/mesa/main/version.h
| * radeon: fix context destroy needing lock for flushing.Dave Airlie2009-11-251-5/+4
| | | | | | | | | | | | | | | | | | 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 <[email protected]>
| * Revert "radeon: Fix legacy bo not to reuse dma buffers before refcount is 1."Alex Deucher2009-11-181-7/+2
| | | | | | | | | | | | This reverts commit 284a7af274bc148f112bd0ebb40583923ee26b49. This breaks kde desktop effects. See fdo bug 24131
* | radeon: update miptree code a littleMaciej Cencora2009-11-293-55/+61
| | | | | | | | | | Simplify gl image level <-> miptree level mapping (are equal now). Don't allocate miptree for images that won't fit in it (fixes #25230).
* | radeon: don't check the same miptree many times when looking for matching ↵Maciej Cencora2009-11-291-3/+3
| | | | | | | | miptrees
* | radeon: add some debugging infoMaciej Cencora2009-11-292-0/+25
| |
* | radeon: need to flush cs when moving images between mipmap treesMaciej Cencora2009-11-281-0/+4
| |
* | radeon: fix context destroy needing lock for flushing.Dave Airlie2009-11-251-5/+4
| | | | | | | | | | | | | | | | | | 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 <[email protected]>
* | radeon: fix errors in miptree related functionMaciej Cencora2009-11-231-3/+8
| | | | | | | | | | | | - typo - memory leak - off by one (spotted by airlied)
* | radeon: fix compressed mipmapped texturesMaciej Cencora2009-11-212-22/+29
| | | | | | | | Tested on r300 only, other cards may require adjusting texture_compressed_row_align.
* | radeon: fix glCompressedTexSubImageMaciej Cencora2009-11-211-10/+12
| |
* | r100: fix texture_from_pixmap and compiz.Dave Airlie2009-11-201-7/+10
| | | | | | | | | | | | | | | | 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 <[email protected]>
* | Merge branch 'radeon-texrewrite-clean' into mesa_7_7_branchMaciej Cencora2009-11-1813-518/+569
|\ \
| * | radeon: align for mipmap tree changesMaciej Cencora2009-11-173-30/+14
| | |
| * | radeon: return false on texture validation if texture isn't completeMaciej Cencora2009-11-141-3/+3
| | |
| * | radeon: rework mipmap treeMaciej Cencora2009-11-145-352/+396
| | |
| * | radeon: more texture code refactoringMaciej Cencora2009-11-141-116/+92
| | |
| * | radeon: minor refactoring of texture codeMaciej Cencora2009-11-141-11/+46
| | | | | | | | | | | | Also properly set dstImageOffsets for TexSubImage case.
| * | radeon: rework mipmap tree reference countingMaciej Cencora2009-11-143-20/+22
| | |
| * | radeon: use radeon_bo_is_referenced_by_cs for query objectsMaciej Cencora2009-11-144-23/+3
| | |
| * | radeon/r300: don't flush cmdbuf if not necessaryMaciej Cencora2009-11-141-2/+14
| | |
| * | radeon/r300: no need to flush the cmdbuf when changing scissors state in KMM ↵Maciej Cencora2009-11-141-1/+3
| | | | | | | | | | | | mode
| * | radeon: fix glBufferSubDataMaciej Cencora2009-11-141-0/+5
| | |
| * | radeon: add radeon_bo_is_referenced_by_cs functionMaciej Cencora2009-11-141-0/+13
| | |
| * | radeon: remove unnecessary call to radeonEmitStateMaciej Cencora2009-11-141-2/+0
| | | | | | | | | | | | fixes bo space accounting errors
* | | r300: fix reads and writes for MESA_FORMAT_S8Z24 bufferMaciej Cencora2009-11-171-2/+3
| | | | | | | | | | | | Regression was introduced by texformat-rework branch merge.
* | | r600: More span breakage fixes.Michel Dänzer2009-11-171-0/+12
| | | | | | | | | | | | | | | At least now the compiler doesn't complain about implicitly declared functions anymore...
* | | r600: Attempt to fix span breakage introduced by big endian fixes.Michel Dänzer2009-11-171-0/+8
| | | | | | | | | | | | | | | | | | Only compile tested; I happened to notice people on IRC reporting .../r600_dri.so: undefined symbol: radeon_ptr_2byte_8x2
* | | radeon: Depth/stencil span code fixes for big endian.Michel Dänzer2009-11-171-24/+24
| | | | | | | | | | | | Fixes e.g. text in progs/demos/arbocclude.
* | | radeon: Fix occlusion queries on big endian.Michel Dänzer2009-11-171-7/+9
| | |
* | | radeon: Fix software fallbacks with KMS on big endian.Michel Dänzer2009-11-171-0/+63
| | |
* | | radeon: FBO fixes for big endian.Michel Dänzer2009-11-172-11/+29
| | |
* | | radeon: rn50's have no 3D engine so don't try and init 3D driver.Dave Airlie2009-11-171-2/+4
|/ /
* | radeon: add missing includeDave Airlie2009-10-311-0/+1
| |
* | radeon: use _mesa_get_current_tex_unitDave Airlie2009-10-311-1/+1
| |
* | radeon: fix incorrect Z format in radeon_alloc_renderbuffer_storage()Brian Paul2009-10-291-2/+2
| | | | | | | | And update error message.
* | Merge branch 'texformat-rework'Brian Paul2009-10-2811-275/+209
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | radeon: add case for MESA_FORMAT_X8_Z24 in radeon_create_renderbuffer()Brian Paul2009-10-271-1/+6
| | |
| * | mesa: choose texture format in core mesa, not driversBrian Paul2009-10-253-6/+4
| | | | | | | | | | | | | | | | | | 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.
| * | mesa: remove calls to _mesa_compressed_row_stride()Brian Paul2009-10-251-4/+4
| | |
| * | mesa: remove _mesa_compressed_texture_size()Brian Paul2009-10-241-1/+1
| | | | | | | | | | | | Use _mesa_format_image_size() instead.
| * | mesa: change compressed texture size callsBrian Paul2009-10-241-6/+4
| | | | | | | | | | | | | | | Replace calls to ctx->Driver.CompressedTextureSize with calls to _mesa_format_image_size. The former always called the later.
| * | radeon: simplify radeon_create_renderbuffer()Brian Paul2009-10-223-29/+27
| | |