summaryrefslogtreecommitdiff
path: root/src/mesa/main
AgeCommit message (Collapse)Author
2008-11-11mesa: restore the negate flag of dots in build_lighting.Xiang, Haihao
Dots is re-used if more than one light is enabled. Previously the negate flag of dots may affect next light.
2008-11-07mesa: use _bfc0 instead of _col0 when building back face lighting.Brian Paul
cherry-picked from master: 4550b0562d5b59890fccb0e7eb0dbef967d1ccf9
2008-11-01mesa: additional debug flags for glsl debug/disassemblyBrian Paul
2008-10-20mesa: note that texcoords are generated by setup routines when pointsprite ↵Keith Whitwell
enabled
2008-10-14mesa: modify fixed function vertex programs not to reference constant attributesKeith Whitwell
2008-10-10mesa: new _mesa_set_vp_override() function for driver-override of vertex programBrian Paul
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.
2008-10-07mesa: replace GLuint with GLbitfield to be clearer about usageBrian Paul
Also, fix up some comments to be doxygen style.
2008-10-07mesa: protect against segfault in get_fp_input_mask()Keith Whitwell
2008-10-06mesa: fix convolve/convolution mix-upsBrian
2008-10-06mesa: add missing GLcontext param to _mesa_delete_query().Brian Paul
Fixes vtk crash and others.
2008-10-04mesa: handle vertex program enabled case also in texenvprogram.cKeith Whitwell
2008-10-03mesa: avoid generating constant vertex attributes in fixedfunc programsKeith Whitwell
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.
2008-10-03mesa: add new internal state for tracking current vertex attribsKeith Whitwell
2008-10-03mesa: shrink texenvprogram state key structKeith Whitwell
2008-09-26mesa: fix temp register allocation problems.Brian Paul
Complex texcombine modes were running out of registers (>32 registers for 8 tex units).
2008-09-25mesa: fix/simplify initialization of vertex/fragment program limitsBrian Paul
Defaults for program length, num ALU instructions, num indirections, etc. basically indicate no limit for software rendering. Driver should override as needed.
2008-09-25mesa: increase MAX_INSTRUCTIONSBrian Paul
2008-09-25mesa: fix swizzle failure, fix typoBrian Paul
2008-09-25mesa: fix default buffer object access valueBrian Paul
2008-09-17mesa: new gl_fragment_program fields indicating use of fog, front-facing, ↵Brian Paul
point coord
2008-09-16mesa: rework GLSL vertex attribute bindingBrian Paul
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.
2008-09-15mesa: fix MSAA enable state in update_multisample()Brian Paul
2008-09-15mesa: remove some assertions that are invalid during context tear-downBrian Paul
2008-09-15mesa: get another class of degenerate dlists workingKeith Whitwell
Primitive begin in one dlist, end in another.
2008-09-05mesa: replace MALLOC w/ CALLOC to fix memory error in glPushClientAttrib()Brian Paul
2008-09-04mesa: improved gl_buffer_object reference countingBrian Paul
Use new _mesa_reference_buffer_object() function wherever possible. Fixes buffer object/display list crash reported in ParaView.
2008-09-04mesa: Silence compiler warnings on Windows.Michal Krol
2008-09-04mesa: merge stencil values into depth values for MESA_FORMAT_S8_Z24Xiang, Haihao
Cherry-picked from master
2008-09-02fix BUFFER_DEPTH/BUFFER_ACCUM mix-upBrian Paul
2008-09-01mesa: use CALLOC instead of MALLOC to fix valgrind warningBrian Paul
2008-08-28mesa: remove debug codeBrian Paul
2008-08-28mesa: dynamically grow the fixed function vertex program as neededBrian Paul
Don't use a fixed-size array. Saves memory in most cases and avoids potential overflow for long programs.
2008-08-28mesa: bump MAX_INSN to 300Brian Paul
2008-08-19mesa: allow for extra per-context initBrian Paul
2008-08-18mesa: rearrange some code in _mesa_BindTexture() to fix error detection bug ↵Brian Paul
17173 Also, move GL_TEXTURE_RECTANGLE init code into separate function.
2008-08-12mesa: texture crop rect stateBrian Paul
2008-08-12mesa: set point stateBrian Paul
2008-08-08mesa: fix some feature testsBrian Paul
2008-08-08mesa: fix some pixel transfer state tests for depth formatsBrian Paul
2008-08-08mesa: fix out-of-bounds memory reads in swizzle_copy()Brian Paul
2008-08-07mesa: fix glBindTexture comment/error stringBrian Paul
2008-08-06fix some FBO/texture queries (bug 15296)Brian Paul
2008-08-03added null ptr check (fix bug 16959)Brian Paul
2008-07-25mesa: fix issues causing warnings on WindowsBrian Paul
2008-07-25mesa: Mark as XXX unresolved warnings on windows.Michal Krol
2008-07-24mesa: move extensions->version code into separate functionBrian Paul
2008-07-24mesa: don't include Mesa version in GL_SHADING_LANGUAGE_VERSION stringBrian Paul
2008-07-24mesa: glsl: only try to link shaders defining main()Brian Paul
2008-07-21mesa: remove an error check for NV_v_p that doesn't apply to ARB_v_pBrian Paul
2008-07-16mesa: add GL_POLYGON_OFFSET_POINT/LINE/FILL queries, remove ↵Brian Paul
GL_TEXTURE_ENV_COLOR, GL_TEXTURE_ENV_MODE Issues found by Bob Ellison.