summaryrefslogtreecommitdiff
path: root/src/mesa/swrast
AgeCommit message (Collapse)Author
2004-04-23remove some errant code from previous check-inBrian Paul
2004-04-22New glTexImage code.Brian Paul
The gl_texture_format struct now has a StoreTexImageFunc that's called by glTex[Sub]Image[123]D to convert the user's texture data into the specific texture format layout. Now it's much easier to add new texture formats (like the 16/32-bit floating point formats). The texutil.[ch] and texutil_tmp.h files are obsolete.
2004-04-21only init temp regs to zero if executing NV fragment programBrian Paul
2004-04-19do texcoord projective division in _swrast_span_default_texcoords()Brian Paul
2004-04-18Audit/fixes for NV/ARB TEX, TXP, TXB, TXD instructions.Brian Paul
Some texture instructions were using wrong LOD. Fixed interpolate_texcoords() so it doesn't do texcoord projective division when using a fragment program. The TXP instruction does that.
2004-04-15Make _SAT instructions compile correctly.Keith Whitwell
2004-04-14wrap file in #ifdef USE_TCC, otherwise compilation failesBrian Paul
2004-04-14Use tcc and the emitted C code from s_fragprog_to_c.c to dynamically compileKeith Whitwell
and execute fragment programs. Very limited and experimental, but works well enough to run arbfplight.c. http://fabrice.bellard.free.fr/tcc/ Compile with 'make linux-tcc', being sure to make clean first.
2004-04-13Build a single string containing the generated 'C' code.Keith Whitwell
2004-04-09added SPECULAR flag for sprite point functionsBrian Paul
2004-04-05 Committing in .Jouk Jansen
Correction on last commit (My FTP-server on linux is playing games with <CR>'s) Modified Files: Mesa/src/mesa/drivers/common/descrip.mms Mesa/src/mesa/main/descrip.mms Mesa/src/mesa/shader/arbprogparse.c Mesa/src/mesa/shader/descrip.mms Mesa/src/mesa/swrast/descrip.mms Mesa/src/mesa/tnl/descrip.mms ----------------------------------------------------------------------
2004-04-05 Committing in .Jouk Jansen
Updated OpenVMS compile support due to shader directory. Removed <CR>'s in arbprogparse.c Modified Files: Mesa/src/mesa/descrip.mms Mesa/src/mesa/drivers/common/descrip.mms Mesa/src/mesa/main/descrip.mms Mesa/src/mesa/shader/arbprogparse.c Mesa/src/mesa/shader/descrip.mms Mesa/src/mesa/swrast/descrip.mms Mesa/src/mesa/tnl/descrip.mms ----------------------------------------------------------------------
2004-04-02Implement ARB_f_p KIL correctly.Brian Paul
2004-03-30Make the output a little more likely to compile...Keith Whitwell
2004-03-30Insert original fragment program instructions as comments.Brian Paul
s/__inline/INLINE/
2004-03-30Amusing utility to print ARB_fp programs as C codeKeith Whitwell
2004-03-29fix array indexing for UP4B and UP4UBBrian Paul
2004-03-29Accomodate ARB_fp XPD opcode separately from NV_fp's X2D.Keith Whitwell
2004-03-24use Driver.WriteMonoRGBAPixels() when possible (Dan Schikore)Brian Paul
2004-03-23 Committing in .Jouk Jansen
Adding s_auxbuffer.c for compilation Modified Files: Mesa/src/mesa/swrast/descrip.mms ----------------------------------------------------------------------
2004-03-22added s_auxbuffer.cBrian Paul
2004-03-21Implemented support for software-based AUX color buffers.Brian Paul
Only available with Xlib driver for now. Assorted clean-ups related to Draw/ReadBuffer(). Renamed FRONT_LEFT_BIT -> DD_FRONT_LEFT_BIT, etc.
2004-03-14more TRIANGLE_WALK_DOUBLE tweaks (Justin Novosad)Brian Paul
2004-03-13Implementation of GL_EXT_pixel_buffer_object extension.Brian Paul
Note: extension may not be finalized yet - subject to change! Note: implementation not fully suitable for h/w implementation yet.
2004-03-09remove unneeded castsBrian Paul
2004-03-09Fix color index mode rendering.Brian Paul
Changed SWvertex's index field to GLfloat and fix a few other bits.
2004-03-03s/_swrast_exec_nv_fragment_program/_swrast_exec_fragment_program/Brian Paul
2004-02-28Remove clamp parameter from _mesa_unpack_color_span_float(). Pass theBrian Paul
IMAGE_CLAMP_BIT if needed. Added ClampVertexColors and ClampFragmentColors to GLcontext in anticipation of upcoming extensions (not fully used yet).
2004-02-28consolidate image transfer operations in new _mesa_apply_rgba_transfer_ops() ↵Brian Paul
function
2004-02-28rename some span pack/unpack functions for better uniformityBrian 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-27move _mesa_load_state_parameters() to state validation stageBrian Paul
2004-02-27fix PK2H, UP2H, PK2US bugsBrian Paul
2004-02-17A few more tweaks to fog code.Brian Paul
Remove unneeded FABSF() macros. Added blend factor clamping in a few spots.
2004-02-17A bit of an overhaul of the fog code.Brian Paul
glFogCoord didn't always work reliably. ARB fragment program fog options work now. Per-fragment fog computations are now perspective corrected.
2004-02-17added SPAN_WBrian Paul
2004-02-17just some reformattingBrian Paul
2004-02-17Added TRIANGLE_WALK_DOUBLE to optionally walk triangle edges with GLdoublesBrian Paul
instead of GLfixed. (Justin Novosad)
2004-02-15some code clean-upsBrian Paul
2004-02-15Minor clean-ups of variable scopes, initializations, etc.Brian Paul
New comments discussing FIXED_FRAC_BITS, SUB_PIXEL_BITS, max viewport size and rasterization accuracy.
2004-02-06Refactor "class" texture environments to be implemented in terms ofIan Romanick
ARB_texture_env_combine state.
2004-02-04fix typoBrian Paul
2004-02-02fixed a bug in GL_NEAREST samplerDaniel Borca
2004-01-28s/BlendEquatioRGB/BlendEquationRGB/Brian Paul
2004-01-27Added support for EXT_blend_equation_separate / ATI_blend_equation_separate.Ian Romanick
The internal driver interface was also changed to use BlendEquationSeparate instead of BlendEquation.
2004-01-27Consolidate texObj->Pos/Neg/X/Y/Z and texObj->Image into a singleKeith Whitwell
array, texObj->Image[face][level].
2004-01-23Change software alpha plane pointers from void* to GLchan*, eliminate some ↵Brian Paul
casts.
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.
2004-01-14added blurb about NVIDIA extensionsBrian Paul