Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-03-03 | mesa: add MapBufferRange driver callbacks | Keith Whitwell | |
Will be needed in coming GL extensions (GL_map_buffer_range, GL 3.0). Will be used by the vbo module to avoid reallocating vbo's at each draw primitive call. | |||
2009-03-03 | mesa: Add BeginVertices driver call | Keith Whitwell | |
Provides notification to the VBO modules prior to the first immediate call. Pairs with FlushVertices() | |||
2009-01-07 | mesa: Add _mesa_snprintf. | José Fonseca | |
On Windows snprintf is renamed as _snprintf. | |||
2009-01-06 | add GL_READ_FRAMEBUFFER_BINDING_EXT case, regenerate get.c file | Brian Paul | |
(cherry picked from commit 816fbeaa813e5cdca314a39677c74c8dc700d35a) Conflicts: src/mesa/main/get.c | |||
2009-01-06 | mesa: fix GL_DEPTH_CLEAR_VALUE casting | Brian Paul | |
2009-01-06 | mesa: fix cast/conversion for optional code | Brian | |
(cherry picked from commit 1e3a44fab068f00378613456036716d0c3772969) | |||
2009-01-06 | mesa: fix float->int mapping for glGetIntegerv(GL_DEPTH_CLEAR_VALUE) | Brian Paul | |
(cherry picked from commit 8124faf89d638285d8e9aa93adc3ca7f4ee729f3) Conflicts: src/mesa/main/get.c | |||
2009-01-06 | mesa: Use explicit casts when precision is lost. | José Fonseca | |
Silences MSVC. | |||
2009-01-06 | mesa: fix conditional in save_Lightfv(), bug 18838 | Brian | |
(cherry picked from commit 1e2f57425153d73646fde7c91c16aa5559491556) | |||
2009-01-06 | mesa: add gl_program::Input/OutputFlags[] array | Brian Paul | |
These arrays will indicate per-input or per-output options for vertex/fragment programs such as centroid-sampling and invariance. (cherry picked from commit b730d0d3e9b202b17a0815cb820fc9905f35cb98) | |||
2008-12-18 | mesa: Pass the context to query object delete cb to avoid null dereference. | Eric Anholt | |
2008-12-17 | mesa: choose GLSL vertex shader over ARB/internal vertex program in ↵ | Brian Paul | |
get_fp_input_mask() This is a work-around the for the fact that we do fragment shader state validation before vertex shader validation (see comments in state.c) so in get_fp_input_mask() we can't rely on ctx->VertexProgram._Current being up to date yet. This fixes a glean glsl1 test failure. | |||
2008-12-17 | mesa: fix fixed-function test in get_fp_input_mask() - again. | Brian Paul | |
The problem we're solving only occured when there was a user-defined vertex shader but no fragment shader. Check for that case now. Fixes glean api2 vertex array failure. | |||
2008-12-17 | mesa: add missing cases for texture array targets | Brian Paul | |
2008-12-17 | Revert "mesa: fix vertex program test in get_fp_input_mask()" | Brian Paul | |
This reverts commit cdaaf8e107010624bed4abdf9553c0ef63c8b708. | |||
2008-12-17 | mesa: fix vertex program test in get_fp_input_mask() | Brian Paul | |
We were accidentally using the fixed-function logic when a vertex shader was being used. | |||
2008-11-11 | mesa: 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-07 | mesa: use _bfc0 instead of _col0 when building back face lighting. | Brian Paul | |
cherry-picked from master: 4550b0562d5b59890fccb0e7eb0dbef967d1ccf9 | |||
2008-11-01 | mesa: additional debug flags for glsl debug/disassembly | Brian Paul | |
2008-10-20 | mesa: note that texcoords are generated by setup routines when pointsprite ↵ | Keith Whitwell | |
enabled | |||
2008-10-14 | mesa: modify fixed function vertex programs not to reference constant attributes | Keith Whitwell | |
2008-10-10 | mesa: new _mesa_set_vp_override() function for driver-override of vertex program | Brian 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-07 | mesa: replace GLuint with GLbitfield to be clearer about usage | Brian Paul | |
Also, fix up some comments to be doxygen style. | |||
2008-10-07 | mesa: protect against segfault in get_fp_input_mask() | Keith Whitwell | |
2008-10-06 | mesa: fix convolve/convolution mix-ups | Brian | |
2008-10-06 | mesa: add missing GLcontext param to _mesa_delete_query(). | Brian Paul | |
Fixes vtk crash and others. | |||
2008-10-04 | mesa: handle vertex program enabled case also in texenvprogram.c | Keith Whitwell | |
2008-10-03 | mesa: avoid generating constant vertex attributes in fixedfunc programs | Keith 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-03 | mesa: add new internal state for tracking current vertex attribs | Keith Whitwell | |
2008-10-03 | mesa: shrink texenvprogram state key struct | Keith Whitwell | |
2008-09-26 | mesa: fix temp register allocation problems. | Brian Paul | |
Complex texcombine modes were running out of registers (>32 registers for 8 tex units). | |||
2008-09-25 | mesa: fix/simplify initialization of vertex/fragment program limits | Brian 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-25 | mesa: increase MAX_INSTRUCTIONS | Brian Paul | |
2008-09-25 | mesa: fix swizzle failure, fix typo | Brian Paul | |
2008-09-25 | mesa: fix default buffer object access value | Brian Paul | |
2008-09-17 | mesa: new gl_fragment_program fields indicating use of fog, front-facing, ↵ | Brian Paul | |
point coord | |||
2008-09-16 | mesa: rework GLSL vertex attribute binding | Brian 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-15 | mesa: fix MSAA enable state in update_multisample() | Brian Paul | |
2008-09-15 | mesa: remove some assertions that are invalid during context tear-down | Brian Paul | |
2008-09-15 | mesa: get another class of degenerate dlists working | Keith Whitwell | |
Primitive begin in one dlist, end in another. | |||
2008-09-05 | mesa: replace MALLOC w/ CALLOC to fix memory error in glPushClientAttrib() | Brian Paul | |
2008-09-04 | mesa: improved gl_buffer_object reference counting | Brian Paul | |
Use new _mesa_reference_buffer_object() function wherever possible. Fixes buffer object/display list crash reported in ParaView. | |||
2008-09-04 | mesa: Silence compiler warnings on Windows. | Michal Krol | |
2008-09-04 | mesa: merge stencil values into depth values for MESA_FORMAT_S8_Z24 | Xiang, Haihao | |
Cherry-picked from master | |||
2008-09-02 | fix BUFFER_DEPTH/BUFFER_ACCUM mix-up | Brian Paul | |
2008-09-01 | mesa: use CALLOC instead of MALLOC to fix valgrind warning | Brian Paul | |
2008-08-28 | mesa: remove debug code | Brian Paul | |
2008-08-28 | mesa: dynamically grow the fixed function vertex program as needed | Brian Paul | |
Don't use a fixed-size array. Saves memory in most cases and avoids potential overflow for long programs. | |||
2008-08-28 | mesa: bump MAX_INSN to 300 | Brian Paul | |
2008-08-19 | mesa: allow for extra per-context init | Brian Paul | |