summaryrefslogtreecommitdiff
path: root/src/mesa/swrast/s_texture.c
AgeCommit message (Collapse)Author
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
2002-03-08new assertions, use INLINE macro (Klaus Niederkrueger)Brian Paul
2002-02-17Updated 1D/3D/cube mipmapping code to work like the new 2D code.Brian Paul
2002-02-17Lots of improvements in the 2D texture sampling code. Fewer function callsBrian Paul
and no more switches inside loops. To do: give the 1D/3D/cube routines the same treatment.
2002-02-16removed dead codeBrian Paul
2002-02-15Finished up GL_ARB_depth_texture and GL_ARB_shadow.Brian Paul
2002-02-15uniformly pass texcoords as GLfloat [4]Brian Paul
2002-02-02Converted line drawing over to new span code, pb no longer used.Brian Paul
Big clean-up of line drawing code. Removed many obsolete span processing functions.
2002-01-28Still more texture/span simplification and clean-up.Brian Paul
Updated comments, fixed indentation, etc.
2002-01-28More span clean-up, mostly texture-related.Brian Paul
_mesa_rasterize_span() is gone, replaced by new _mesa_write_textured_span(). Removed some unneeded triangle functions - more simplification possible.
2002-01-27LOTS of changes, building upon Klaus's work.Brian Paul
struct sw_span is used throughout span/fragment processing. This is leading to less code and more chances for optimization.
2002-01-10Klaus's latest patches: change texcoord[3] to texcoord[4] everywhereBrian Paul
2001-12-17first checkpoint commit of Klaus's new span code (struct sw_span)Brian Paul
2001-12-04prototype implementation of GL_ARB_depth_texture, GL_ARB_shadow, ↵Brian Paul
GL_ARB_shadow_ambient
2001-11-19More span rendering optimizations from Klaus NiederkruegerBrian Paul
2001-10-17warning fixes (Karl Schultz)Brian Paul
2001-10-17added GL_ARB_texture_mirrored_repeatBrian Paul
2001-09-19silence compiler warnings (last batch for src)Karl Schultz
2001-08-14Fixes for 32-bit GLchans: smooth/flat/textured triangles seem to work now.Brian Paul
2001-08-07removed some now bogus assertions (due to Klaus's latest optimization)Brian Paul
2001-08-07optimization to sample_lambda_2d() (Klaus Niederkrueger)Brian Paul