summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
Commit message (Collapse)AuthorAgeFilesLines
* mesa: protect against segfault in get_fp_input_mask()Keith Whitwell2008-10-071-1/+4
|
* mesa: fix convolve/convolution mix-upsBrian2008-10-062-3/+3
|
* mesa: add missing GLcontext param to _mesa_delete_query().Brian Paul2008-10-062-2/+2
| | | | Fixes vtk crash and others.
* mesa: handle vertex program enabled case also in texenvprogram.cKeith Whitwell2008-10-041-5/+4
|
* mesa: avoid generating constant vertex attributes in fixedfunc programsKeith Whitwell2008-10-034-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 attribsKeith Whitwell2008-10-032-0/+5
|
* mesa: shrink texenvprogram state key structKeith Whitwell2008-10-031-5/+7
|
* mesa: fix temp register allocation problems.Brian Paul2008-09-261-0/+15
| | | | Complex texcombine modes were running out of registers (>32 registers for 8 tex units).
* mesa: fix/simplify initialization of vertex/fragment program limitsBrian Paul2008-09-252-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_INSTRUCTIONSBrian Paul2008-09-251-4/+2
|
* mesa: fix swizzle failure, fix typoBrian Paul2008-09-251-3/+5
|
* mesa: fix default buffer object access valueBrian Paul2008-09-251-2/+9
|
* mesa: new gl_fragment_program fields indicating use of fog, front-facing, ↵Brian Paul2008-09-171-1/+4
| | | | point coord
* mesa: rework GLSL vertex attribute bindingBrian Paul2008-09-161-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 Paul2008-09-151-4/+4
|
* mesa: remove some assertions that are invalid during context tear-downBrian Paul2008-09-151-1/+4
|
* mesa: get another class of degenerate dlists workingKeith Whitwell2008-09-151-2/+5
| | | | Primitive begin in one dlist, end in another.
* mesa: replace MALLOC w/ CALLOC to fix memory error in glPushClientAttrib()Brian Paul2008-09-051-1/+1
|
* mesa: improved gl_buffer_object reference countingBrian Paul2008-09-045-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 Krol2008-09-041-1/+1
|
* mesa: merge stencil values into depth values for MESA_FORMAT_S8_Z24Xiang, Haihao2008-09-041-2/+2
| | | | Cherry-picked from master
* fix BUFFER_DEPTH/BUFFER_ACCUM mix-upBrian Paul2008-09-021-6/+6
|
* mesa: use CALLOC instead of MALLOC to fix valgrind warningBrian Paul2008-09-011-1/+1
|
* mesa: remove debug codeBrian Paul2008-08-281-2/+0
|
* mesa: dynamically grow the fixed function vertex program as neededBrian Paul2008-08-281-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 300Brian Paul2008-08-281-1/+1
|
* mesa: allow for extra per-context initBrian Paul2008-08-193-4/+7
|
* mesa: rearrange some code in _mesa_BindTexture() to fix error detection bug ↵Brian Paul2008-08-181-42/+59
| | | | | | 17173 Also, move GL_TEXTURE_RECTANGLE init code into separate function.
* mesa: texture crop rect stateBrian Paul2008-08-123-1/+35
|
* mesa: set point stateBrian Paul2008-08-121-0/+4
|
* mesa: fix some feature testsBrian Paul2008-08-082-6/+2
|
* mesa: fix some pixel transfer state tests for depth formatsBrian Paul2008-08-081-5/+9
|
* mesa: fix out-of-bounds memory reads in swizzle_copy()Brian Paul2008-08-081-29/+89
|
* mesa: fix glBindTexture comment/error stringBrian Paul2008-08-071-2/+2
|
* fix some FBO/texture queries (bug 15296)Brian Paul2008-08-061-2/+12
|
* added null ptr check (fix bug 16959)Brian Paul2008-08-031-1/+2
|
* mesa: fix issues causing warnings on WindowsBrian Paul2008-07-251-7/+4
|
* mesa: Mark as XXX unresolved warnings on windows.Michal Krol2008-07-251-0/+5
|
* mesa: move extensions->version code into separate functionBrian Paul2008-07-241-66/+72
|
* mesa: don't include Mesa version in GL_SHADING_LANGUAGE_VERSION stringBrian Paul2008-07-241-3/+5
|
* mesa: glsl: only try to link shaders defining main()Brian Paul2008-07-241-2/+2
|
* mesa: remove an error check for NV_v_p that doesn't apply to ARB_v_pBrian Paul2008-07-211-5/+0
|
* mesa: add GL_POLYGON_OFFSET_POINT/LINE/FILL queries, remove ↵Brian Paul2008-07-162-42/+30
| | | | | | GL_TEXTURE_ENV_COLOR, GL_TEXTURE_ENV_MODE Issues found by Bob Ellison.
* mesa: Silence compiler warnings on Windows.Michal Krol2008-07-153-7/+7
|
* mesa: comments about vectors vs componentsBrian Paul2008-07-142-3/+3
|
* mesa: fix stencil state problem when GL_ATI_separate_stencil wasn't enabledBrian Paul2008-07-141-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 Sadewitz2008-07-141-1/+1
|
* mesa: check for OpenBSD (bug 15604)Brian Paul2008-07-091-1/+11
| | | | cherry-picked from master
* mesa: remove debug codeBrian Paul2008-07-081-1/+0
|
* mesa: implement glGetUniformiv() with new ctx->Driver functionBrian Paul2008-07-082-5/+4
| | | | The old implementation could overwrite the caller's param buffer.