summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
Commit message (Collapse)AuthorAgeFilesLines
* mesa: restore the negate flag of dots in build_lighting.Xiang, Haihao2008-11-111-0/+3
| | | | | Dots is re-used if more than one light is enabled. Previously the negate flag of dots may affect next light.
* mesa: use _bfc0 instead of _col0 when building back face lighting.Brian Paul2008-11-071-3/+2
| | | | cherry-picked from master: 4550b0562d5b59890fccb0e7eb0dbef967d1ccf9
* mesa: additional debug flags for glsl debug/disassemblyBrian Paul2008-11-012-30/+28
|
* mesa: note that texcoords are generated by setup routines when pointsprite ↵Keith Whitwell2008-10-201-0/+12
| | | | enabled
* mesa: modify fixed function vertex programs not to reference constant attributesKeith Whitwell2008-10-142-30/+41
|
* mesa: new _mesa_set_vp_override() function for driver-override of vertex programBrian Paul2008-10-104-11/+51
| | | | | | | | Patch provide by Keith. Used in state tracker by DrawPixels to indicate that the state tracker (driver) is using its own vertex program. This prevents the texenvprogram code from replacing conventional shader inputs with state vars. Fixes glDraw/CopyPixels regressions.
* mesa: replace GLuint with GLbitfield to be clearer about usageBrian Paul2008-10-074-17/+19
| | | | Also, fix up some comments to be doxygen style.
* 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.