Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa: set version string to 7.6.1-rc2mesa_7_6_1_rc2 | Ian Romanick | 2009-11-30 | 1 | -1/+1 |
| | |||||
* | Improve implementation of GL_POINT_SPRITE_COORD_ORIGIN errors | Ian Romanick | 2009-11-25 | 1 | -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 Fogal | 2009-11-19 | 1 | -1/+6 |
| | | | | | | Fixes `xlib' driver build on AIX. Signed-off-by: Brian Paul <[email protected]> | ||||
* | mesa: set version string to 7.6.1-rc1 | Brian Paul | 2009-11-18 | 1 | -1/+1 |
| | |||||
* | mesa: added cast to silence warning | Brian Paul | 2009-11-04 | 1 | -1/+1 |
| | |||||
* | mesa: fix broken pack_histogram() case for GLhalf | Brian Paul | 2009-11-04 | 1 | -3/+4 |
| | |||||
* | mesa: silence warning from gcc 4.4.1 | Brian Paul | 2009-11-04 | 1 | -2/+2 |
| | |||||
* | mesa: (GLint64) casts in get.c to silence Visual Studio warnings | Brian Paul | 2009-11-03 | 2 | -173/+173 |
| | | | | Revised version of a patch from Karl Schultz. | ||||
* | mesa: added GLAPIENTRY keywords for sync object functions | Karl Schultz | 2009-11-03 | 2 | -12/+12 |
| | | | | Signed-off-by: Brian Paul <[email protected]> | ||||
* | mesa: Fix memory leak if we run out of memory | Vinson Lee | 2009-10-28 | 1 | -1/+5 |
| | | | | Signed-off-by: Brian Paul <[email protected]> | ||||
* | mesa: remove FBO texture depth/stencil test | Brian Paul | 2009-10-23 | 1 | -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 Paul | 2009-10-23 | 1 | -2/+2 |
| | |||||
* | mesa: fix GL_TEXTURE_INTERNAL_FORMAT query for compressed formats | Brian Paul | 2009-10-23 | 1 | -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 Paul | 2009-10-23 | 2 | -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 formats | Brian Paul | 2009-10-23 | 1 | -8/+8 |
| | |||||
* | mesa: code refactoring- new _mesa_finish(), _mesa_flush() | Brian Paul | 2009-10-22 | 2 | -8/+37 |
| | |||||
* | mesa: Fix Mac OS build. | Vinson Lee | 2009-10-20 | 1 | -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 Paul | 2009-10-16 | 1 | -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 Paul | 2009-10-09 | 1 | -1/+1 |
| | | | | Fixes bug 24426. | ||||
* | mesa: fix return value when clipping {Read,Draw}Pixels height <= 0 | Brian Paul | 2009-10-05 | 1 | -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änzer | 2009-10-05 | 1 | -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 Paul | 2009-10-02 | 1 | -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 textures | Brian Paul | 2009-10-01 | 1 | -6/+10 |
| | |||||
* | mesa: add missing return when out of memory | Brian Paul | 2009-10-01 | 1 | -0/+1 |
| | |||||
* | mesa: fix potential uninitialized memory reads | Brian Paul | 2009-10-01 | 1 | -0/+6 |
| | |||||
* | mesa: bump version to 7.6.1 | Brian Paul | 2009-09-29 | 1 | -3/+3 |
| | |||||
* | mesa: work-around glXCopyContext() bug in _mesa_copy_texture_state() | Brian Paul | 2009-09-29 | 1 | -8/+14 |
| | | | | See bug 24217. | ||||
* | Prep for 7.6 release | Ian Romanick | 2009-09-28 | 1 | -1/+1 |
| | |||||
* | Merge branch 'mesa_7_5_branch' into mesa_7_6_branch | Brian Paul | 2009-09-24 | 1 | -6/+1 |
|\ | |||||
| * | mesa: remove glEnable(GL_DEPTH_BOUNDS_TEST_EXT) check/warning | Brian Paul | 2009-09-24 | 1 | -5/+0 |
| | | | | | | | | | | At the time of the enable there may not be a Z buffer, but one may be attached to the FBO later. | ||||
| * | mesa: remove rgbMode check in enable_texture() | Brian Paul | 2009-09-24 | 1 | -1/+1 |
| | | | | | | | | | | | | | | If the currently bound FBO isn't yet validated it's possible for rgbMode to be zero so we'll lose the texture enable. This could fix some FBO rendering glitches, but I don't know of any specific instances. | ||||
| * | mesa: fix error message text | Brian Paul | 2009-09-22 | 1 | -1/+1 |
| | | |||||
* | | i965: Emit zero initialization for NV VP temporaries as required. | Eric Anholt | 2009-09-24 | 1 | -0/+1 |
| | | | | | | | | | | | | | | This is similar to what r300 does inside the driver, but I've added it as a generic option since it seems most hardware will want it. Fixes piglit nv-init-zero-reg.vpfp and nv-init-zero-addr.vpfp. | ||||
* | | mesa: replace assertion with no-op function assignment | Brian Paul | 2009-09-24 | 1 | -1/+12 |
| | | |||||
* | | mesa: added default case return to silence warning | Brian Paul | 2009-09-24 | 1 | -0/+1 |
| | | |||||
* | | mesa: fix more buffer object error messages | Brian Paul | 2009-09-22 | 1 | -3/+3 |
| | | |||||
* | | mesa: make max_buffer_index() a non-static function | Brian Paul | 2009-09-21 | 2 | -8/+14 |
| | | |||||
* | | mesa: add some debug info to teximage.c | Maciej Cencora | 2009-09-21 | 1 | -0/+87 |
| | | |||||
* | | Merge branch 'mesa_7_5_branch' into mesa_7_6_branch | Ian Romanick | 2009-09-16 | 1 | -0/+659 |
|\| | | | | | | | | | Conflicts: src/mesa/main/dlist.c | ||||
| * | mesa: compile glUniformMatrix() functions into display lists | Brian Paul | 2009-09-15 | 1 | -0/+242 |
| | | | | | | | | | | I believe this is the last of the shader-related functions that needed display list treatment. | ||||
| * | mesa: implement more glUniform display list functions | Brian Paul | 2009-09-15 | 1 | -1/+365 |
| | | |||||
| * | mesa: compile glUniform4f() into display lists | Brian Paul | 2009-09-15 | 1 | -0/+26 |
| | | | | | | | | Note: there are more glUniform functions to compile... | ||||
| * | mesa: compile glUseProgram/glUseProgramObjectARB into display lists | Brian Paul | 2009-09-15 | 1 | -0/+28 |
| | | | | | | | | Fixes bug 23746 | ||||
* | | Merge branch 'mesa_7_5_branch' into mesa_7_6_branch | Brian Paul | 2009-09-15 | 1 | -3/+3 |
|\| | |||||
| * | mesa: raise GL_INVALID_ENUM not GL_INVALID_VALUE for glTexParamter errors | Vinson Lee | 2009-09-11 | 1 | -3/+3 |
| | | | | | | | | Signed-off-by: Brian Paul <[email protected]> | ||||
| * | mesa: bump version to 7.5.2 | Brian Paul | 2009-09-08 | 1 | -3/+3 |
| | | | | | | | | I'm not 100% sure there'll be a 7.5.2 release, but just in case. | ||||
| * | mesa: added const qualifiers, move local var | Brian Paul | 2009-08-31 | 1 | -7/+8 |
| | | |||||
| * | mesa: fix saturation logic in emit_texenv() | Brian Paul | 2009-08-31 | 1 | -1/+7 |
| | | | | | | | | | | | | We need to clamp/saturate after each texenv stage, not just the last one. Fixes glean texEnv failure for softpipe (and probably other fragment program- based drivers). | ||||
* | | mesa: in texenvprogram code, only do saturation when really needed. | Brian Paul | 2009-09-10 | 1 | -8/+53 |
| | | | | | | | | | | For some env modes (like modulate or replace) we don't have to clamp because we know the results will be in [0,1]. | ||||
* | | mesa: rename gl_sync_object::Status to StatusFlag | Brian Paul | 2009-09-03 | 2 | -6/+6 |
| | | | | | | | | | | There's a symbol collision with X11/Xlib.h #define Status int in the Mesa xlib code. This seems the simpliest way to work around this. |