summaryrefslogtreecommitdiff
path: root/src/mesa/main/attrib.c
AgeCommit message (Collapse)Author
2008-09-21mesa: remove EXT/NV suffixes from _mesa_PointParameter functionsBrian Paul
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-03-21include varray.h to silence warningBrian
2008-03-17mesa: avoid to unlock an unlocked array in _mesa_PopClientAttribXiang, Haihao
2008-02-04Allow first != 0 in mesa CVA handling, and add more error checking.Eric Anholt
2007-10-28Only set R_MODE with NV_point_spriteAlan Hourihane
2007-08-16replace separate 1D/2D/etc fields with an array indexed by texture targetBrian
2007-08-16Bring over the texobj refcounting changes from mesa_7_0_branchBrian
2007-08-13Implement mutex/locking around texture object reference counting.Brian
Use new _mesa_reference_texobj() function for referencing/unreferencing textures. Add new assertions/tests to try to detect invalid usage of deleted textures.
2007-07-19fix mesa's handling of fbo's / window fb (again)Roland Scheidegger
Make sure the relevant fields in window fbs get updated at appropriate time (those are NOT the same as fbos!!!), and fix up related code accordingly. This is a bit ugly, but there's a reason the issues section in EXT_fbo is a couple hundred pages long... Hopefully correct now.
2007-05-23restore GL_TEXTURE_LOD_BIAS in _mesa_PopAttrib(), bug 11049Brian
2007-05-23incr/decr 1D/2DArray texture refcounts like other targetsBrian
2007-05-19need to copy new 1D/2D array texture objects in _mesa_PushAttrib()Brian
2007-05-16Initial implementation of MESA_texture_arrayIan Romanick
Shadow sampling from texture arrays is still not implemented. Everything else should be there, though.
2007-04-17don't set GL_TEXTURE_MAX_LEVEL for GL_TEXTURE_RECTANGLE_ARB as that ↵Brian
generates an error
2007-03-16Colortable re-org.Brian
The pixel transfer path has three color table lookups. Use an array [3] to store that info, rather than separate variables.
2007-01-05Fix glPush/PopClientAttrib() for VBO state (bug 9445).Brian
2006-11-20fix glPopAttrib/color material bug #9091Brian Paul
2006-11-01Merge texmem-0-3-branch.Keith Whitwell
2006-08-04fix bug when pushing ReadBuffer state for GL_PIXEL_MODE_BITBrian Paul
2006-06-12include arrayobj.hBrian Paul
2006-06-12Add support for GL_APPLE_vertex_array_object. Several test programsIan Romanick
and demos are also added. Adding basic support to drivers should be as easy as just enabling the extension, though thorough test would also be required.
2006-04-22Fix yet another issue with popping GL_DRAW_BUFFER state with respect toBrian Paul
single vs. multiple outputs and what kind of FBO is currently bound.
2006-04-14When popping GL_DRAW_BUFFER state, need to re-do error checking sinceBrian Paul
validity depends on whether a window-system FBO or user-created FBO is currently bound. glPopAttrib() may generate GL_INVALID_OPERATION because of this.
2006-03-03Use standard ARB names instead of vendor-specific NV names for the ↵Roland Scheidegger
ARB/NV_vertex_program enums in common state handling code, and update comments accordingly. Change some slightly confusing code which gave the impression GL_VERTEX_PROGRAM_ARB and GL_VERTEX_PROGRAM_NV enums were different.
2005-12-14Removed the GL_SGIX/SGIS_pixel_texture extensions. Same thing can beBrian Paul
done with fragment programs nowadays.
2005-11-12Added _mesa_light() helper function so we can avoid transforming thenBrian Paul
un-transforming light positions and spot directions when popping light state off the attribute stack.
2005-11-10s/MAX_LIGHTS/ctx->Const.MaxLights/ and spruce up some commentsBrian Paul
2005-11-10fix popping of GL_SPOT_DIRECTION (bug 5005)Brian Paul
2005-11-09fix popping of GL_EYE_PLANE state (bug 4996)Brian Paul
2005-09-13Replace ctx->Driver.StencilOp/Func/Mask() functions withBrian Paul
ctx->Driver.Stencil*Separate() functions.
2005-09-13OpenGL 2.0's two-sided stencil feature wasn't implemented correctly.Brian Paul
See comment near top of stencil.c for info about OpenGL 2.0 vs. GL_EXT_stencil_two_side.
2005-08-31remove dead code, update commentsBrian Paul
2005-08-25removed GL_HP_occlusion_test extensionBrian Paul
2005-06-30Add a set of predicate functions for testing matrices instead of directlyBrian Paul
testing the flags field. Move definition of all the MAT_FLAGs into the m_matrix.c file since they're now private.
2005-05-27properly pop the GL_TEXTURE_GEN_ enable stateBrian Paul
2005-05-04Major check-in of changes for GL_EXT_framebuffer_object extension.Brian Paul
Main driver impacts: - new code for creating the Mesa GLframebuffer - new span/pixel read/write code Some drivers not yet updated/tested.
2004-11-22handle ENABLE_BIT for EXT_stencil_two_sideDaniel Borca
2004-11-15use parentheses to avoid warningDaniel Borca
2004-11-12pop(stencil) for EXT_stencil_two_sideDaniel Borca
2004-10-02added support for GL_ARB_draw_buffersBrian Paul
2004-09-13Handle GL_MAX_VERTEX_ATTRIBS_ARB in glGet*().Brian Paul
Define 2.0 point-sprite related tokens in glheader.h (temporary).
2004-09-13changes towards GL_ARB_point_sprite (two-zero)Daniel Borca
2004-03-13Implementation of GL_EXT_pixel_buffer_object extension.Brian Paul
Note: extension may not be finalized yet - subject to change! Note: implementation not fully suitable for h/w implementation yet.
2004-02-11Do more bookkeeping of vertex buffer object reference counts.Brian Paul
Incr/decr counts when doing glPush/PopClientAttrib(GL_CLIENT_VERTEX_ARRAY_BIT).
2004-02-06Refactor "class" texture environments to be implemented in terms ofIan Romanick
ARB_texture_env_combine state.
2004-01-27Added support for EXT_blend_equation_separate / ATI_blend_equation_separate.Ian Romanick
The internal driver interface was also changed to use BlendEquationSeparate instead of BlendEquation.
2003-10-21Added GLAPIENTRY decorations for all first level OpenGL API function entryKendall Bennett
points so that the calling conventions will work correctly with the assembler stubs with the Open Watcom compiler.
2003-08-23Trivial changes to add support for GL_ARB_point_sprite, which is aIan Romanick
subset of GL_NV_point_sprite (which was already supported).