summaryrefslogtreecommitdiff
path: root/src/mesa/main/texstate.c
AgeCommit message (Collapse)Author
2005-11-05remove unneeded #includesBrian Paul
2005-10-05In gl_texture_image replace IntFormat with InternalFormat and Format withBrian Paul
_BaseFormat to be consistant with gl_renderbuffer.
2005-10-01check for GL_DEPTH_STENCIL_EXTBrian Paul
2005-09-28Initial work for GL_EXT_packed_depth_stencil extension.Brian Paul
glReadPixels done, glDrawPixels mostly done.
2005-09-21s/GL_DEPTH_BITS/GL_TEXTURE_DEPTH_SIZE_ARB/ in _mesa_GetTexLevelParameteriv()Brian Paul
2005-09-15Replace GLuint with GLbitfield where appropriate. Also replace GLuintBrian Paul
with GLboolean in a few places.
2005-09-08check for either GL_ARB_depth_texture or GL_SGIX_depth_texture in a few placesBrian Paul
2005-08-15In _mesa_TexEnvfv, do not accept values for GL_OPERAND2_ALPHA and ↵Roland Scheidegger
GL_OPERAND2_RGB which are only valid with ARB_texture_env_combine but not with EXT_texture_env_combine, when only EXT_texture_env_combine is supported.
2005-07-11Cache texenv programs to avoid repeated compilation (Ben Skeggs)Keith Whitwell
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-02-08clamp anisotropy against max valueBrian Paul
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