summaryrefslogtreecommitdiff
path: root/src/mesa/drivers
AgeCommit message (Collapse)Author
2009-12-09meta: Bind texture to unit 0 for mipmap generationIan Romanick
If the active texture unit on entry to mipmap generation is not zero, bind the texture to unit zero. Fixes bug #24219.
2009-12-08i965: Enable the accelerated ReadPixels path on gen4 along with pre-gen4.Eric Anholt
Passes piglit pbo-read-argb8888, and doesn't otherwise regress quick.tests.
2009-12-08Merge branch 'mesa_7_6_branch' into mesa_7_7_branchAndre Maasikas
2009-12-08r600: add support for TXB instructionAndre Maasikas
makes testing other things easier - does not hang the card TODO: enable TEX dependency tracking in vertex programs
2009-12-08r600: reorder state for render_target and blendAndre Maasikas
First time around render targets are not enabled yet (done in r700SendRenderTargetState) so blend state is not emitted for any targets. Affects first glClear in some mesa tests. As a quick fix reorder state emit so that target is set first
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-07Revert "intel: Make RGB renderbuffers use XRGB8888 like we do for RGB system ↵Ian Romanick
buffers." This reverts commit 4598942b1b88a2a7d5af7febae7e79eedf00e385. XRGB8888 doesn't work as intended. Revert this for now, and we'll revisit it for 7.8 or something.
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-06dri: Fix potential null pointer dereference in driBindContext.Vinson Lee
(cherry picked from commit 919898e92fa23ff71a59d86a46ff0886a6f34e4d)
2009-12-06dri: Fix potential null pointer deference in dri_put_drawable.Vinson Lee
(cherry picked from commit 364070b1f2b08d43fb205ec198894a35bec6b2f3)
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-03r200: fix polygon stippleAlex Deucher
fixes fdo bug 25354 Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2009-12-02Merge commit 'mesa_7_6_branch' into mesa_7_7_branchJakob Bornecrantz
Conflicts: src/mesa/main/version.h
2009-12-02intel: Make RGB renderbuffers use XRGB8888 like we do for RGB system buffers.Eric Anholt
2009-12-01intel: Remove GL_NV_point_sprite from extension listIan Romanick
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.
2009-12-02intel: Fix more front-buffer rendering after Brian's less flushing patch.Eric Anholt
bcbfda71b03303d3f008a6f3cf8cb7d9667bf8d2 left out many blit paths. This fixes up more of them to get Blender to work again. Bug #25030.
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-30i915: Actually put i915PointParameterfv in the driver function table. Duh.Ian Romanick
2009-11-29i915: Fallback bit define missed on previous commitIan Romanick
2009-11-29i915: Round point sizes instead of truncate.Ian Romanick
2009-11-29i915: Enable point sprite coordinate generationIan Romanick
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.
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-28dri: Fix potential null pointer dereference in driBindContext.Vinson Lee
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-23i915: Initialize Length and Offset fields when mapping a buffer objectIan Romanick
This fixes an assertion failure in _mesa_MapBufferARB. Fixes bugzilla #25253.
2009-11-24dri: Fix potential null pointer deference in dri_put_drawable.Vinson Lee
2009-11-23radeon: fix errors in miptree related functionMaciej Cencora
- typo - memory leak - off by one (spotted by airlied)
2009-11-23Fix the DRI swrast driver for big endian platforms.Michel Dänzer
Too bad I didn't realize earlier how easy this could be... Fixes http://bugs.freedesktop.org/show_bug.cgi?id=22767 .
2009-11-22r300: fix VP source conflict resolution on 64-bit machinesMaciej Cencora
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.
2009-11-22r300: fix SIN/COS/SCS instructions for R300 fpMaciej Cencora
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-21intel: make CopyTex[Sub]Image fallback debug messages more consistentRoland Scheidegger
2009-11-21i965: Fix several memory leaks on exit.Eric Anholt
Bug #25194.
2009-11-18r600: disable compressed texture supportAlex Deucher
It's not implemented yet. fixes fdo bug 24047
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-18r300: allow disabling s3tc support if libtxc_dxtn is availableMaciej Cencora
2009-11-18Merge branch 'radeon-texrewrite-clean' into mesa_7_7_branchMaciej Cencora
2009-11-18r600: align for mipmap tree changesMaciej Cencora
2009-11-17Merge branch 'outputswritten64'Ian Romanick
Add a GLbitfield64 type and several macros to operate on 64-bit fields. The OutputsWritten field of gl_program is changed to use that type. This results in a fair amount of fallout in drivers that use programs. No changes are strictly necessary at this point as all bits used are below the 32-bit boundary. Fairly soon several bits will be added for clip distances written by a vertex shader. This will cause several bits used for varyings to be pushed above the 32-bit boundary. This will affect any drivers that support GLSL. At this point, only the i965 driver has been modified to support this eventuality. I did this as a "squash" merge. There were several places through the outputswritten64 branch where things were broken. I foresee this causing difficulties later for bisecting. The history is still available in the branch. Conflicts: src/mesa/drivers/dri/i965/brw_wm.h
2009-11-17r200: align for mipmap tree changesMaciej Cencora