summaryrefslogtreecommitdiffstats
path: root/src/mesa
Commit message (Collapse)AuthorAgeFilesLines
* radeon/r200/r600: fix drivers for changes in ↵Alex Deucher2009-12-053-38/+5
| | | | 433f0a82f5a4696e6b0c4061f645485ec8079bb4
* st/mesa: Prefer alpha-less formats for RGB textures.Michel Dänzer2009-12-051-4/+32
| | | | | This can e.g. increase the chance of being able to accelerate glCopyTex(Sub)Image from an alpha-less renderbuffer.
* radeon: Only get DRI2 front buffer information for glXBindTexImageEXT.Michel Dänzer2009-12-054-43/+38
|
* Merge branch 'gallium-noblocks'Roland Scheidegger2009-12-046-38/+32
|\ | | | | | | | | Conflicts: src/gallium/state_trackers/xorg/xorg_exa.c
| * gallium: interface cleanups, remove nblocksx/y from pipe_texture and moreRoland Scheidegger2009-11-306-38/+32
| | | | | | | | | | | | | | | | This patch removes nblocksx, nblocksy arrays from pipe_texture (can be recalculated if needed). Furthermore, pipe_format_block struct is gone completely (again, contains just derived state). nblocksx, nblocksy, block are also removed from pipe_transfer, together with the format enum (can be obtained from the texture associated with the transfer).
* | Merge branch 'mesa_7_7_branch'Jakob Bornecrantz2009-12-0215-43/+42
|\ \
| * \ 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.
| | * | mesa: set version string to 7.6.1-rc2mesa_7_6_1_rc2Ian Romanick2009-11-301-1/+1
| | | |
| * | | intel: Make RGB renderbuffers use XRGB8888 like we do for RGB system buffers.Eric Anholt2009-12-021-5/+1
| | | |
| * | | mesa: Fix bad conversion in AL1616_REV texstore.Eric Anholt2009-12-021-8/+12
| | | |
| * | | mesa: Fix copy'n'paste problem in al1616 texel fetch.Eric Anholt2009-12-021-1/+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
| * | | vbo: make flush recursion check code per-contextBrian Paul2009-12-012-5/+10
| | | | | | | | | | | | | | | | This fixes invalid failed assertions when running multi-threaded apps.
| * | | st/mesa: updated emit_swz() commentBrian Paul2009-12-011-1/+1
| | | |
* | | | mesa: added comment for target_enum_to_index()Brian Paul2009-12-011-1/+2
| | | |
* | | | Merge commit 'origin/mesa_7_7_branch'Keith Whitwell2009-12-0115-128/+203
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/gallium/drivers/svga/svga_screen_texture.c src/gallium/state_trackers/xorg/xorg_composite.c src/gallium/state_trackers/xorg/xorg_exa.c src/gallium/state_trackers/xorg/xorg_renderer.c src/gallium/state_trackers/xorg/xorg_xv.c src/mesa/main/texgetimage.c src/mesa/main/version.h
| * | | mesa: set version string to 7.7-rc1mesa_7_7_rc1Ian Romanick2009-11-301-1/+1
| | | |
| * | | Merge branch 'mesa_7_6_branch' into mesa_7_7_branchIan Romanick2009-11-307-53/+77
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | * | Improve implementation of GL_POINT_SPRITE_COORD_ORIGIN errorsIan Romanick2009-11-251-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This enum is only supported for OpenGL 2.0. If a driver supports OpenGL 1.4 and GL_ARB_point_sprite, using this enum should generate an error. This is important because, for example, i915 and i830 can support GL_ARB_point_sprite, but they cannot support GL_POINT_SPRITE_COORD_ORIGIN. This commit just removes the check for NV_point_sprite, which is completely wrong, and add some comments describing what the code should do. I don't see an easy way to check for version >= 2.0 from inside Mesa. Perhaps we should add an extension GL_MESA_point_sprite_20 (like Intel's old GL_EXT_packed_pixels_12) to indicate that this added bit of functionality is available. Also note that glean's pointSprite test only checks for GL_ARB_point_sprite before trying to use GL_POINT_SPRITE_COORD_ORIGIN. Naturally, that fails on non-2.0 implementations (i.e., Mac OS X on GMA 950).
| | * | 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 .
| | * | mesa: define 32bit byteswap for AIX.Tom Fogal2009-11-191-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | Fixes `xlib' driver build on AIX. Signed-off-by: Brian Paul <[email protected]>
| | * | 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
| | * | mesa: set version string to 7.6.1-rc1Brian Paul2009-11-181-1/+1
| | | |
| * | | mesa: Fix array out-of-bounds access by _mesa_TexParameterf.Vinson Lee2009-11-291-2/+7
| | | | | | | | | | | | | | | | | | | | _mesa_TexParameterf calls set_tex_parameterf, which uses the params argument as an array.
| * | | mesa: Fix array out-of-bounds access by _mesa_TexParameterf.Vinson Lee2009-11-291-2/+4
| | | | | | | | | | | | | | | | | | | | _mesa_TexParameterf calls set_tex_parameteri, which uses the params argument as an array.
| * | | 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
| | | |
| * | | mesa: Fix array out-of-bounds access by _mesa_TexGenf.Vinson Lee2009-11-291-1/+4
| | | | | | | | | | | | | | | | | | | | _mesa_TexGenf calls _mesa_TexGenfv, which uses the params argument as an array.
| * | | mesa: Fix array out-of-bounds access by _mesa_TexGeni.Vinson Lee2009-11-281-1/+4
| | | | | | | | | | | | | | | | | | | | _mesa_TexGeni calls _mesa_TexGeniv, which uses the params argument as an array.
| * | | dri: Fix potential null pointer dereference in driBindContext.Vinson Lee2009-11-281-1/+2
| | | |
| * | | mesa: Fix array out-of-bounds access in _mesa_TexEnvf.Vinson Lee2009-11-281-1/+4
| | | | | | | | | | | | | | | | | | | | _mesa_TexEnvf calls _mesa_TexEnvfv, which uses the param argument as an array.
| * | | radeon: need to flush cs when moving images between mipmap treesMaciej Cencora2009-11-281-0/+4
| | | |
| * | | mesa: Avoid void pointer arithmetic.José Fonseca2009-11-271-1/+2
| | | |
| * | | 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
| | | |
* | | | mesa: Update vertex texture code after gallium changes.Michal Krol2009-12-018-5/+29
| | | |
* | | | st: Update for renamed sampler/texture state setters.Michal Krol2009-12-011-2/+2
| | | |
* | | | st/mesa: handle front/back-face +1/-1 vs. 1/0 conversionBrian Paul2009-11-301-0/+29
| | | | | | | | | | | | | | | | Fixes progs/glsl/twoside.c demo.
* | | | r600 : clena up a bit for last commit.Richard Li2009-11-292-8/+6
| | | |