Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Added ctx->Vertex/FragmentProgram._Enable flags. Set when vertex/fragment | Brian Paul | 2004-04-23 | 3 | -19/+19 |
| | | | | | | | program is enabled AND the currently bound program is valid. Check _Enable instead of Enable to prevent things from blowing up when someone calls glEnable(GL_VERTEX_PROGRAM_ARB) without actually defining a program. | ||||
* | remove some errant code from previous check-in | Brian Paul | 2004-04-23 | 1 | -4/+0 |
| | |||||
* | New glTexImage code. | Brian Paul | 2004-04-22 | 2 | -2/+8 |
| | | | | | | | | 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. | ||||
* | only init temp regs to zero if executing NV fragment program | Brian Paul | 2004-04-21 | 1 | -6/+10 |
| | |||||
* | do texcoord projective division in _swrast_span_default_texcoords() | Brian Paul | 2004-04-19 | 1 | -1/+11 |
| | |||||
* | Audit/fixes for NV/ARB TEX, TXP, TXB, TXD instructions. | Brian Paul | 2004-04-18 | 2 | -42/+154 |
| | | | | | | 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. | ||||
* | Make _SAT instructions compile correctly. | Keith Whitwell | 2004-04-15 | 1 | -3/+4 |
| | |||||
* | wrap file in #ifdef USE_TCC, otherwise compilation failes | Brian Paul | 2004-04-14 | 1 | -0/+3 |
| | |||||
* | Use tcc and the emitted C code from s_fragprog_to_c.c to dynamically compile | Keith Whitwell | 2004-04-14 | 4 | -15/+257 |
| | | | | | | | | | 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. | ||||
* | Build a single string containing the generated 'C' code. | Keith Whitwell | 2004-04-13 | 1 | -84/+142 |
| | |||||
* | added SPECULAR flag for sprite point functions | Brian Paul | 2004-04-09 | 2 | -5/+4 |
| | |||||
* | Committing in . | Jouk Jansen | 2004-04-05 | 1 | -79/+79 |
| | | | | | | | | | | | | | 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 ---------------------------------------------------------------------- | ||||
* | Committing in . | Jouk Jansen | 2004-04-05 | 1 | -79/+79 |
| | | | | | | | | | | | | | | 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 ---------------------------------------------------------------------- | ||||
* | Implement ARB_f_p KIL correctly. | Brian Paul | 2004-04-02 | 1 | -1/+10 |
| | |||||
* | Make the output a little more likely to compile... | Keith Whitwell | 2004-03-30 | 1 | -33/+60 |
| | |||||
* | Insert original fragment program instructions as comments. | Brian Paul | 2004-03-30 | 1 | -3/+14 |
| | | | | s/__inline/INLINE/ | ||||
* | Amusing utility to print ARB_fp programs as C code | Keith Whitwell | 2004-03-30 | 1 | -0/+687 |
| | |||||
* | fix array indexing for UP4B and UP4UB | Brian Paul | 2004-03-29 | 1 | -6/+6 |
| | |||||
* | Accomodate ARB_fp XPD opcode separately from NV_fp's X2D. | Keith Whitwell | 2004-03-29 | 1 | -0/+12 |
| | |||||
* | use Driver.WriteMonoRGBAPixels() when possible (Dan Schikore) | Brian Paul | 2004-03-24 | 1 | -11/+29 |
| | |||||
* | Committing in . | Jouk Jansen | 2004-03-23 | 1 | -3/+5 |
| | | | | | | | | Adding s_auxbuffer.c for compilation Modified Files: Mesa/src/mesa/swrast/descrip.mms ---------------------------------------------------------------------- | ||||
* | added s_auxbuffer.c | Brian Paul | 2004-03-22 | 1 | -1/+4 |
| | |||||
* | Implemented support for software-based AUX color buffers. | Brian Paul | 2004-03-21 | 8 | -63/+256 |
| | | | | | | Only available with Xlib driver for now. Assorted clean-ups related to Draw/ReadBuffer(). Renamed FRONT_LEFT_BIT -> DD_FRONT_LEFT_BIT, etc. | ||||
* | more TRIANGLE_WALK_DOUBLE tweaks (Justin Novosad) | Brian Paul | 2004-03-14 | 1 | -25/+80 |
| | |||||
* | Implementation of GL_EXT_pixel_buffer_object extension. | Brian Paul | 2004-03-13 | 7 | -53/+103 |
| | | | | | Note: extension may not be finalized yet - subject to change! Note: implementation not fully suitable for h/w implementation yet. | ||||
* | remove unneeded casts | Brian Paul | 2004-03-09 | 1 | -2/+2 |
| | |||||
* | Fix color index mode rendering. | Brian Paul | 2004-03-09 | 7 | -19/+38 |
| | | | | Changed SWvertex's index field to GLfloat and fix a few other bits. | ||||
* | s/_swrast_exec_nv_fragment_program/_swrast_exec_fragment_program/ | Brian Paul | 2004-03-03 | 3 | -8/+11 |
| | |||||
* | Remove clamp parameter from _mesa_unpack_color_span_float(). Pass the | Brian Paul | 2004-02-28 | 2 | -47/+53 |
| | | | | | | IMAGE_CLAMP_BIT if needed. Added ClampVertexColors and ClampFragmentColors to GLcontext in anticipation of upcoming extensions (not fully used yet). | ||||
* | consolidate image transfer operations in new _mesa_apply_rgba_transfer_ops() ↵ | Brian Paul | 2004-02-28 | 1 | -93/+12 |
| | | | | function | ||||
* | rename some span pack/unpack functions for better uniformity | Brian Paul | 2004-02-28 | 2 | -6/+6 |
| | |||||
* | move _swrast_texture_table_lookup() to _mesa_lookup_rgba_chan() | Brian Paul | 2004-02-28 | 3 | -285/+10 |
| | |||||
* | replace color table FloatTable boolean with Type enum | Brian Paul | 2004-02-28 | 1 | -8/+9 |
| | |||||
* | move _mesa_load_state_parameters() to state validation stage | Brian Paul | 2004-02-27 | 2 | -8/+16 |
| | |||||
* | fix PK2H, UP2H, PK2US bugs | Brian Paul | 2004-02-27 | 1 | -18/+21 |
| | |||||
* | A few more tweaks to fog code. | Brian Paul | 2004-02-17 | 1 | -4/+8 |
| | | | | | Remove unneeded FABSF() macros. Added blend factor clamping in a few spots. | ||||
* | A bit of an overhaul of the fog code. | Brian Paul | 2004-02-17 | 6 | -199/+262 |
| | | | | | | glFogCoord didn't always work reliably. ARB fragment program fog options work now. Per-fragment fog computations are now perspective corrected. | ||||
* | added SPAN_W | Brian Paul | 2004-02-17 | 1 | -8/+9 |
| | |||||
* | just some reformatting | Brian Paul | 2004-02-17 | 1 | -16/+17 |
| | |||||
* | Added TRIANGLE_WALK_DOUBLE to optionally walk triangle edges with GLdoubles | Brian Paul | 2004-02-17 | 1 | -34/+91 |
| | | | | instead of GLfixed. (Justin Novosad) | ||||
* | some code clean-ups | Brian Paul | 2004-02-15 | 1 | -64/+67 |
| | |||||
* | Minor clean-ups of variable scopes, initializations, etc. | Brian Paul | 2004-02-15 | 1 | -29/+51 |
| | | | | | New comments discussing FIXED_FRAC_BITS, SUB_PIXEL_BITS, max viewport size and rasterization accuracy. | ||||
* | Refactor "class" texture environments to be implemented in terms of | Ian Romanick | 2004-02-06 | 1 | -90/+25 |
| | | | | ARB_texture_env_combine state. | ||||
* | fix typo | Brian Paul | 2004-02-04 | 3 | -12/+9 |
| | |||||
* | fixed a bug in GL_NEAREST sampler | Daniel Borca | 2004-02-02 | 1 | -6/+18 |
| | |||||
* | s/BlendEquatioRGB/BlendEquationRGB/ | Brian Paul | 2004-01-28 | 1 | -5/+5 |
| | |||||
* | Added support for EXT_blend_equation_separate / ATI_blend_equation_separate. | Ian Romanick | 2004-01-27 | 1 | -25/+93 |
| | | | | | The internal driver interface was also changed to use BlendEquationSeparate instead of BlendEquation. | ||||
* | Consolidate texObj->Pos/Neg/X/Y/Z and texObj->Image into a single | Keith Whitwell | 2004-01-27 | 6 | -104/+104 |
| | | | | array, texObj->Image[face][level]. | ||||
* | Change software alpha plane pointers from void* to GLchan*, eliminate some ↵ | Brian Paul | 2004-01-23 | 1 | -15/+14 |
| | | | | casts. | ||||
* | Initial support for floating point and signed texture formats. | Brian Paul | 2004-01-23 | 2 | -35/+36 |
| | | | | | | | 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. |