summaryrefslogtreecommitdiff
path: root/src/mesa/swrast/s_texture.c
AgeCommit message (Collapse)Author
2004-12-02Fix some warningsAlan Hourihane
2004-09-13tweak texcoord for sampling texture rectangles (Dave Reveman)Brian Paul
2004-08-25Silence gcc 3.4 warnings on ReactOS. Mostly unused var warnings. (patch ↵Brian Paul
1015696)
2004-06-11fix minor typo in commentBrian Paul
2004-06-02Check for NULL texture object when choosing texture sampler. Fixes segfault ↵Brian Paul
when fragment program references an incomplete texture
2004-05-12Added big-endian texture formats.Brian Paul
Moved CI->RGBA palette lookup into texel fetch function.
2004-05-06fix rectangle texture clamping and border-related codeBrian Paul
2004-02-28move _swrast_texture_table_lookup() to _mesa_lookup_rgba_chan()Brian Paul
2004-02-28replace color table FloatTable boolean with Type enumBrian Paul
2004-02-06Refactor "class" texture environments to be implemented in terms ofIan Romanick
ARB_texture_env_combine state.
2004-02-02fixed a bug in GL_NEAREST samplerDaniel Borca
2004-01-27Consolidate texObj->Pos/Neg/X/Y/Z and texObj->Image into a singleKeith Whitwell
array, texObj->Image[face][level].
2004-01-23Initial support for floating point and signed texture formats.Brian Paul
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.
2003-10-11don't use color table's format to determine texture env functionsBrian Paul
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-29s/GLuint/GLint/Brian Paul
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-07-24if texture color table is enabled, use the color table's format to evaluate ↵Brian Paul
the texture env function
2003-07-23fix GL_SGI_texture_colortable bugsBrian Paul
2003-07-03Implemented GL_ARB_texture_non_power_of_two (except for auto mipmap generation).Brian Paul
2003-04-14fix depth texture tex env bug (#719903)Brian Paul
2003-03-04fix GLchan=GLfloat problemsBrian Paul
2003-03-01Killed mmath.[ch]. Moved low-level functions/assembly code into imports.[ch]Brian Paul
Moved type conversion and interpolation macros into macros.h Updated all the files that used to include mmath.h
2003-02-27fix compilation warnings on WindowsKarl Schultz
2003-02-23Move span stuff from swrast.h to s_context.h (it's private).Brian Paul
Implemented remaining fragment program instructions. Initial changes to implement fragment program texture sampling.
2003-02-06replace | with & (Laurent Desnogues)Brian Paul
2003-01-26Make GL_SGI_texture_color_table work per-texture unit.Brian Paul
Clean-up and optimize _swrast_texture_table_lookup().
2003-01-21GL_SGI_texture_color_table extension (Eric Plante)Brian Paul
2003-01-21GL_ATI_texture_env_combine3 extensionBrian Paul
2002-11-12apply scale factor before clapping for DOT3Brian Paul
2002-10-28Add casts to quiet compiler warnings.Karl Schultz
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-21GL_ATI_texture_mirror_once extension (Ian Romanick)Brian Paul
2002-10-18Add casts to quiet compiler warnings.Karl Schultz
2002-10-18fix bug in GL_MIRRORED_REPEAT_ARB (Ian Romanick)Brian Paul
2002-10-04remove const storage class specifier for the decl of a var that isn'tKarl Schultz
a const.
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-23merge gl_texture_image RowStride from DRI 4.0.4Brian Paul
2002-09-21updates from 4.0.4 (MESA_ycbcr_texture, APPLE_client_storage, etc)Brian Paul
2002-08-07struct sw_span is again allocated on the stack, but the arrays of spanBrian Paul
data are broken out into a new struct span_arrays which is allocated per-context (to avoid huge stack allocations - a problem on Windows). This lets us use span.redStep instead of span->redStep (for example) to hopefully get slightly better performance in the triangle functions.
2002-06-26fix CHAN_TYPE==GL_FLOAT compile problemBrian Paul
2002-06-15Implemented GL_NV_texture_rectangle extension.Brian Paul
Replace struct gl_texure_object's Dimension w/ Target field. Added _EnabledUnits to struct gl_texture_attrib - the _ReallyEnabled field is obsolete, but still present for now. This effectively removes the 8-texture units limit, 32 units now possible, but unlikely! New TEXTURE_1D/2D/3D/CUBE/RECT_BIT tokens for unit->_ReallyEnabled field. Updated device drivers to use ctx->Texture._EnabledUnits.
2002-05-02Implemented GL_ARB_texture_env_crossbar.Brian Paul
Simplification of some of the texture application code.
2002-04-19casts to fix GLint/GLuint mismatchesBrian Paul
2002-04-12fixes for corrected GL_DOT3_RGB[A]_EXT token valuesBrian Paul
2002-04-12Klaus Niederkrueger's latest changes: use INIT_SPAN() to init span primitiveBrian Paul
type, width, interp mask and array mask.
2002-04-04Texture combine alpha subtraction was wrong. Fixed 16-bit channel glitchesBrian Paul
2002-03-23Test implementation of proposed GL_EXT_shadow_funcs extension. This justBrian Paul
generalizes the R/texture comparision operators to include all eight of the depth test comparisons.
2002-03-16New mipmap lambda calculation. Previously, trilinear filtering couldBrian Paul
result in _very_ blurry textures. Still need to do some optimization of the new code in s_span.c