aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/s_texture.c
Commit message (Collapse)AuthorAgeFilesLines
* mesa: remove support for GL_APPLE_client_storage extensionBrian Paul2011-09-221-1/+1
| | | | | | | AFAIK, there are few users of this extension and I can see a couple reasons why this is probably broken in Mesa anyway. Reviewed-by: Ian Romanick <[email protected]>
* mesa: move gl_texture_image::Width/Height/DepthScale fields to swrastBrian Paul2011-09-221-0/+13
| | | | | | | These fields were only used for swrast so move them into swrast_texture_image. Reviewed-by: Ian Romanick <[email protected]>
* mesa: move gl_texture_image::_IsPowerOfTwo into swrastBrian Paul2011-09-221-0/+8
| | | | | | It's only used by swrast. Reviewed-by: Ian Romanick <[email protected]>
* swrast: add Alloc/FreeTextureImageBuffer() driver functionsBrian Paul2011-09-171-0/+38
| | | | | Not called yet. These will replace the core Mesa functions for allocating and freeing malloc'd texture memory.
* swrast: introduce new swrast_texture_image structBrian Paul2011-09-171-0/+27
| | | | | No subclass fields yet. Subsequent patches will add the fields related to software rendering that are currently in gl_texture_image.
* swrast: Add implementation of MapTextureImage/UnmapTextureImage.Brian Paul2011-08-291-0/+109
| | | | Reviewed-by: Brian Paul <[email protected]>
* Split the s_texture.c file into two new files:Brian Paul2005-09-151-3958/+0
| | | | | s_texcombine.c - for texture combining/application s_texfilter.c - for texture sampling/filtering
* minor clean-up of texture_combine()Brian Paul2005-09-061-12/+9
|
* don't use DEFARRAY/CHECKARRAY stuffBrian Paul2005-09-061-3/+1
|
* also check for texture border in sample_linear_2d()Brian Paul2005-08-251-2/+3
|
* Redo all the GL_LINEAR interpolation code in terms of LERP macros/functions.Brian Paul2005-06-301-208/+236
| | | | This cleans up and simplifies the arithmetic quite a bit.
* Fix some warningsAlan Hourihane2004-12-021-5/+0
|
* tweak texcoord for sampling texture rectangles (Dave Reveman)Brian Paul2004-09-131-22/+13
|
* Silence gcc 3.4 warnings on ReactOS. Mostly unused var warnings. (patch ↵Brian Paul2004-08-251-1/+29
| | | | 1015696)
* fix minor typo in commentBrian Paul2004-06-111-1/+1
|
* Check for NULL texture object when choosing texture sampler. Fixes segfault ↵Brian Paul2004-06-021-92/+98
| | | | when fragment program references an incomplete texture
* Added big-endian texture formats.Brian Paul2004-05-121-105/+0
| | | | Moved CI->RGBA palette lookup into texel fetch function.
* fix rectangle texture clamping and border-related codeBrian Paul2004-05-061-23/+72
|
* move _swrast_texture_table_lookup() to _mesa_lookup_rgba_chan()Brian Paul2004-02-281-272/+2
|
* replace color table FloatTable boolean with Type enumBrian Paul2004-02-281-8/+9
|
* Refactor "class" texture environments to be implemented in terms ofIan Romanick2004-02-061-90/+25
| | | | ARB_texture_env_combine state.
* fixed a bug in GL_NEAREST samplerDaniel Borca2004-02-021-6/+18
|
* Consolidate texObj->Pos/Neg/X/Y/Z and texObj->Image into a singleKeith Whitwell2004-01-271-62/+62
| | | | array, texObj->Image[face][level].
* Initial support for floating point and signed texture formats.Brian Paul2004-01-231-35/+35
| | | | | | | New "FetchTexelFuncF()" function returns texels in floating point format. Only used for depth component images at this time. Changed original FetchTexelFunc to return GLchan instead of GLvoid, removing need for a bunch of ugly casts.
* don't use color table's format to determine texture env functionsBrian Paul2003-10-111-3/+0
|
* Added support for EXT_texture_mirror_clamp and the single wrap modeIan Romanick2003-09-021-4/+31
| | | | | that it addes to ATI_texture_mirror_once. This includes updating the texwrap test to exercise the new mode.
* s/GLuint/GLint/Brian Paul2003-08-291-1/+1
|
* Move clamping of texture LOD bias to texture application time.Brian Paul2003-08-281-1/+4
|
* Added OpenGL 1.4's per-texture LOD bias.Brian Paul2003-08-281-2/+2
|
* if texture color table is enabled, use the color table's format to evaluate ↵Brian Paul2003-07-241-0/+3
| | | | the texture env function
* fix GL_SGI_texture_colortable bugsBrian Paul2003-07-231-6/+6
|
* Implemented GL_ARB_texture_non_power_of_two (except for auto mipmap generation).Brian Paul2003-07-031-12/+44
|
* fix depth texture tex env bug (#719903)Brian Paul2003-04-141-4/+4
|
* fix GLchan=GLfloat problemsBrian Paul2003-03-041-13/+31
|
* Killed mmath.[ch]. Moved low-level functions/assembly code into imports.[ch]Brian Paul2003-03-011-3/+2
| | | | | Moved type conversion and interpolation macros into macros.h Updated all the files that used to include mmath.h
* fix compilation warnings on WindowsKarl Schultz2003-02-271-22/+22
|
* Move span stuff from swrast.h to s_context.h (it's private).Brian Paul2003-02-231-140/+138
| | | | | Implemented remaining fragment program instructions. Initial changes to implement fragment program texture sampling.
* replace | with & (Laurent Desnogues)Brian Paul2003-02-061-4/+4
|
* Make GL_SGI_texture_color_table work per-texture unit.Brian Paul2003-01-261-176/+186
| | | | Clean-up and optimize _swrast_texture_table_lookup().
* GL_SGI_texture_color_table extension (Eric Plante)Brian Paul2003-01-211-1/+251
|
* GL_ATI_texture_env_combine3 extensionBrian Paul2003-01-211-81/+293
|
* apply scale factor before clapping for DOT3Brian Paul2002-11-121-5/+6
|
* Add casts to quiet compiler warnings.Karl Schultz2002-10-281-6/+6
|
* Header file clean-up:Brian Paul2002-10-241-2/+2
| | | | | | | | 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.
* GL_ATI_texture_mirror_once extension (Ian Romanick)Brian Paul2002-10-211-2/+50
|
* Add casts to quiet compiler warnings.Karl Schultz2002-10-181-6/+10
|
* fix bug in GL_MIRRORED_REPEAT_ARB (Ian Romanick)Brian Paul2002-10-181-1/+2
|
* remove const storage class specifier for the decl of a var that isn'tKarl Schultz2002-10-041-2/+2
| | | | a const.
* Changed a number of context fields from GLchan to GLfloat (such as ClearColor).Brian Paul2002-10-041-20/+24
| | | | | | 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.
* merge gl_texture_image RowStride from DRI 4.0.4Brian Paul2002-09-231-3/+5
|