summaryrefslogtreecommitdiff
path: root/src/mesa/main/attrib.c
AgeCommit message (Collapse)Author
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).
2003-08-05Store material attributes in an Attrib[] style array. This is aKeith Whitwell
first step to reviving/rescuing the 'vtx' rework from the old mesa tree.
2003-07-17Merge Jose's documentation and core Mesa changes from embedded branchKeith Whitwell
2003-06-05Removed all RCS / CVS tags (Id, Header, Date, etc.) from everything.Ian Romanick
2003-02-05fix bug in popping texture color table stateBrian Paul
2003-01-26Make GL_SGI_texture_color_table work per-texture unit.Brian Paul
Clean-up and optimize _swrast_texture_table_lookup().
2003-01-22push/pop color table state (Eric Plante)Brian Paul
2002-10-24Header file clean-up:Brian Paul
1. Remove all.h and PC_HEADER junk. 2. Rolled mem.c and mem.h into imports.c and imports.h 3. Include imports.h instead of mem.h Restore _mesa_create/initialize_context() to be like they were in 4.0.4 New wrappers for a few std C functions: _mesa_atoi(), _mesa_strstr(), etc.
2002-10-17Add casts to quiet compiler warnings.Karl Schultz
2002-10-11check EXT_point_parameters before calling PointParameterfvEXT()Brian Paul
2002-10-04Changed a number of context fields from GLchan to GLfloat (such as ClearColor).Brian Paul
Also changed parameter types for some driver functions (like ctx->Driver.Clear- Color). Updated all the device drivers. Someday, we want to support 8, 16 and 32-bit channels dynamically at runtime.
2002-09-06GL_EXT_stencil_two_side extension, not 100% complete yet.Brian Paul
2002-09-03s/5/NUM_TEXTURE_TARGETS/Brian Paul
2002-06-17Port glXCopyContext bug from 4.0 branch.Brian Paul
2002-06-15Implemented GL_NV_texture_rectangle extension.Brian Paul
Replace struct gl_texure_object's Dimension w/ Target field. Added _EnabledUnits to struct gl_texture_attrib - the _ReallyEnabled field is obsolete, but still present for now. This effectively removes the 8-texture units limit, 32 units now possible, but unlikely! New TEXTURE_1D/2D/3D/CUBE/RECT_BIT tokens for unit->_ReallyEnabled field. Updated device drivers to use ctx->Texture._EnabledUnits.
2002-06-15Added ctx parameter to _mesa_debug()Brian Paul
Added _mesa_printf() Updated SetDrawBuffer() function in all drivers (ala 4.0.3) Import 4.0.3/DRI changes.
2002-06-13New _mesa_debug() function to replace fprintf() calls.Brian Paul
Some source files updated to call _mesa_debug(), but not finished. Added __GLimports as a parameter to _mesa_create/init_context() and updated drivers accordingly. Fleshed-out more of the __GLimports and __GLexports functionality. Removed run-time config file support (config.c)
2002-06-07fixed point sprite bugBrian Paul
2002-05-27replaced experimental MESA_sprite_point with NV_point_spriteBrian Paul
2002-04-01minor optimization in GL_TRANSFORM_BIT poppingBrian Paul
2002-03-29Replaced ClipEnabled[] array and _AnyClip with ClipPlanesEnabled bitmask.Brian Paul
2002-03-28popping of user-defined clip planes was brokenBrian Paul
2002-02-13More suport for t&l driversKeith Whitwell
Fix GLuint compare bugs Fix RESET_STIPPLE calls
2002-01-05infrastructure for vertex program attribute evaluatorsBrian Paul
2001-12-14vertex program check-inBrian Paul