summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Merge commit 'mesa_7_6_branch' into mesa_7_7_branchJakob Bornecrantz2009-12-025-18/+11
|\ | | | | | | | | Conflicts: src/mesa/main/version.h
| * r200: fix polygon stippleAlex Deucher2009-12-034-17/+11
| | | | | | | | | | | | fixes fdo bug 25354 Signed-off-by: Alex Deucher <[email protected]>
| * intel: Remove GL_NV_point_sprite from extension listIan Romanick2009-12-011-1/+0
| | | | | | | | | | | | | | i830 does not (and cannot!) support the any of the non-default GL_POINT_SPRITE_R_MODE_NV settings. i915 and i965 could, but currently do not. In both cases it would require mucking about with the fragment shader.
* | intel: Make RGB renderbuffers use XRGB8888 like we do for RGB system buffers.Eric Anholt2009-12-021-5/+1
| |
* | intel: Fix more front-buffer rendering after Brian's less flushing patch.Eric Anholt2009-12-022-0/+4
| | | | | | | | | | | | | | bcbfda71b03303d3f008a6f3cf8cb7d9667bf8d2 left out many blit paths. This fixes up more of them to get Blender to work again. Bug #25030.
* | Revert "radeon/r300: no need to flush the cmdbuf when changing scissors ↵Dave Airlie2009-12-022-5/+2
| | | | | | | | | | | | | | | | | | 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-305-51/+65
|\| | | | | | | | | | | | | Conflicts: progs/util/shaderutil.c src/mesa/drivers/dri/r600/r600_context.c src/mesa/main/version.h
| * i915: Actually put i915PointParameterfv in the driver function table. Duh.Ian Romanick2009-11-301-0/+1
| |
| * i915: Fallback bit define missed on previous commitIan Romanick2009-11-291-0/+1
| |
| * i915: Round point sizes instead of truncate.Ian Romanick2009-11-291-1/+1
| |
| * i915: Enable point sprite coordinate generationIan Romanick2009-11-291-0/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | Support still isn't completely correct, but it's better. piglit point-sprite now passes. However, glean's pointSprite test fails. In that test the texture on the sprite is somehow inverted as though GL_POINT_SPRITE_COORD_ORIGIN were set to GL_LOWER_LEFT. i915 hardware shouldn't be able to do that! I believe there are also problems when not all texture units have GL_COORD_REPLACE set. The hardware enable seems to be all or nothing. Fixes bug #25313.
| * 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]>
| * i915: Initialize Length and Offset fields when mapping a buffer objectIan Romanick2009-11-231-0/+2
| | | | | | | | | | | | This fixes an assertion failure in _mesa_MapBufferARB. Fixes bugzilla #25253.
| * Fix the DRI swrast driver for big endian platforms.Michel Dänzer2009-11-231-43/+29
| | | | | | | | | | | | Too bad I didn't realize earlier how easy this could be... Fixes http://bugs.freedesktop.org/show_bug.cgi?id=22767 .
| * r600: disable compressed texture supportmesa_7_6_1_rc1Alex Deucher2009-11-181-0/+4
| | | | | | | | It's not implemented yet. fixes fdo bug 24047
| * 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
| |
* | dri: Fix potential null pointer dereference in driBindContext.Vinson Lee2009-11-281-1/+2
| |
* | 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]>
* | dri: Fix potential null pointer deference in dri_put_drawable.Vinson Lee2009-11-241-4/+4
| |
* | radeon: fix errors in miptree related functionMaciej Cencora2009-11-231-3/+8
| | | | | | | | | | | | - typo - memory leak - off by one (spotted by airlied)
* | r300: fix VP source conflict resolution on 64-bit machinesMaciej Cencora2009-11-221-1/+1
| | | | | | | | | | On 32bit machines we were lucky because the sizeof(reg) == sizeof(rc_src_register). On 64bit machines pointers are 8 bytes long, so we were overwriting other data.
* | r300: fix SIN/COS/SCS instructions for R300 fpMaciej Cencora2009-11-221-5/+5
| |
* | 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
| |
* | intel: make CopyTex[Sub]Image fallback debug messages more consistentRoland Scheidegger2009-11-211-2/+8
| |
* | i965: Fix several memory leaks on exit.Eric Anholt2009-11-214-5/+11
| | | | | | | | Bug #25194.
* | 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]>
* | r300: allow disabling s3tc support if libtxc_dxtn is availableMaciej Cencora2009-11-181-3/+3
| |
* | Merge branch 'radeon-texrewrite-clean' into mesa_7_7_branchMaciej Cencora2009-11-1826-624/+627
|\ \
| * | r600: align for mipmap tree changesMaciej Cencora2009-11-183-40/+24
| | |
| * | r200: align for mipmap tree changesMaciej Cencora2009-11-173-30/+14
| | |
| * | 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-148-364/+400
| | |
| * | 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-145-37/+30
| | |
| * | r300: fix regression introduced in 1d5a06a1f7812c055db1d724e40d21a0e3686dd1Maciej Cencora2009-11-141-1/+1
| | | | | | | | | | | | Spotted by Dave Airlie
| * | 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-142-3/+19
| | |
| * | radeon/r300: no need to flush the cmdbuf when changing scissors state in KMM ↵Maciej Cencora2009-11-142-2/+5
| | | | | | | | | | | | mode
| * | radeon: fix glBufferSubDataMaciej Cencora2009-11-141-0/+5
| | |