summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texstate.c
Commit message (Collapse)AuthorAgeFilesLines
* paltex demo from recent texcombine changes. Minor clean-upsBrian Paul2004-02-281-26/+24
|
* Refactor "class" texture environments to be implemented in terms ofIan Romanick2004-02-061-96/+291
| | | | ARB_texture_env_combine state.
* Don't set extra bits in FLUSH_VERTICES, fix several state bugs.Keith Whitwell2004-01-231-1/+5
|
* s/texUnit->Enabled/enableBits/ (Karl Rasche)Brian Paul2003-11-301-5/+5
|
* Added GLAPIENTRY decorations for all first level OpenGL API function entryKendall Bennett2003-10-211-32/+32
| | | | | points so that the calling conventions will work correctly with the assembler stubs with the Open Watcom compiler.
* Allow glTexImage1/2/3D to specify width/height/depth = 0.Brian Paul2003-09-121-2/+2
| | | | | This allows texture state to be resettable to default state. Not allowed according to the spec, but allowed by all other OpenGL libs.
* Added support for EXT_texture_mirror_clamp and the single wrap modeIan Romanick2003-09-021-51/+33
| | | | | that it addes to ATI_texture_mirror_once. This includes updating the texwrap test to exercise the new mode.
* Move clamping of texture LOD bias to texture application time.Brian Paul2003-08-281-5/+5
|
* Added OpenGL 1.4's per-texture LOD bias.Brian Paul2003-08-281-0/+20
|
* Trivial changes to add support for GL_ARB_point_sprite, which is aIan Romanick2003-08-231-6/+9
| | | | subset of GL_NV_point_sprite (which was already supported).
* Restore more code lost during last big merge.Brian Paul2003-07-221-2/+2
| | | | Rename colortable-related functions.
* Fix up some loose ends from the last big check-in.Brian Paul2003-07-181-1/+1
|
* Merge Jose's documentation and core Mesa changes from embedded branchKeith Whitwell2003-07-171-2/+348
|
* minor fixes in _mesa_TexGen[id]v() to silence valgrindBrian Paul2003-07-071-6/+16
|
* fix int/float conversion for GL_TEXTURE_PRIORITY in gl[Get]TexParameteri[v]Brian Paul2003-07-031-3/+9
|
* improve some error messagesBrian Paul2003-04-011-6/+6
|
* better error messages (Leif Delgass)Brian Paul2003-03-031-5/+7
|
* test if active texture is really changed in _mesa_ActiveTexture()Brian Paul2003-02-231-2/+5
|
* added missing break (Leif Delgass)Brian Paul2003-01-211-2/+3
|
* GL_ATI_texture_env_combine3 extensionBrian Paul2003-01-211-115/+141
|
* update CurrentStack in glActiveTexture if needed (bug 669080)Brian Paul2003-01-161-1/+7
|
* Check that ActiveTextureARB doesn't overflow MaxTextureUnitsAlan Hourihane2002-12-301-2/+3
|
* improved error messageBrian Paul2002-12-181-2/+2
|
* added _mesa_print_texunit_state() for debuggingBrian Paul2002-12-051-2/+32
|
* fixed glTexParameteriv(GL_TEXTURE_BORDER_COLOR) errorBrian Paul2002-11-051-5/+13
|
* fix a typoBrian Paul2002-11-011-2/+2
|
* updated email addressesBrian Paul2002-10-291-2/+1
|
* Header file clean-up:Brian Paul2002-10-241-5/+1
| | | | | | | | 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.
* added missing code to copy texrect stateBrian Paul2002-10-231-1/+3
|
* GL_ATI_texture_mirror_once extension (Ian Romanick)Brian Paul2002-10-211-4/+16
|
* Add casts to quiet compiler warnings.Karl Schultz2002-10-171-2/+2
|
* Changed a number of context fields from GLchan to GLfloat (such as ClearColor).Brian Paul2002-10-041-53/+20
| | | | | | 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.
* new texture compression infrastructureBrian Paul2002-09-271-7/+11
|
* more detailed _mesa_error() stringsBrian Paul2002-09-081-6/+6
|
* Applied Matt Sealey's patch to remove/isolate all stdio.h function calls.Brian Paul2002-06-291-13/+11
| | | | Instead of mstdio.[ch], use imports.[ch] to isolate these functions.
* Port glXCopyContext bug from 4.0 branch.Brian Paul2002-06-171-1/+63
|
* Implemented GL_NV_texture_rectangle extension.Brian Paul2002-06-151-30/+73
| | | | | | | | | 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.
* Added ctx parameter to _mesa_debug()Brian Paul2002-06-151-5/+5
| | | | | | Added _mesa_printf() Updated SetDrawBuffer() function in all drivers (ala 4.0.3) Import 4.0.3/DRI changes.
* more removal of fprintf() callsBrian Paul2002-06-131-16/+16
|
* replaced experimental MESA_sprite_point with NV_point_spriteBrian Paul2002-05-271-347/+433
|
* Implemented GL_ARB_texture_env_crossbar.Brian Paul2002-05-021-90/+84
| | | | Simplification of some of the texture application code.
* added GL_TEXTURE_MAX_ANISOTROPY_EXT to glGetTexParameteriv()Brian Paul2002-04-261-1/+7
|
* added GL_TEXTURE_MAX_ANISOTROPY_EXT to glGetTexParameter (bug 548812)Brian Paul2002-04-251-1/+7
|
* added some castsBrian Paul2002-04-191-5/+5
|
* fixes for corrected GL_DOT3_RGB[A]_EXT token valuesBrian Paul2002-04-121-3/+9
|
* Test implementation of proposed GL_EXT_shadow_funcs extension. This justBrian Paul2002-03-231-1/+11
| | | | | generalizes the R/texture comparision operators to include all eight of the depth test comparisons.
* removed temporary ARB_texture enum defsBrian Paul2002-03-231-7/+1
|
* Finished up GL_ARB_depth_texture and GL_ARB_shadow.Brian Paul2002-02-151-14/+13
|
* fixed int->float conversion bug in _mesa_TexEnviv()Brian Paul2002-01-091-6/+12
|
* Replace old matrix stacks with new code based on struct matrix_stack.Brian Paul2001-12-181-13/+13
| | | | | | Moved vertex program hash table into shared context state. Implemented reference counting for vertex programs. Replaced tnl "ProjectedClip" with "Ndc" (normalized device coordinates).