summaryrefslogtreecommitdiff
path: root/src/mesa/swrast/s_texture.c
AgeCommit message (Collapse)Author
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
2001-07-18do some 16-bit GLchan computations in floating point (Gerk Huisma)Brian Paul
2001-07-14more work on float colors (still not finished)Brian Paul
2001-07-13assorted changes for supporting GLfloat color channels (not done)Brian Paul
2001-06-01applied Klaus Niederkrueger's CHAN_BITS==32 patchBrian Paul
2001-05-30GLubyte -> GLchan fixBrian Paul
2001-05-16use DEFARRAY, etc macros to work around 32k data limit on Macs (Tom Goon)Brian Paul
2001-05-14New IFLOOR, ICEIL macros from Josh Vanderhoof. Fixes problems withBrian Paul
IFLOOR(1.99999)==2, for example. Moved some macros from config.h to glheader.h
2001-05-03minor clean-ups and warning fixesBrian Paul
2001-04-23fixed two mistakes in texture combine codeBrian Paul
2001-04-19removed glext.h hacksBrian Paul
2001-04-17minor optimization to dot3 computationBrian Paul
2001-04-17Fixed a number of minor GL_ARB_texture_env_combine/dot3 issues.Brian Paul
2001-04-12Moved FRAC macro out of mmath.h into s_texture.c since it's only used thereBrian Paul
and doesn't do what one might expect for negative values. Reimplemented FRAC in terms of floor() to fix glitches seen in tests/texwrap.c. Minor fix for problem with GL_CLAMP_TO_BORDER_ARB with GL_NEAREST sampling.
2001-04-10Added IROUND_POS() macro to mmath.h and use where appropriate. (Klaus ↵Brian Paul
Niederkrueger)
2001-03-28More texture format updates. Drivers now need only plug an appropriateGareth Hughes
format into texImage->TexFormat, the rest is handled by core Mesa.
2001-03-26added GL_ARB_texture_border_clampBrian Paul
2001-03-23fixed Min/Max lod clamp bugBrian Paul
2001-03-22added GL_ARB_texture_env_combine, GL_ARB_texture_env_dot3Brian Paul
2001-03-21minor re-org in sample_depth_texture()Brian Paul
2001-03-15use IROUND() instead of (int) cast (Klaus Niederkrueger)Brian Paul
2001-03-08More g++ warning fixes. Fixes for CHAN_BITS==16, it seems to work.Brian Paul
2001-03-03lots of gl_*() to _mesa_*() namespace clean-upBrian Paul
2001-02-26bilinear sampling of depth texturesBrian Paul
2001-02-20Implemented GL_SGIX_shadow and GL_SGIX_shadow_texture.Brian Paul
Added some const keywords in the s/w texturing code.
2001-02-17Changed FetchTexel() function pointer arguments.Brian Paul
Implemented glGetTexImage(format=GL_COLOR_INDEX). Changed _mesa_unpack_depth_span() args. Minor changes/clean-ups in mtypes.h. Histogram counter component sizes were wrong.
2001-02-07check texture texel type before using optimized sampling functionsBrian Paul
2001-02-06Overhaul of texture image handling.Brian Paul
1. gl_texture_image struct's Data pointer points to images in driver's format. 2. Added FetchTexel() function pointer to struct gl_texture_image. 3. Changed Driver Tex[Sub]Image functions, return void now. 4. Texture storage/fetch code in new texstore.c file. 5. Removed texture.[ch] - functions moved to state.c Note: FX driver updates not finished yet.
2001-01-06Implementation of GL_EXT_texture_env_dot3.Gareth Hughes
2001-01-05Fixed bug in MinMagThresh computation.Brian Paul
Renamed gl_texture_pixels() to _swrast_texture_fragments()
2001-01-03More color macro clean-ups.Brian Paul
FLOAT_TO_CHAN() macro removed.