summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
Commit message (Collapse)AuthorAgeFilesLines
* mesa: test for __blrts for CPU_TO_LE32()Brian Paul2009-12-161-1/+1
| | | | See bug 25663.
* mesa: no dlopen on BlueGeneBrian Paul2009-12-161-4/+10
| | | | See bug 25663.
* mesa: Fix array out-of-bounds access by _mesa_TexParameteriv.Vinson Lee2009-12-101-2/+4
|
* mesa: Fix array out-of-bounds access by _mesa_TexGend.Vinson Lee2009-12-091-2/+4
| | | | | _mesa_TexGend calls _mesa_TexGenfv, which uses the params argument as an array.
* mesa: Fix array out-of-bounds access by _mesa_Lighti.Vinson Lee2009-12-091-1/+4
| | | | | _mesa_Lighti calls _mesa_Lightiv, which uses the params argument as an array.
* mesa: Fix array out-of-bounds access by _mesa_Lightf.Vinson Lee2009-12-091-1/+4
|
* mesa: Fix array out-of-bounds access by _mesa_PointParameteri.Vinson Lee2009-12-091-2/+4
| | | | | _mesa_PointParameteri calls _mesa_PointParameterfv, which uses the params argument as an array.
* mesa: Fix array out-of-bounds access by _mesa_PointParameterf.Vinson Lee2009-12-091-1/+4
| | | | | _mesa_PointParameterf calls _mesa_PointParameterfv, which uses the params argument as an array.
* mesa: Fix array out-of-bounds access by _mesa_LightModelf.Vinson Lee2009-12-091-1/+4
| | | | | _mesa_LightModelf calls _mesa_LightModelfv, which uses the params argument as an array.
* mesa: fix baseLevel >= MAX_TEXTURE_LEVELS testBrian Paul2009-12-091-1/+1
| | | | | This fixes invalid array indexing when baseLevel == MAX_TEXTURE_LEVELS. See bug 25528.
* mesa: Fix array out-of-bounds access by _mesa_LightModeli.Vinson Lee2009-12-081-1/+4
| | | | | _mesa_LightModeli calls _mesa_LightModeliv, which uses the params argument as an array.
* mesa: Fix array out-of-bounds access by _mesa_Fogf.Vinson Lee2009-12-081-1/+4
| | | | | _mesa_Fogf calls _mesa_Fogfv, which uses the params argument as an array.
* mesa: Fix array out-of-bounds access by _mesa_TexParameteri.Vinson Lee2009-12-081-1/+6
| | | | | _mesa_TexParameteri calls set_tex_parameteri, which uses the params argument as an array.
* mesa: Fix array out-of-bounds access by _mesa_Fogi.Vinson Lee2009-12-081-2/+4
| | | | | _mesa_Fogi calls _mesa_Fogfv, which uses the params argument as an array.
* mesa: Fix array out-of-bounds access by _mesa_TexParameteri.Vinson Lee2009-12-081-2/+4
| | | | | _mesa_TexParameteri calls set_tex_parameterf, which uses the params argument as an array.
* mesa: Fix array out-of-bounds access by _mesa_TexParameterfv.Vinson Lee2009-12-081-2/+4
| | | | | _mesa_TexParameterfv calls set_tex_parameteri, which uses the params argument as an array.
* mesa: set version string to 7.6.1-rc3mesa_7_6_1_rc3Ian Romanick2009-12-071-1/+1
|
* 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)
* mesa: set version string to 7.6.1-rc2mesa_7_6_1_rc2Ian Romanick2009-11-301-1/+1
|
* 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).
* 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]>
* mesa: set version string to 7.6.1-rc1Brian Paul2009-11-181-1/+1
|
* mesa: added cast to silence warningBrian Paul2009-11-041-1/+1
|
* mesa: fix broken pack_histogram() case for GLhalfBrian Paul2009-11-041-3/+4
|
* mesa: silence warning from gcc 4.4.1Brian Paul2009-11-041-2/+2
|
* mesa: (GLint64) casts in get.c to silence Visual Studio warningsBrian Paul2009-11-032-173/+173
| | | | Revised version of a patch from Karl Schultz.
* mesa: added GLAPIENTRY keywords for sync object functionsKarl Schultz2009-11-032-12/+12
| | | | Signed-off-by: Brian Paul <[email protected]>
* mesa: Fix memory leak if we run out of memoryVinson Lee2009-10-281-1/+5
| | | | Signed-off-by: Brian Paul <[email protected]>
* mesa: remove FBO texture depth/stencil testBrian Paul2009-10-231-12/+0
| | | | | The texture format should not be checked until validation time since the format might be changed by a subsequent glTexImage() call.
* mesa: fix broken _mesa_str_checksum()Brian Paul2009-10-231-2/+2
|
* mesa: fix GL_TEXTURE_INTERNAL_FORMAT query for compressed formatsBrian Paul2009-10-231-1/+9
| | | | | Need to return the actual compressed format when the user originally requested a generic compressed format.
* mesa: added _mesa_compressed_format_to_glenum()Brian Paul2009-10-232-0/+54
| | | | | | Maps a compressed MESA_FORMAT_x to correspding GLenum. Needed for querying a texture's actual format when a generic format was originally requested.
* mesa: change s3tc vs. fxt1 priority when choosing compressed formatsBrian Paul2009-10-231-8/+8
|
* mesa: code refactoring- new _mesa_finish(), _mesa_flush()Brian Paul2009-10-222-8/+37
|
* mesa: Fix Mac OS build.Vinson Lee2009-10-201-0/+3
| | | | | strtod_l needs the xlocale.h header on Mac OS. It's possible other non-Linux OSes would need this header too.
* mesa: use C locale for _mesa_strtod()Brian Paul2009-10-161-0/+12
| | | | | | | | | _mesa_strtod() is used for shader/program parsing where the decimal point character is always '.' Use strtod_l() with a "C" locale to ensure correct string->double conversion when the actual locale uses another character such as ',' for the decimal point. Fixes bug 24531.
* mesa: fix incorrect assertion in _mesa_add_aux_renderbuffers()Brian Paul2009-10-091-1/+1
| | | | Fixes bug 24426.
* mesa: fix return value when clipping {Read,Draw}Pixels height <= 0Brian Paul2009-10-051-2/+2
| | | | | | Signed-off-by: Ben Skeggs <[email protected]> (cherry picked from master, commit 7aeaca33c331f70d507fc83583b13b8d9fc3e847)
* Use _mesa_select_tex_image() rather than hardcoding face 0.Michel Dänzer2009-10-051-2/+1
| | | | | | | | Fixes crash loading a map in sauerbraten with hwmipmap 1 in ~/.sauerbraten/config.cfg.
* mesa: fix incorrect default texture binding in unbind_texobj_from_texunits()Brian Paul2009-10-021-1/+1
| | | | | If we deleted a currently bound texture, we were always reverting the texture binding to the default 1D texture rather than the proper default texture.
* mesa: fix memory leak when generating mipmaps for compressed texturesBrian Paul2009-10-011-6/+10
|
* mesa: add missing return when out of memoryBrian Paul2009-10-011-0/+1
|
* mesa: fix potential uninitialized memory readsBrian Paul2009-10-011-0/+6
|
* mesa: bump version to 7.6.1Brian Paul2009-09-291-3/+3
|
* mesa: work-around glXCopyContext() bug in _mesa_copy_texture_state()Brian Paul2009-09-291-8/+14
| | | | See bug 24217.
* Prep for 7.6 releaseIan Romanick2009-09-281-1/+1
|