summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texstate.c
Commit message (Collapse)AuthorAgeFilesLines
* More GLSL code:Michal Krol2006-03-141-63/+44
| | | | | - add texture sampling support; - fix assembly codegen bugs;
* Fix _mesa_copy_texture_state() so that we copy texture object bindings,Brian Paul2006-02-241-12/+41
| | | | | not the actual contents of texture objects. This makes glXCopyContext() work properly.
* Enable texcoords when program object in use.Michal Krol2006-02-151-2/+5
|
* fix test for valid texunit in _mesa_ClientActiveTextureARBRoland Scheidegger2006-02-011-1/+1
|
* Removed the GL_SGIX/SGIS_pixel_texture extensions. Same thing can beBrian Paul2005-12-141-132/+0
| | | | done with fragment programs nowadays.
* Move stuff common to vertex/fragment_program into the base class, including:Brian Paul2005-11-121-1/+1
| | | | | | Instructions, InputsRead, OutputsWritten, and Parameters. Also, added debug functions: _mesa_print_instruction(), _mesa_print_program_parameters() and revamp _mesa_print_program().
* Make _mesa_is_proxy_texture() non-static and use in a few more places.Brian Paul2005-11-111-61/+24
| | | | | Use COPY_4FV() where possible. Added some comments, clean-ups.
* remove unneeded #includesBrian Paul2005-11-051-3/+0
|
* In gl_texture_image replace IntFormat with InternalFormat and Format withBrian Paul2005-10-051-11/+12
| | | | _BaseFormat to be consistant with gl_renderbuffer.
* check for GL_DEPTH_STENCIL_EXTBrian Paul2005-10-011-1/+2
|
* Initial work for GL_EXT_packed_depth_stencil extension.Brian Paul2005-09-281-0/+10
| | | | glReadPixels done, glDrawPixels mostly done.
* s/GL_DEPTH_BITS/GL_TEXTURE_DEPTH_SIZE_ARB/ in _mesa_GetTexLevelParameteriv()Brian Paul2005-09-211-1/+1
|
* Replace GLuint with GLbitfield where appropriate. Also replace GLuintBrian Paul2005-09-151-5/+5
| | | | with GLboolean in a few places.
* check for either GL_ARB_depth_texture or GL_SGIX_depth_texture in a few placesBrian Paul2005-09-081-5/+3
|
* In _mesa_TexEnvfv, do not accept values for GL_OPERAND2_ALPHA and ↵Roland Scheidegger2005-08-151-4/+24
| | | | 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.
* Cache texenv programs to avoid repeated compilation (Ben Skeggs)Keith Whitwell2005-07-111-0/+3
|
* Add a set of predicate functions for testing matrices instead of directlyBrian Paul2005-06-301-5/+5
| | | | | | testing the flags field. Move definition of all the MAT_FLAGs into the m_matrix.c file since they're now private.
* clamp anisotropy against max valueBrian Paul2005-02-081-3/+5
|
* fix tex env mode GL_BLEND for GL_INTENSITY texture formatsRoland Scheidegger2004-06-171-0/+2
|
* fix some minor glitches in glGetTexParameter codeBrian Paul2004-06-111-7/+7
|
* Don't call calculate_derived_texenv() from in _mesa_TexEnv().Brian Paul2004-05-101-32/+18
| | | | Minor code rearranging.
* Added ctx->Vertex/FragmentProgram._Enable flags. Set when vertex/fragmentBrian Paul2004-04-231-2/+2
| | | | | | | 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.
* New glTexImage code.Brian Paul2004-04-221-1/+65
| | | | | | | | 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.
* fix minor glitch with GL_DEPTH_COMPONENT texturesBrian Paul2004-04-101-1/+4
|
* 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
|