summaryrefslogtreecommitdiff
path: root/src/mesa/main/texstate.c
AgeCommit message (Collapse)Author
2004-06-17fix tex env mode GL_BLEND for GL_INTENSITY texture formatsRoland Scheidegger
2004-06-11fix some minor glitches in glGetTexParameter codeBrian Paul
2004-05-10Don't call calculate_derived_texenv() from in _mesa_TexEnv().Brian Paul
Minor code rearranging.
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-22New glTexImage code.Brian Paul
The gl_texture_format struct now has a StoreTexImageFunc that's called by glTex[Sub]Image[123]D to convert the user's texture data into the specific texture format layout. Now it's much easier to add new texture formats (like the 16/32-bit floating point formats). The texutil.[ch] and texutil_tmp.h files are obsolete.
2004-04-10fix minor glitch with GL_DEPTH_COMPONENT texturesBrian Paul
2004-02-28paltex demo from recent texcombine changes. Minor clean-upsBrian Paul
2004-02-06Refactor "class" texture environments to be implemented in terms ofIan Romanick
ARB_texture_env_combine state.
2004-01-23Don't set extra bits in FLUSH_VERTICES, fix several state bugs.Keith Whitwell
2003-11-30s/texUnit->Enabled/enableBits/ (Karl Rasche)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-09-12Allow glTexImage1/2/3D to specify width/height/depth = 0.Brian Paul
This allows texture state to be resettable to default state. Not allowed according to the spec, but allowed by all other OpenGL libs.
2003-09-02Added support for EXT_texture_mirror_clamp and the single wrap modeIan Romanick
that it addes to ATI_texture_mirror_once. This includes updating the texwrap test to exercise the new mode.
2003-08-28Move clamping of texture LOD bias to texture application time.Brian Paul
2003-08-28Added OpenGL 1.4's per-texture LOD bias.Brian Paul
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-07-22Restore more code lost during last big merge.Brian Paul
Rename colortable-related functions.
2003-07-18Fix up some loose ends from the last big check-in.Brian Paul
2003-07-17Merge Jose's documentation and core Mesa changes from embedded branchKeith Whitwell
2003-07-07minor fixes in _mesa_TexGen[id]v() to silence valgrindBrian Paul
2003-07-03fix int/float conversion for GL_TEXTURE_PRIORITY in gl[Get]TexParameteri[v]Brian Paul
2003-04-01improve some error messagesBrian Paul
2003-03-03better error messages (Leif Delgass)Brian Paul
2003-02-23test if active texture is really changed in _mesa_ActiveTexture()Brian Paul
2003-01-21added missing break (Leif Delgass)Brian Paul
2003-01-21GL_ATI_texture_env_combine3 extensionBrian Paul
2003-01-16update CurrentStack in glActiveTexture if needed (bug 669080)Brian Paul
2002-12-30Check that ActiveTextureARB doesn't overflow MaxTextureUnitsAlan Hourihane
2002-12-18improved error messageBrian Paul
2002-12-05added _mesa_print_texunit_state() for debuggingBrian Paul
2002-11-05fixed glTexParameteriv(GL_TEXTURE_BORDER_COLOR) errorBrian Paul
2002-11-01fix a typoBrian Paul
2002-10-29updated email addressesBrian 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-23added missing code to copy texrect stateBrian Paul
2002-10-21GL_ATI_texture_mirror_once extension (Ian Romanick)Brian Paul
2002-10-17Add casts to quiet compiler warnings.Karl Schultz
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-27new texture compression infrastructureBrian Paul
2002-09-08more detailed _mesa_error() stringsBrian Paul
2002-06-29Applied Matt Sealey's patch to remove/isolate all stdio.h function calls.Brian Paul
Instead of mstdio.[ch], use imports.[ch] to isolate these functions.
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-13more removal of fprintf() callsBrian Paul
2002-05-27replaced experimental MESA_sprite_point with NV_point_spriteBrian Paul
2002-05-02Implemented GL_ARB_texture_env_crossbar.Brian Paul
Simplification of some of the texture application code.
2002-04-26added GL_TEXTURE_MAX_ANISOTROPY_EXT to glGetTexParameteriv()Brian Paul
2002-04-25added GL_TEXTURE_MAX_ANISOTROPY_EXT to glGetTexParameter (bug 548812)Brian Paul
2002-04-19added some castsBrian Paul