summaryrefslogtreecommitdiff
path: root/src/mesa/main/mtypes.h
AgeCommit message (Collapse)Author
2002-04-09bring in changes from dri tcl branchKeith Whitwell
2002-03-29Replaced ClipEnabled[] array and _AnyClip with ClipPlanesEnabled bitmask.Brian Paul
2002-03-23Test implementation of proposed GL_EXT_shadow_funcs extension. This justBrian Paul
generalizes the R/texture comparision operators to include all eight of the depth test comparisons.
2002-03-16Lots of changes related to framebuffer/window buffer resizing. Basically,Brian Paul
instead of passing a GLcontext* to ResizeBuffers(), pass a GLframebuffer*. The idea is that a window can be resized without it being bound to a rendering context. This makes for a nice clean-up in the XFree86 server-side GLX code. Renamed ctx->Driver.ResizeBuffersMESA() to ctx->Driver.ResizeBuffers().
2002-03-13initial work for NV_vertex_program1_1 extensionBrian Paul
2002-02-15Finished up GL_ARB_depth_texture and GL_ARB_shadowBrian Paul
2002-02-13More suport for t&l driversKeith Whitwell
Fix GLuint compare bugs Fix RESET_STIPPLE calls
2002-01-22Clean-up/renaming of the per-vertex attribute bits, specifically, theBrian Paul
VERT_BIT_* flags are new and used in many places (esp in T&L code). Updated some comments for doxygen. Various code clean-ups.
2002-01-12added some commentsBrian Paul
2002-01-11Moved _mesa_VertexAttribPointerNV into varray.c.Brian Paul
Removed dead placeholder functions from vpstate.[ch]. Changed gl_client_array's Enabled field to GLuint so it can actually hold the flags we're storing in it! Always do the switch (type) code in the vertex array functions to that <type> gets error checked!
2002-01-06implemented vertex program point size controlBrian Paul
2002-01-06Another vertex program checkpoint: clean-up of vertex attribute storageBrian Paul
in vertex_buffer. Improved vertex program pipeline stage such that output registers can be processed in a loop. Getting closer to where we need to be in order to implement performance optimizations...
2002-01-05infrastructure for vertex program attribute evaluatorsBrian Paul
2002-01-05Vertex program checkpoint commit: converted all vertex attributes (color,Brian Paul
normal, texcoords, fogcoord, secondary color, etc) to GLfloat[4] datatype. Aliasing of glVertex, glNormal, glColor, glFogCoord, etc. to glVertexAttrib now complete.
2001-12-18Replace old matrix stacks with new code based on struct matrix_stack.Brian Paul
Moved vertex program hash table into shared context state. Implemented reference counting for vertex programs. Replaced tnl "ProjectedClip" with "Ndc" (normalized device coordinates).
2001-12-14vertex program check-inBrian Paul
2001-12-04prototype implementation of GL_ARB_depth_texture, GL_ARB_shadow, ↵Brian Paul
GL_ARB_shadow_ambient
2001-11-18added test implementation of GL_ARB_window_posBrian Paul
2001-11-06added missing GL_MAX_TEXTURE_LOD_BIAS_EXT queryBrian Paul
2001-10-17added GL_ARB_texture_mirrored_repeatBrian Paul
2001-07-28Remove _BaseAlpha, fix reflect lighting bug.Keith Whitwell
2001-07-13assorted changes for supporting GLfloat color channels (not done)Brian Paul
2001-06-26More raster fog coord fixes.Brian Paul
New truncate vs. floor comments in drawpixels.c Added current raster secondary color state, not used yet.
2001-06-26added GL_IBM_rasterpos_clip extensionBrian Paul
2001-06-13Allow different max texture sizes for 1/2D, 3D and cube maps.Brian Paul
2001-06-12removed old, redundant CurrentTransformUnit state varBrian Paul
2001-05-30added current raster fog coord and related codeBrian Paul
2001-05-29infrastructure for GL_ARB_multisampleBrian Paul
2001-05-21initial support for GL_SGIS_generate_mipmap extensionBrian Paul
2001-04-28Support for floating point color representation in tnl module.Keith Whitwell
2001-04-20Fixed a texture conversion problem: sometimes need to produce an intermediateBrian Paul
texture image in the base internal format between user->Mesa format conversion. See comments in texstore.c
2001-04-17Fixed a number of minor GL_ARB_texture_env_combine/dot3 issues.Brian Paul
2001-03-29Remove ENABLE_* flags, ctx->_Enabled.Keith Whitwell
Replace with ctx->Texture._TexMatEnabled, ctx->Texture._TexGenEnabled.
2001-03-29Removed DD_STENCIL, DD_FEEDBACK, DD_SELECT.Keith Whitwell
Added some switchable debug to s_context.c
2001-03-29Removed DD_Z_NEVER.Brian Paul
Replaced SEPERATE with SEPARATE. Renumbered _NEW_ flags. Removed _NEW_COLORTABLE.
2001-03-28- Restore texImage->IntFormat.Gareth Hughes
- Fix FX driver texture image conversions.
2001-03-28More texture format updates. Drivers now need only plug an appropriateGareth Hughes
format into texImage->TexFormat, the rest is handled by core Mesa.
2001-03-27Updates required for DRI drivers on mesa-3-5-branch.Gareth Hughes
2001-03-26added GL_ARB_texture_border_clampBrian Paul
2001-03-24- Minor cleanups of ctx->Driver.Current*Primitive usage.Gareth Hughes
- Remove unused gl_reduce_prim array.
2001-03-23Some more minor cleanups of macros.Gareth Hughes
2001-03-23Remove compiler warnings about ASSERT_OUTSIDE_BEGIN_END() macro.Gareth Hughes
2001-03-19Split driver struct into swrast/tnl/core components.Keith Whitwell
2001-03-18- Port 3.4 texture utils, texture format work to 3.5 (including newGareth Hughes
FetchTexel routines). - Initial hooks for GL_EXT_texture_filter_anisotropic.
2001-03-17Remove dead #define.Keith Whitwell
Add case for triangles culled front and back -- not handled by the culling code inside swrast triangle routines.
2001-03-15removed ARB_texture_env_add bool flag, use EXT_texture_env_add flagBrian Paul
2001-03-11Support for swappable tnl modules.Gareth Hughes
Core Mesa provides a neutral tnl module that verifies the currently module before installing the tnl function pointers in a lazy fashion. It also records which tnl functions have been swapped out, and only restores these when tnl modules themselves are swapped. Fallback strategies: Drivers set a bitmask of dangerous stage changes. When such a state change occurs, the driver should restore the neutral tnl module via _mesa_restore_exec_vtxfmt(). The neutral tnl module will call _mesa_update_state(), followed by ctx->Driver.ValidateTnlModule() if the validation bitmask matches the new state bitmask. The driver should call _tnl_wakeup_exec() if it can no longer handle the current state, which will revert to the default tnl module. In this case, previous vertices should be replayed as required (depending on the current primitive) after the new tnl module is installed. If the driver uses chooser functions for any part of the tnl module, these should generally be reinstalled as part of the fallback to the neutral tnl module. For example, if the lighting state changes, a driver might fall back to the neutral tnl module, verify that the current lighting state can be handled, and use the chooser function to pick the most efficient implementation of the current lighting state. It is up to the drivers to detect and handle fallback cases caused by tnl function calls themselves (such as glTexCoord4f* if the current tnl module can't handle projected textures, for example).
2001-03-03lots of gl_*() to _mesa_*() namespace clean-upBrian Paul
2001-02-28GLvisual inside GLframebuffer is no longer a pointer, copy the struct instead.Brian Paul
Added context/drawbuffer visual config sanity checking in _mesa_make_current2(). Added some 'const' keywords.
2001-02-20Implemented GL_SGIX_shadow and GL_SGIX_shadow_texture.Brian Paul
Added some const keywords in the s/w texturing code.