summaryrefslogtreecommitdiff
path: root/src/mesa/main/texparam.c
AgeCommit message (Collapse)Author
2009-11-02mesa: added commentBrian Paul
2009-10-29mesa: Fix compilation errors and warnings when features are disabled.Chia-I Wu
Some of the fixes are cherry-picked from opengl-es branch. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-10-28Merge branch 'texformat-rework'Brian Paul
Conflicts: src/mesa/drivers/dri/radeon/radeon_fbo.c src/mesa/drivers/dri/s3v/s3v_tex.c src/mesa/drivers/dri/s3v/s3v_xmesa.c src/mesa/drivers/dri/trident/trident_context.c src/mesa/main/debug.c src/mesa/main/mipmap.c src/mesa/main/texformat.c src/mesa/main/texgetimage.c
2009-10-24mesa: remove _mesa_compressed_texture_size()Brian Paul
Use _mesa_format_image_size() instead.
2009-10-23mesa: fix GL_TEXTURE_INTERNAL_FORMAT query for compressed formatsBrian Paul
Need to return the actual compressed format when the user originally requested a generic compressed format.
2009-10-01mesa: remove gl_texture_image::IsCompressed fieldBrian Paul
Use _mesa_is_format_compressed() instead.
2009-09-30mesa: replace gl_texture_format with gl_formatBrian Paul
Now gl_texture_image::TexFormat is a simple MESA_FORMAT_x enum. ctx->Driver.ChooseTexture format also returns a MESA_FORMAT_x. gl_texture_format will go away next.
2009-09-27mesa: fix GL_TEXTURE_LUMINANCE_SIZE queryBrian Paul
2009-09-27mesa: use more mesa format functionsBrian Paul
2009-09-27mesa: use _mesa_get_format_bits()Brian Paul
2009-09-15Merge branch 'mesa_7_5_branch' into mesa_7_6_branchBrian Paul
2009-09-11mesa: raise GL_INVALID_ENUM not GL_INVALID_VALUE for glTexParamter errorsVinson Lee
Signed-off-by: Brian Paul <brianp@vmware.com>
2009-08-13mesa: rework error check in glGetTexLevelParameter(), remove ↵Brian Paul
tex_image_dimensions()
2009-08-13mesa: use _mesa_get_current_tex_unit() in more placesBrian Paul
2009-06-29mesa: check for ARB_framebuffer_object for GL_TEXTURE_STENCIL_SIZE_EXT queryBrian Paul
2009-05-07mesa: limit number of error raised by invalid GL_TEXTURE_MAX_ANISOTROPY_EXTBrian Paul
2009-04-23mesa: more informative error messagesBrian Paul
2009-04-02mesa: fix TexParameter functionsRoland Scheidegger
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.
2009-04-01mesa: get rid of gl_texture_object::_BorderChanBrian Paul
2009-02-21mesa: use an array for current texture objectsBrian Paul
Use loops to consolidate lots of texture object code.
2009-02-09mesa: avoid setting texObj->_Complete = GL_FALSE when there's no state changeBrian Paul
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.
2009-02-09mesa: add no-change testing for a few more texture parametersBrian Paul
2009-01-28Make GL_ARB_texture_compression mandatoryIan Romanick
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2009-01-28mesa: remove GL_SGIX_shadow, GL_SGIX_shadow_ambient and GL_SGIX_depth_textureBrian Paul
Everyone should be using the newer/better ARB versions of these extensions.
2009-01-28mesa: additional GL_INVALID_OPERATION tests for texture swizzleBrian Paul
2009-01-28mesa: set/get new state for GL_EXT_texture_swizzleBrian Paul
2009-01-27mesa: refactor glTexParameter codeBrian Paul
2008-10-01Unify ARB_depth_texture and SGIX_depth_textureIan Romanick
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.
2008-09-26mesa: fix param indexingBrad King
2008-09-21mesa: texture crop rect stateBrian Paul
(cherry picked from commit c01fbc7866d7cd5cf4263dffec6d9591470b4c23)
2008-09-21mesa: refactor: move various ENUM_TO_x macros into macros.hBrian Paul
2008-09-21mesa: refactor: move glTexParameter-related functions into new texparam.c fileBrian Paul