summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast
Commit message (Collapse)AuthorAgeFilesLines
* Added big-endian texture formats.Brian Paul2004-05-121-105/+0
| | | | Moved CI->RGBA palette lookup into texel fetch function.
* fix rectangle texture clamping and border-related codeBrian Paul2004-05-061-23/+72
|
* Fix minor warnings found with g++.Brian Paul2004-05-043-8/+6
|
* Added ctx->Vertex/FragmentProgram._Enable flags. Set when vertex/fragmentBrian Paul2004-04-233-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-inBrian Paul2004-04-231-4/+0
|
* New glTexImage code.Brian Paul2004-04-222-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 programBrian Paul2004-04-211-6/+10
|
* do texcoord projective division in _swrast_span_default_texcoords()Brian Paul2004-04-191-1/+11
|
* Audit/fixes for NV/ARB TEX, TXP, TXB, TXD instructions.Brian Paul2004-04-182-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 Whitwell2004-04-151-3/+4
|
* wrap file in #ifdef USE_TCC, otherwise compilation failesBrian Paul2004-04-141-0/+3
|
* Use tcc and the emitted C code from s_fragprog_to_c.c to dynamically compileKeith Whitwell2004-04-144-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 Whitwell2004-04-131-84/+142
|
* added SPECULAR flag for sprite point functionsBrian Paul2004-04-092-5/+4
|
* Committing in .Jouk Jansen2004-04-051-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 Jansen2004-04-051-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 Paul2004-04-021-1/+10
|
* Make the output a little more likely to compile...Keith Whitwell2004-03-301-33/+60
|
* Insert original fragment program instructions as comments.Brian Paul2004-03-301-3/+14
| | | | s/__inline/INLINE/
* Amusing utility to print ARB_fp programs as C codeKeith Whitwell2004-03-301-0/+687
|
* fix array indexing for UP4B and UP4UBBrian Paul2004-03-291-6/+6
|
* Accomodate ARB_fp XPD opcode separately from NV_fp's X2D.Keith Whitwell2004-03-291-0/+12
|
* use Driver.WriteMonoRGBAPixels() when possible (Dan Schikore)Brian Paul2004-03-241-11/+29
|
* Committing in .Jouk Jansen2004-03-231-3/+5
| | | | | | | | Adding s_auxbuffer.c for compilation Modified Files: Mesa/src/mesa/swrast/descrip.mms ----------------------------------------------------------------------
* added s_auxbuffer.cBrian Paul2004-03-221-1/+4
|
* Implemented support for software-based AUX color buffers.Brian Paul2004-03-218-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 Paul2004-03-141-25/+80
|
* Implementation of GL_EXT_pixel_buffer_object extension.Brian Paul2004-03-137-53/+103
| | | | | Note: extension may not be finalized yet - subject to change! Note: implementation not fully suitable for h/w implementation yet.
* remove unneeded castsBrian Paul2004-03-091-2/+2
|
* Fix color index mode rendering.Brian Paul2004-03-097-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 Paul2004-03-033-8/+11
|
* Remove clamp parameter from _mesa_unpack_color_span_float(). Pass theBrian Paul2004-02-282-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 Paul2004-02-281-93/+12
| | | | function
* rename some span pack/unpack functions for better uniformityBrian Paul2004-02-282-6/+6
|
* move _swrast_texture_table_lookup() to _mesa_lookup_rgba_chan()Brian Paul2004-02-283-285/+10
|
* replace color table FloatTable boolean with Type enumBrian Paul2004-02-281-8/+9
|
* move _mesa_load_state_parameters() to state validation stageBrian Paul2004-02-272-8/+16
|
* fix PK2H, UP2H, PK2US bugsBrian Paul2004-02-271-18/+21
|
* A few more tweaks to fog code.Brian Paul2004-02-171-4/+8
| | | | | Remove unneeded FABSF() macros. Added blend factor clamping in a few spots.
* A bit of an overhaul of the fog code.Brian Paul2004-02-176-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_WBrian Paul2004-02-171-8/+9
|
* just some reformattingBrian Paul2004-02-171-16/+17
|
* Added TRIANGLE_WALK_DOUBLE to optionally walk triangle edges with GLdoublesBrian Paul2004-02-171-34/+91
| | | | instead of GLfixed. (Justin Novosad)
* some code clean-upsBrian Paul2004-02-151-64/+67
|
* Minor clean-ups of variable scopes, initializations, etc.Brian Paul2004-02-151-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 ofIan Romanick2004-02-061-90/+25
| | | | ARB_texture_env_combine state.
* fix typoBrian Paul2004-02-043-12/+9
|
* fixed a bug in GL_NEAREST samplerDaniel Borca2004-02-021-6/+18
|
* s/BlendEquatioRGB/BlendEquationRGB/Brian Paul2004-01-281-5/+5
|
* Added support for EXT_blend_equation_separate / ATI_blend_equation_separate.Ian Romanick2004-01-271-25/+93
| | | | | The internal driver interface was also changed to use BlendEquationSeparate instead of BlendEquation.