summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* r600: add support for TXB instructionAndre Maasikas2009-12-081-17/+9
| | | | | makes testing other things easier - does not hang the card TODO: enable TEX dependency tracking in vertex programs
* r600: reorder state for render_target and blendAndre Maasikas2009-12-081-1/+1
| | | | | | | 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
* llvmpipe: Initialize variables in emit_instruction.Vinson Lee2009-12-071-3/+3
|
* mesa: set version string to 7.6.1-rc3mesa_7_6_1_rc3Ian Romanick2009-12-071-1/+1
|
* st/egl: Fix memory leak in egl_tracker.c.Vinson Lee2009-12-061-1/+1
| | | | (cherry picked from commit 052b127842af3372fd768eae8e29b240a696a12a)
* dri: Fix potential null pointer dereference in driBindContext.Vinson Lee2009-12-061-1/+2
| | | | (cherry picked from commit 919898e92fa23ff71a59d86a46ff0886a6f34e4d)
* dri: Fix potential null pointer deference in dri_put_drawable.Vinson Lee2009-12-061-4/+4
| | | | (cherry picked from commit 364070b1f2b08d43fb205ec198894a35bec6b2f3)
* glx: Prevent potential null pointer deference in driCreateContext.Vinson Lee2009-12-061-1/+3
| | | | (cherry picked from commit 4b0b250aae6ae7d48cd24f9d91d05ab58086c4b2)
* draw: Initialize variable in draw_pt.c.Vinson Lee2009-12-051-1/+2
| | | | (cherry picked from commit ea98e9820d7117f7a187f355445796b1ef5d9e0c)
* mesa: Fix array out-of-bounds access by _mesa_TexGenf.Vinson Lee2009-12-051-1/+4
| | | | | | _mesa_TexGenf calls _mesa_TexGenfv, which uses the params argument as an array. (cherry picked from commit ca5a7aadb4361e7d053aea8687372cd44cbd8795)
* mesa: Fix array out-of-bounds access by _mesa_TexGeni.Vinson Lee2009-12-051-1/+4
| | | | | | _mesa_TexGeni calls _mesa_TexGeniv, which uses the params argument as an array. (cherry picked from commit d55fb7c835b56951f05a058083e7eda264ba192e)
* mesa: Fix array out-of-bounds access by _mesa_TexParameterf.Vinson Lee2009-12-051-2/+7
| | | | | | _mesa_TexParameterf calls set_tex_parameterf, which uses the params argument as an array. (cherry picked from commit 270d36da146b899d39e08f830fe34b63833a3731)
* mesa: Fix array out-of-bounds access by _mesa_TexParameterf.Vinson Lee2009-12-051-2/+4
| | | | | | _mesa_TexParameterf calls set_tex_parameteri, which uses the params argument as an array. (cherry picked from commit a201dfb6bf28b89d6f511c2ec9ae0d81ef18511d)
* mesa: Fix array out-of-bounds access in _mesa_TexEnvf.Vinson Lee2009-12-041-1/+4
| | | | | | _mesa_TexEnvf calls _mesa_TexEnvfv, which uses the param argument as an array. (cherry picked from commit a11d60d14caf8efc07f70af63b57b33273f8cf9b)
* r300g: use $(MAKE) variableColeman Kane2009-12-041-1/+1
| | | | Fixes bug 24501
* radeon: fix polygon stippleAlex Deucher2009-12-044-24/+29
| | | | | | fixes fdo bug 25354 Signed-off-by: Alex Deucher <[email protected]>
* glu/sgi: Fix memory leak in gluBuild2DMipmapLevelsCore.Vinson Lee2009-12-041-0/+1
| | | | (cherry picked from commit 808f0376607b0e2d31dfebc888fd8f1e737fed09)
* glu/sgi: Fix memory leak in gluBuild1DMipmapLevelsCore.Vinson Lee2009-12-041-0/+1
| | | | (cherry picked from commit 94bcb9f1a43f2ab3bdff09156e3ab5b1c115cbd8)
* glu/sgi: Fix memory leak in gluBuild2DMipmapLevelsCore.Vinson Lee2009-12-041-0/+1
| | | | (cherry picked from commit 0d89f3dc7ff3f89ba8d5d664253730485bca35e2)
* glu/sgi: Fix memory leak in gluBuild3DMipmapLevelsCore.Vinson Lee2009-12-041-0/+1
| | | | (cherry picked from commit f895abbd9777c4985aa40cf660c68f6d7333f0ec)
* glu/sgi: Fix memory leak in gluBuild3DMipmapLevelsCore.Vinson Lee2009-12-041-0/+1
| | | | (cherry picked from commit 326b66d724754ca97012501db1c7c62d7d41a457)
* glu/sgi: Fix memory leak in bitmapBuild2DMipmaps.Vinson Lee2009-12-041-0/+1
| | | | (cherry picked from commit 5b925b7daa566d799c4f50911a7fcca114131503)
* glu/sgi: Fix memory leak in gluScaleImage3D.Vinson Lee2009-12-041-0/+2
| | | | (cherry picked from commit b611f639b4bffdcca376293f7ce71af9f6bdbff3)
* glu/sgi: Fix memory leak in gluScaleImage.Vinson Lee2009-12-041-0/+2
| | | | (cherry picked from commit a9c540f5dedbf593f8038fdbc95eecb60826ab26)
* glu: Fix memory leak in __gl_meshMakeEdge.Vinson Lee2009-12-041-1/+6
| | | | (cherry picked from commit d3b4c99c703f70a9d0e715a97e52672f7f8fc980)
* gallium/util: Initialize variables in u_pack_color.h.Vinson Lee2009-12-031-1/+4
| | | | (cherry picked from commit 36e2074b63e3e5bc489eb74cad0cd97eafcedb40)
* r200: fix polygon stippleAlex Deucher2009-12-034-17/+11
| | | | | | fixes fdo bug 25354 Signed-off-by: Alex Deucher <[email protected]>
* cell: added tex_usage param to xm_surface_buffer_create()Brian Paul2009-12-021-0/+1
|
* 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
|
* 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
|
* xorg/st: fixup builds against later dpms headers.Brian Paul2009-11-182-0/+8
| | | | (cherry picked from master, commit e9d6ab72be065becf7a077c33919d37faa8db92e)
* i965: Fix Ironlake shadow comparisons.Eric Anholt2009-11-121-7/+17
| | | | The cube map array index arg is always present.
* i965: Fix VBO last-valid-offset setup on Ironlake.Eric Anholt2009-11-121-10/+3
| | | | | Instead of doing math based on the (broken for VBO && offset != 0) input->count number, just use the BO size. Fixes assertion failure in ETQW.
* i965: fix EXT_provoking_vertex supportRoland Scheidegger2009-11-118-29/+61
| | | | | | | | This didn't work for quad/quadstrips at all, and for all other primitive types it only worked when they were unclipped. Fix up the former in gs stage (could probably do without these changes and instead set QuadsFollowProvokingVertexConvention to false), and the rest in clip stage.
* i965: Fix VS constant buffer value loading.Eric Anholt2009-11-101-1/+11
| | | | | | | | | | Previously, we'd load linearly from ParameterValues[0] for the constants, though ParameterValues[1] may not equal ParameterValues[0] + 4. Additionally, the STATE_VAL type paramters didn't get updated. Fixes piglit vp-constant-array-huge.vpfp and ET:QW object locations. Bug #23226.
* i965: Unalias src/dst registers for SGE and friends.Eric Anholt2009-11-101-19/+21
| | | | | | | Fixes piglit vp-sge-alias test, and the googleearth ground shader. \o/ Bug #22228 (cherry picked from commit 56ab92bad8f1d05bc22b8a8471d5aeb663f220de)
* i965: Allow use of PROGRAM_LOCAL constants in ARB_vp.Eric Anholt2009-11-101-1/+1
| | | | | Fixes piglit arl.vp. (cherry picked from commit d52d78b4bcd6d4c0578f972c0b8ebac09e632196)
* r600: don't emit htile regsAlex Deucher2009-11-091-4/+2
| | | | | | These are needed for HiZ which is not currently used and the _BASE reg requires a reloc which is not currently supported in the drm.