Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | | Don't dereference function pointers in calls. | Ian Romanick | 2009-09-03 | 1 | -7/+7 |
| | | | | | | | | | | | | I'm apparently alone in prefering this calling convention, so I'll be a team player. :p Based on review comments by Brian Paul and Eric Anholt. | ||||
* | | Whitespace and include file clean-up. | Ian Romanick | 2009-09-03 | 1 | -14/+0 |
| | | | | | | | | Based on review comments by Brian Paul. | ||||
* | | Use MIN2 instead of open-coded version | Ian Romanick | 2009-09-03 | 1 | -1/+2 |
| | | | | | | | | Based on review comments by Brian Paul. | ||||
* | | ARB sync: Fix delete behavior and context destruction behavior | Ian Romanick | 2009-09-03 | 4 | -24/+103 |
| | | | | | | | | | | | | | | I believe this resolves the outstanding issues WRT sync object deletetion. I have also added a large comment at the top of syncobj.c describing the expected memory management behavior. I'm still a little uncertain about the locking on ctx->Shared. | ||||
* | | Add dummy list node type 'struct simple_node' | Ian Romanick | 2009-09-03 | 1 | -0/+5 |
| | | |||||
* | | ARB sync: Add support for GL_ARB_sync to swrast | Ian Romanick | 2009-09-03 | 10 | -0/+530 |
| | | | | | | | | | | This isn't quite right yet. The delete behavior and the context clean-up needs some work. | ||||
* | | ARB sync: Regenerate files from previous commit | Ian Romanick | 2009-09-03 | 1 | -3093/+3137 |
| | | |||||
* | | ARB sync: Add infrastructure for glGetInteger64v | Ian Romanick | 2009-09-03 | 6 | -1/+1862 |
| | | |||||
* | | mesa: fix typos in separable filter functions | Brian Paul | 2009-09-03 | 1 | -4/+4 |
| | | |||||
* | | mesa: compute tex env program key size based on nr_enabled_units | Brian Paul | 2009-09-03 | 1 | -8/+18 |
| | | | | | | | | | | | | | | When no textures are enabled, the key size is 4 bytes. If unit[0] is enabled, the key size is 16 bytes. Inspired by a patch from Chris Wilson. | ||||
* | | mesa: use new combined PBO validate/map helpers in convolution/filter funcs | Brian Paul | 2009-09-03 | 1 | -66/+23 |
| | | |||||
* | | mesa: use new combined PBO validate/map helpers | Brian Paul | 2009-09-03 | 4 | -126/+43 |
| | | |||||
* | | mesa: combined PBO validate/map helpers | Brian Paul | 2009-09-03 | 2 | -0/+98 |
| | | |||||
* | | mesa: use new _mesa_map_pbo_source/dest() functions in more places | Brian Paul | 2009-09-03 | 5 | -354/+192 |
| | | | | | | | | | | This trims down the code a bit. The next step would be to combine the validate and map operations into one helper... | ||||
* | | mesa: consolidate PBO map/unmap helpers | Brian Paul | 2009-09-03 | 2 | -85/+41 |
| | | | | | | | | | | | | | | Instead of _mesa_map_readpix_pbo() use _mesa_map_pbo_source(). Instead of _mesa_map_drawpix_pbo() and _mesa_map_bitmap_pbo() use _mesa_map_pbo_dest(). | ||||
* | | mesa: change ctx->Driver.BufferData() to return GLboolean for success/failure | Brian Paul | 2009-09-03 | 2 | -11/+21 |
| | | | | | | | | | | Return GL_FALSE if we failed to allocate the buffer. Then raise GL_OUT_OF_MEMORY in core Mesa. | ||||
* | | Revert "mesa: fix the non-GNU C bit-field case" | Brian Paul | 2009-09-02 | 1 | -2/+2 |
| | | | | | | | | | | | | This reverts commit 4b08e7498230eac30eea1721f33994b30999acd4. Don't know what I was thinking there. |