Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa: handle vertex program enabled case also in texenvprogram.c | Keith Whitwell | 2008-10-04 | 1 | -5/+4 |
| | |||||
* | mesa: avoid generating constant vertex attributes in fixedfunc programs | Keith Whitwell | 2008-10-03 | 4 | -6/+131 |
| | | | | | | | | | | | | Keep track of enabled/active vertex attributes. Keep track of potential vertex program outputs. When generating fragment program, replace references to fragment attributes which are effectively non-varying and non-computed passthrough attributes with references to the new CURRENT_ATTRIB tracked state value. Only downside is slight ugliness in VBO code where we need to validate state twice in succession. | ||||
* | mesa: add new internal state for tracking current vertex attribs | Keith Whitwell | 2008-10-03 | 2 | -0/+5 |
| | |||||
* | mesa: shrink texenvprogram state key struct | Keith Whitwell | 2008-10-03 | 1 | -5/+7 |
| | |||||
* | mesa: fix temp register allocation problems. | Brian Paul | 2008-09-26 | 1 | -0/+15 |
| | | | | Complex texcombine modes were running out of registers (>32 registers for 8 tex units). | ||||
* | mesa: fix/simplify initialization of vertex/fragment program limits | Brian Paul | 2008-09-25 | 2 | -30/+27 |
| | | | | | | Defaults for program length, num ALU instructions, num indirections, etc. basically indicate no limit for software rendering. Driver should override as needed. | ||||
* | mesa: increase MAX_INSTRUCTIONS | Brian Paul | 2008-09-25 | 1 | -4/+2 |
| | |||||
* | mesa: fix swizzle failure, fix typo | Brian Paul | 2008-09-25 | 1 | -3/+5 |
| | |||||
* | mesa: fix default buffer object access value | Brian Paul | 2008-09-25 | 1 | -2/+9 |
| | |||||
* | mesa: new gl_fragment_program fields indicating use of fog, front-facing, ↵ | Brian Paul | 2008-09-17 | 1 | -1/+4 |
| | | | | point coord | ||||
* | mesa: rework GLSL vertex attribute binding | Brian Paul | 2008-09-16 | 1 | -1/+3 |
| | | | | | | | Calls to glBindAttribLocation() should not take effect until the next time that glLinkProgram() is called. gl_shader_program::Attributes now just contains user-defined bindings. gl_shader_program::VertexProgram->Attributes contains the actual/final bindings. | ||||
* | mesa: fix MSAA enable state in update_multisample() | Brian Paul | 2008-09-15 | 1 | -4/+4 |
| | |||||
* | mesa: remove some assertions that are invalid during context tear-down | Brian Paul | 2008-09-15 | 1 | -1/+4 |
| | |||||
* | mesa: get another class of degenerate dlists working | Keith Whitwell | 2008-09-15 | 1 | -2/+5 |
| | | | | Primitive begin in one dlist, end in another. | ||||
* | mesa: replace MALLOC w/ CALLOC to fix memory error in glPushClientAttrib() | Brian Paul | 2008-09-05 | 1 | -1/+1 |
| | |||||
* | mesa: improved gl_buffer_object reference counting | Brian Paul | 2008-09-04 | 5 | -160/+172 |
| | | | | | Use new _mesa_reference_buffer_object() function wherever possible. Fixes buffer object/display list crash reported in ParaView. | ||||
* | mesa: Silence compiler warnings on Windows. | Michal Krol | 2008-09-04 | 1 | -1/+1 |
| | |||||
* | mesa: merge stencil values into depth values for MESA_FORMAT_S8_Z24 | Xiang, Haihao | 2008-09-04 | 1 | -2/+2 |
| | | | | Cherry-picked from master | ||||
* | fix BUFFER_DEPTH/BUFFER_ACCUM mix-up | Brian Paul | 2008-09-02 | 1 | -6/+6 |
| | |||||
* | mesa: use CALLOC instead of MALLOC to fix valgrind warning | Brian Paul | 2008-09-01 | 1 | -1/+1 |
| | |||||
* | mesa: remove debug code | Brian Paul | 2008-08-28 | 1 | -2/+0 |
| | |||||
* | mesa: dynamically grow the fixed function vertex program as needed | Brian Paul | 2008-08-28 | 1 | -10/+46 |
| | | | | | Don't use a fixed-size array. Saves memory in most cases and avoids potential overflow for long programs. | ||||
* | mesa: bump MAX_INSN to 300 | Brian Paul | 2008-08-28 | 1 | -1/+1 |
| | |||||
* | mesa: allow for extra per-context init | Brian Paul | 2008-08-19 | 3 | -4/+7 |
| | |||||
* | mesa: rearrange some code in _mesa_BindTexture() to fix error detection bug ↵ | Brian Paul | 2008-08-18 | 1 | -42/+59 |
| | | | | | | 17173 Also, move GL_TEXTURE_RECTANGLE init code into separate function. | ||||
* | mesa: texture crop rect state | Brian Paul | 2008-08-12 | 3 | -1/+35 |
| | |||||
* | mesa: set point state | Brian Paul | 2008-08-12 | 1 | -0/+4 |
| | |||||
* | mesa: fix some feature tests | Brian Paul | 2008-08-08 | 2 | -6/+2 |
| | |||||
* | mesa: fix some pixel transfer state tests for depth formats | Brian Paul | 2008-08-08 | 1 | -5/+9 |
| | |||||
* | mesa: fix out-of-bounds memory reads in swizzle_copy() | Brian Paul | 2008-08-08 | 1 | -29/+89 |
| | |||||
* | mesa: fix glBindTexture comment/error string | Brian Paul | 2008-08-07 | 1 | -2/+2 |
| | |||||
* | fix some FBO/texture queries (bug 15296) | Brian Paul | 2008-08-06 | 1 | -2/+12 |
| | |||||
* | added null ptr check (fix bug 16959) | Brian Paul | 2008-08-03 | 1 | -1/+2 |
| | |||||
* | mesa: fix issues causing warnings on Windows | Brian Paul | 2008-07-25 | 1 | -7/+4 |
| | |||||
* | mesa: Mark as XXX unresolved warnings on windows. | Michal Krol | 2008-07-25 | 1 | -0/+5 |
| | |||||
* | mesa: move extensions->version code into separate function | Brian Paul | 2008-07-24 | 1 | -66/+72 |
| | |||||
* | mesa: don't include Mesa version in GL_SHADING_LANGUAGE_VERSION string | Brian Paul | 2008-07-24 | 1 | -3/+5 |
| | |||||
* | mesa: glsl: only try to link shaders defining main() | Brian Paul | 2008-07-24 | 1 | -2/+2 |
| | |||||
* | mesa: remove an error check for NV_v_p that doesn't apply to ARB_v_p | Brian Paul | 2008-07-21 | 1 | -5/+0 |
| | |||||
* | mesa: add GL_POLYGON_OFFSET_POINT/LINE/FILL queries, remove ↵ | Brian Paul | 2008-07-16 | 2 | -42/+30 |
| | | | | | | GL_TEXTURE_ENV_COLOR, GL_TEXTURE_ENV_MODE Issues found by Bob Ellison. | ||||
* | mesa: Silence compiler warnings on Windows. | Michal Krol | 2008-07-15 | 3 | -7/+7 |
| | |||||
* | mesa: comments about vectors vs components | Brian Paul | 2008-07-14 | 2 | -3/+3 |
| | |||||
* | mesa: fix stencil state problem when GL_ATI_separate_stencil wasn't enabled | Brian Paul | 2008-07-14 | 1 | -47/+49 |
| | | | | | | | | | In glStencilFunc/Op/Mask() set both the front and back-face state, unless GL_EXT_stencil_two_side is enabled. Before, we only set the front+back state if GL_ATI_separate_stencil was enabled. Ultimately, we probably should remove GL_EXT_stencil_two_side since it's incompatible with GL 2.x. | ||||
* | mesa: also check for __NetBSD__ | Blair Sadewitz | 2008-07-14 | 1 | -1/+1 |
| | |||||
* | mesa: check for OpenBSD (bug 15604) | Brian Paul | 2008-07-09 | 1 | -1/+11 |
| | | | | cherry-picked from master | ||||
* | mesa: remove debug code | Brian Paul | 2008-07-08 | 1 | -1/+0 |
| | |||||
* | mesa: implement glGetUniformiv() with new ctx->Driver function | Brian Paul | 2008-07-08 | 2 | -5/+4 |
| | | | | The old implementation could overwrite the caller's param buffer. | ||||
* | mesa: Replace Proxy1D/2D/etc with ProxyTex[] indexed by TEXTURE_x_INDEX. | Brian Paul | 2008-07-04 | 4 | -296/+153 |
| | | | | | | Simplification in colortab.c too. cherry-picked from master (fe469007037d9d5cdbe1677d8ff7368b276e9e7c) | ||||
* | mesa: Implement mutex/locking around texture object reference counting. | Brian Paul | 2008-07-04 | 8 | -213/+194 |
| | | | | | | | | Use new _mesa_reference_texobj() function for referencing/unreferencing textures. Add new assertions/tests to try to detect invalid usage of deleted textures. cherry-picked from master (9e01b915f1243a3f551cb795b7124bd1e52ca15f) | ||||
* | mesa: move assertion | Brian Paul | 2008-07-04 | 1 | -2/+2 |
| |