Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa: skip bitmap drawing code if width==0 or height==0 | Brian Paul | 2009-09-01 | 1 | -19/+22 |
| | |||||
* | mesa: new _mesa_expand_bitmap() function | Brian Paul | 2009-09-01 | 2 | -0/+92 |
| | |||||
* | mesa: remove redundant assignments | Brian Paul | 2009-09-01 | 1 | -8/+1 |
| | |||||
* | mesa: more clean-ups | Brian Paul | 2009-09-01 | 1 | -24/+31 |
| | |||||
* | mesa: change conditional to match the previous one | Brian Paul | 2009-09-01 | 1 | -1/+1 |
| | |||||
* | mesa: updated #includes | Brian Paul | 2009-09-01 | 1 | -2/+1 |
| | |||||
* | mesa: remove unused texenv_fragment_program::ctx field | Brian Paul | 2009-09-01 | 1 | -2/+0 |
| | |||||
* | mesa: remove unused ureg::abs field | Brian Paul | 2009-09-01 | 1 | -5/+2 |
| | |||||
* | mesa: remove unused ureg:negateabs field | Brian Paul | 2009-09-01 | 1 | -4/+1 |
| | |||||
* | mesa: more comments, clean-ups | Brian Paul | 2009-09-01 | 1 | -10/+10 |
| | |||||
* | mesa: simplify translate_tex_src_bit() | Brian Paul | 2009-09-01 | 1 | -20/+3 |
| | |||||
* | mesa: minor code clean-ups, comments | Brian Paul | 2009-09-01 | 1 | -24/+34 |
| | |||||
* | mesa: replace 8 with MAX_TEXTURE_UNITS | Brian Paul | 2009-09-01 | 1 | -1/+1 |
| | |||||
* | mesa: added _mesa_is_stencil_format() | Brian Paul | 2009-08-31 | 2 | -0/+19 |
| | |||||
* | 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: set additional fields in _mesa_buffer_map_range() | Brian Paul | 2009-08-31 | 1 | -3/+5 |
| | |||||
* | mesa: set Length/Offset fields in _mesa_buffer_map() | Brian Paul | 2009-08-31 | 1 | -0/+2 |
| | |||||
* | mesa: additional assertions for ctx->Driver.UnmapBuffer() | Brian Paul | 2009-08-31 | 1 | -4/+7 |
| | | | | | The Pointer, Offset and Lenght fields should be cleared by the driver function since ctx->Driver.Unmap() may be called from VBO code, etc. | ||||
* | mesa: new assertions, comments about buffer mapping | Brian Paul | 2009-08-31 | 1 | -12/+29 |
| | | | | | | | Since ctx->Driver.MapBuffer() and ctx->Driver.MapBufferRange() may be called from other places in Mesa (such as VBO) it's important that the driver callbacks set all the buffer object fields properly (Pointer, Offset, Length, etc). Add assertions to make sure that the driver does that. | ||||
* | ARB prog: Change handling of program parameter limits | Ian Romanick | 2009-08-26 | 2 | -27/+51 |
| | | | | | | | | | | | | | | | | | Several changes are made to program parameter limits. Several of the non-NATIVE limits are set higher. All of the NATIVE limits are set to zero in the core Mesa code. Each driver must set the actual value in its context creation routine. If the NATIVE value remains zero, this indicates that hardware shaders may not be supported. Each of the preceeding changes matches the bahavior of Apple's shader assembler, so it seems safe. Finally, we limit the value of MaxEnvParams to be no greater than MaxNativeAttribs. At least one case has been found where an application does the wrong thing if MaxNativeAttribs < MaxEnvParams. See also bugzilla #23490. | ||||
* | mesa: validate shader before drawing (for debugging, disabled) | Brian Paul | 2009-08-25 | 1 | -0/+10 |
| | |||||
* | mesa: use gl_texture_index type for gl_program::SamplerTargets | Brian Paul | 2009-08-25 | 1 | -1/+1 |
| | |||||
* | mesa: add GL_DEPTH_STENCIL to glCopyPixels error check | Brian Paul | 2009-08-20 | 1 | -1/+8 |
| | | | | | Plus, add a comment about 'type' error checking. See bug 19087. | ||||
* | Merge branch 'mesa_7_5_branch' | Brian Paul | 2009-08-18 | 1 | -0/+2 |
|\ | |||||
| * | mesa: when emitting vertex program fog, set yzw=0,0,1 | Brian Paul | 2009-08-18 | 1 | -0/+2 |
| | | | | | | | | Fixes piglit fp-fog failure with gallium. | ||||
* | | mesa: call FLUSH_CURRENT() for GL_CURRENT_TEXTURE_COORDS query | Brian Paul | 2009-08-18 | 2 | -1/+5 |
| | | |||||
* | | Regenerate files for GL_ARB_seamless_cube_map | Ian Romanick | 2009-08-14 | 2 | -328/+342 |
| | | |||||
* | | Infrastructure for GL_ARB_seamless_cube_map | Ian Romanick | 2009-08-14 | 4 | -0/+19 |
| | | |||||
* | | Regenerate files for GL_APPLE_flush_buffer_range | Ian Romanick | 2009-08-14 | 1 | -2977/+3001 |
| | | |||||
* | | mesa: append uniform values to the log file the first time we use a shader | Brian Paul | 2009-08-14 | 2 | -0/+28 |
| | | | | | | | | | | This info is essential to using/debugging a shader outside of its normal application. | ||||
* | | Merge branch 'mesa_7_5_branch' | Brian Paul | 2009-08-14 | 4 | -148/+176 |
|\| | |||||
| * | Allow external settings of MAX_WIDTH/HEIGHT. | Brian Paul | 2009-08-14 | 1 | -2/+7 |
| | | | | | | | | | | | | | | Conditionalize MAX_WIDTH / MAX_HEIGHT defines so that users can set them via CFLAGS. (cherry picked from master, commit 66bc17e80e22d8f205cc02171b1c266feab6631f) | ||||
| * | mesa: move assertions in test_attachment_completeness() | Brian Paul | 2009-08-14 | 1 | -5/+7 |
| | | | | | | | | Put the assertions after the error checks. | ||||
| * | mesa: fix some invalid memory reads | Brian Paul | 2009-08-13 | 1 | -18/+57 |
| | | | | | | | | | | We were passing the address of a float to functions that would deref the pointer as an array. | ||||
| * | mesa: fix warnings about locals hiding function params | Brian Paul | 2009-08-13 | 2 | -6/+6 |
| | | |||||
| * | mesa: add missing PBO mapping code in unpack_image() | Brian Paul | 2009-08-13 | 1 | -7/+21 |
| | | |||||
| * | main: fix some potential memory leaks | Brian Paul | 2009-08-13 | 1 | -112/+85 |
| | | | | | | | | | | Allocate dlist images after error checking. Record GL_OUT_OF_MEMORY when we can't make a copy of an image. | ||||
| * | mesa: fix some potential uninitialized memory references | Brian Paul | 2009-08-13 | 2 | -2/+2 |
| | | |||||
| * | Ensure GL_EXT_blend_equation_separate is enabled when 2.0 is enabled. | Alan Hourihane | 2009-08-06 | 1 | -0/+1 |
| | | |||||
* | | mesa: call _mesa_valid_to_render() | Brian Paul | 2009-08-14 | 1 | -4/+2 |
| | | |||||
* | | mesa: new _mesa_valid_to_render() function | Brian Paul | 2009-08-14 | 2 | -1/+47 |
| | | | | | | | | | | Tests if the current shader/program is valid and that the framebuffer is complete. To be called by glBegin, glDrawArrays, etc. | ||||
* | | mesa: minor error string changes | Brian Paul | 2009-08-14 | 1 | -5/+5 |
| | | |||||
* | | Allow external settings of MAX_WIDTH/HEIGHT. | Tom Fogal | 2009-08-14 | 1 | -2/+7 |
| | | | | | | | | | | Conditionalize MAX_WIDTH / MAX_HEIGHT defines so that users can set them via CFLAGS. | ||||
* | | mesa: s/assert/ASSERT/ in _mesa_reference_texobj() | Brian Paul | 2009-08-13 | 1 | -2/+2 |
| | | | | | | | | We want the no-op ASSERT for non-debug builds. | ||||
* | | mesa: rework error check in glGetTexLevelParameter(), remove ↵ | Brian Paul | 2009-08-13 | 1 | -47/+2 |
| | | | | | | | | tex_image_dimensions() | ||||
* | | mesa: if maxLevels==0, target is invalid | Brian Paul | 2009-08-13 | 1 | -1/+4 |
| | | |||||
* | | mesa: add extension checks in _mesa_max_texture_levels() | Brian Paul | 2009-08-13 | 1 | -6/+9 |
| | | |||||
* | | mesa: minor clean-ups in bumpmap functions | Brian Paul | 2009-08-13 | 1 | -14/+39 |
| | | |||||
* | | mesa: use _mesa_get_current_tex_unit() in more places | Brian Paul | 2009-08-13 | 5 | -61/+53 |
| | |