summaryrefslogtreecommitdiff
path: root/src/mesa/main/rastpos.c
AgeCommit message (Collapse)Author
2010-02-25mesa: Move src/mesa/glapi/dispatch.h to mesa.Chia-I Wu
glapi/dispatch.h is a core Mesa header file. Move the header file to main/ to make this clear. It also becomes clear after this change that IN_DRI_DRIVER is only used in core Mesa to enable the remap table.
2010-02-03mesa: added tex unit assert, use Elements() macroBrian Paul
2009-09-30mesa/main: New feature FEATURE_rastpos.Chia-I Wu
It is separated from FEATURE_drawpix and made to follow the feature conventions.
2008-12-31mesa: increase max texture image units and GLSL samplers to 16Brian Paul
The max texture coord units is still 8. All the fixed-function paths are still limited to 8 too. But GLSL shaders can use more samplers now. Note that some texcoord-related data structures are declared to be 16 elements in size rather than 8. This just simplifies the code in a few places; the extra elements aren't accessible to the user. These changes haven't been extensively tested yet, but sanity checking has been done. It should be possible to increase the max image units/samplers to 32 without doing anything special. Beyond that we'll need longer bitfields in a few places.
2008-11-11mesa: update new state for RasterPos like other operations.Xiang, Haihao
This fixes a lighting issue when drawing a bitmap.
2008-09-21mesa: refactor: fix some FEATURE_ typos, mistakesBrian Paul
(cherry picked from commit e4cfe0854ad968193106048179b9b52ec1768f41)
2008-09-21mesa: move rastpos helper to tnlKeith Whitwell
2007-04-21specularColor.alpha should default to 1, not 0Brian
2007-03-08 remove a if-statementXiang, Haihao
glMaterial changes the current specular exponent or glLight changes the intensity distribution of the light, but _mesa_update_state doesn't update the corresponding light table. So they must be updated at this time.
2007-03-01fix bad n_dot_h normalization code (bug 9977), plus clean-up the code in generalBrian
2006-11-02init SecondaryRasterColorBrian Paul
2006-04-25Put color index attribute into the 6th attribute slot.Brian Paul
Update a lot of loops, conditionals to use the _TNL_FIRST/LAST_* values instead of specific vertex attributes. Remove the EdgeFlagv function from the GLvertexformat struct.
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-27remove _glapi_add_entrypoint() calls, they're already in context.cBrian Paul
2004-04-23Added ctx->Vertex/FragmentProgram._Enable flags. Set when vertex/fragmentBrian Paul
program is enabled AND the currently bound program is valid. Check _Enable instead of Enable to prevent things from blowing up when someone calls glEnable(GL_VERTEX_PROGRAM_ARB) without actually defining a program.
2004-04-19apply texgen/texture matrix in glRasterPosBrian Paul
2003-11-25current raster color index should be GLfloatBrian Paul
2003-11-25casts for g++Brian Paul
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-30Silence compiler warnings about implicit casts or conversions by supplying ↵Karl Schultz
explicit casts and/or tweaking constant and variable definitions.
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-30replace assertion with conditionalBrian Paul
2003-07-17Merge Jose's documentation and core Mesa changes from embedded branchKeith Whitwell
2003-05-01Use ctx->Const.MaxTextureImageUnits and MaxTextureCoordUnits in more places.Brian Paul
Misc vertex array / vertex program changes.
2003-04-08add missing return in raster_pos4f()Brian Paul
2003-03-01Killed mmath.[ch]. Moved low-level functions/assembly code into imports.[ch]Brian Paul
Moved type conversion and interpolation macros into macros.h Updated all the files that used to include mmath.h
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-05-27dispatch offsets for ARB_window_posBrian Paul
2002-05-09Minor change to current raster position and texcoords.Brian Paul
2002-03-29Replaced ClipEnabled[] array and _AnyClip with ClipPlanesEnabled bitmask.Brian Paul
2002-02-15finished up GL_ARB_window_posBrian Paul
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-11-18added test implementation of GL_ARB_window_posBrian Paul
2001-09-18more compiler warning fixesKarl Schultz
2001-07-28Remove _BaseAlpha, fix reflect lighting bug.Keith Whitwell
2001-07-05fixed segfault (NULL _ShineTable[0]) in shade_rastpos()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-18Consolidated source files. Since the re-org a number of source filesBrian Paul
only had one or two functions left in them.
2001-05-30added current raster fog coord and related codeBrian Paul
2001-05-01fix from JoukKeith Whitwell
2001-04-28Support for floating point color representation in tnl module.Keith Whitwell
2001-03-12Consistent copyright info (version number, date) across all files.Gareth Hughes
2001-03-03lots of gl_*() to _mesa_*() namespace clean-upBrian Paul
2001-01-23Replaced struct gl_visual with struct __GLcontextModesRec from glcore.h.Brian Paul
Replace "RGBAMode" with "rgbMode", etc. Other minor clean-ups.
2001-01-03minor clean-upBrian Paul
2000-12-26Major rework of tnl moduleKeith Whitwell
New array_cache module Support 8 texture units in core mesa (now support 8 everywhere) Rework core mesa statechange operations to avoid flushing on many noop statechanges.
2000-11-27Added MaxClipPlanes and MaxLights to gl_constants struct so T&LBrian Paul
drivers can report non-default numbers of lights and clip planes.
2000-11-24Support for swappable t&l modules, including an example one in the FXKeith Whitwell
driver (enable with FX_ALLOW_VTXFMT=t).