summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texparam.c
Commit message (Collapse)AuthorAgeFilesLines
* mesa: limit number of error raised by invalid GL_TEXTURE_MAX_ANISOTROPY_EXTBrian Paul2009-05-071-2/+4
|
* mesa: more informative error messagesBrian Paul2009-04-231-6/+10
|
* mesa: fix TexParameter functionsRoland Scheidegger2009-04-021-62/+86
| | | | | | | | | premature return in TexParameterf caused mesa to never call Driver.TexParameter breaking drivers relying on this (fix bug #20966). While here, also fix using ctx->ErrorValue when deciding to call Driver.TexParameter. Errors are sticky and uncleared errors thus would cause this to no longer get called. Since we thus need return value of set_tex_parameter[if] can also optimize this to only call when value changed.
* mesa: get rid of gl_texture_object::_BorderChanBrian Paul2009-04-011-4/+0
|
* mesa: use an array for current texture objectsBrian Paul2009-02-211-7/+7
| | | | Use loops to consolidate lots of texture object code.
* mesa: avoid setting texObj->_Complete = GL_FALSE when there's no state changeBrian Paul2009-02-091-31/+37
| | | | | | | Avoid a little bit of unneeded state validation and fixes a bug where the texture complete flags was set to false, but we didn't signal _NEW_TEXTURE. Fixes piglit tex1d-2dborder failure.
* mesa: add no-change testing for a few more texture parametersBrian Paul2009-02-091-8/+20
|
* Make GL_ARB_texture_compression mandatoryIan Romanick2009-01-281-25/+13
| | | | Signed-off-by: Ian Romanick <[email protected]>
* mesa: remove GL_SGIX_shadow, GL_SGIX_shadow_ambient and GL_SGIX_depth_textureBrian Paul2009-01-281-70/+12
| | | | Everyone should be using the newer/better ARB versions of these extensions.
* mesa: additional GL_INVALID_OPERATION tests for texture swizzleBrian Paul2009-01-281-2/+7
|
* mesa: set/get new state for GL_EXT_texture_swizzleBrian Paul2009-01-281-34/+185
|
* mesa: refactor glTexParameter codeBrian Paul2009-01-271-347/+480
|
* Unify ARB_depth_texture and SGIX_depth_textureIan Romanick2008-10-011-2/+1
| | | | | | | The ARB extension is a superset of the older SGIX extension. Any hardware that can support the SGIX version can also support the ARB version. In Mesa, any driver that supports one also supports the other. This unification just simplifies some bits of code.
* mesa: fix param indexingBrad King2008-09-261-6/+6
|
* mesa: texture crop rect stateBrian Paul2008-09-211-0/+30
| | | | (cherry picked from commit c01fbc7866d7cd5cf4263dffec6d9591470b4c23)
* mesa: refactor: move various ENUM_TO_x macros into macros.hBrian Paul2008-09-211-3/+0
|
* mesa: refactor: move glTexParameter-related functions into new texparam.c fileBrian Paul2008-09-211-0/+1039