summaryrefslogtreecommitdiff
path: root/src/mesa/swrast/s_texcombine.c
AgeCommit message (Collapse)Author
2011-02-28mesa: remove GL_SGI_texture_color_table supportBrian Paul
It was only implemented in the swrast driver and probably not used by any applications. A modern app would use a dependent/chained texture lookup in the fragment shader.
2010-12-02swrast: avoid large stack allocations in tex combine codeBrian Paul
2010-10-23mesa: split up the image.c fileBrian Paul
New files: pack.c - image/row packing/unpacking functions pixeltransfer.c - pixel scale/bias/lookup functions
2010-10-13Drop GLcontext typedef and use struct gl_context insteadKristian Høgsberg
2010-06-10mesa: rename src/mesa/shader/ to src/mesa/program/Brian Paul
2010-02-13mesa: Fix compiler warningsKarl Schultz
Add explicit casts, fix constant types, fix variable types. Fixes about 340 warnings in MSFT Visual Studio.
2010-01-27swrast: silence double->float assignment warningsBrian Paul
Reported by Karl Schultz.
2010-01-12swrast: Remove unnecessary header from s_texcombine.c.Vinson Lee
2009-04-20swrast: fix pointer arithmetic error in get_texel_array()Brian Paul
This came from commit 1b2ab023673261b4b942e1126c0b599d02fbd4a0
2009-04-09swrast: remove some unneeded CHAN_TYPE!=GL_FLOAT codeBrian Paul
2009-04-06swrast: more texcombine clean-upsBrian Paul
2009-04-06swrast: asst. clean-ups in texcombine codeBrian Paul
2009-04-06swrast: fix incorrect arithmetic for GL_ADD_SIGNED/GL_COMBINE4_NV modeBrian Paul
2009-04-01swrast: remove old texture_apply() code; always use texture combine codeBrian Paul
2009-04-01swrast: fix bad optimization checkBrian Paul
2009-04-01swrast: remove unused parameterBrian Paul
2009-04-01swrast: minor improvements, clean-ups in texcombine codeBrian Paul
2009-04-01swrast: use float4_array typedef to simplify the code a bitBrian Paul
2009-04-01mesa: texture combine clean-upsBrian Paul
Use MAX_COMBINER_TERMS instead of 4. Rename some vars. Update comments.
2009-04-01swrast: general clean-up of texture combine codeBrian Paul
2009-04-01swrast: do texture sampling/combining in floating pointBrian Paul
The code's cleaner and a step toward supporting float-valued texture sampling. Some optimizations for common cases can be added and re-enabled...
2009-03-12mesa: add support for ATI_envmap_bumpmapRoland Scheidegger
add new entrypoints, new texture format, etc translate in texenvprogram.c for drivers using the mesa-generated tex env fragment program also handled in swrast, but not tested (cannot work due to negative texel results not handled correctly)
2009-01-30swrast: replace macro with inline functionBrian Paul
2009-01-28mesa: implement texture swizzling in swrastBrian Paul
And enable GL_EXT_texture_swizzle for software drivers.
2009-01-23swrast: updates for GL_NV_texture_env_combine4Brian Paul
2008-10-10mesa: include needed headerBrian Paul
2008-09-18mesa: prefix a bunch of #include lines with "main/".Brian Paul
This is another step toward removing a whole bunch of -I flags from the cc commands. Still need to address driver code...
2007-05-20Overhaul/simplify SWvertex and SWspan attribute handling.Brian
Instead of separate fog/specular/texcoord/varying code, just treat all of them as generic attributes. Simplifies the point/line/triangle functions.
2007-02-01New SWspanarrays attribs[] array.Brian
Replace texcoord[], varying[], etc. arrays with single attribs[] array, indexed by FRAG_ATTRIB_* values. Eliminates need to copy data into fragment program machine input registers. Will lead to future clean-ups.
2006-10-13Revamp color table code.Brian Paul
Always store all color tables as both float and ubyte.
2006-10-01New SWspan and SWspanarrays typedefs.Brian Paul
2006-05-18minor simplificationBrian Paul
2006-05-18texture EnvColor needs to be converted to GLchan, not GLintBrian Paul
2006-04-27fixes for CHAN_BITS!=8Brian Paul
2005-10-05In gl_texture_image replace IntFormat with InternalFormat and Format withBrian Paul
_BaseFormat to be consistant with gl_renderbuffer.
2005-10-01GL_EXT_packed_depth_stencil changesBrian Paul
2005-09-16Rework the texture filtering functions a bit.Brian Paul
No need to pass the texture unit number as an argument.
2005-09-15Split the s_texture.c file into two new files:Brian Paul
s_texcombine.c - for texture combining/application s_texfilter.c - for texture sampling/filtering