summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
Commit message (Collapse)AuthorAgeFilesLines
* mesa: add some #if FEATURE_x testsBrian Paul2008-06-125-2/+38
|
* mesa: restore and fix Keith's "further degenerate the special case lit ↵Brian Paul2008-06-121-13/+31
| | | | | | | | | substitute" There was a bug in emit_degenerate_lit() that caused the SLT to produce unpredictable results in lit.z Plus, added a bunch of new comments.
* Revert "mesa: further degenerate the special case lit substitute"Brian Paul2008-06-111-12/+9
| | | | | | This reverts commit e841b92d9c8bf48085b4996df828ae745977f931. This fixes two specular lighting conform failures.
* mesa: refactor: move various ENUM_TO_x macros into macros.hBrian Paul2008-06-117-22/+57
|
* mesa: refactor: move glTexParameter-related functions into new texparam.c fileBrian Paul2008-06-117-1028/+1105
|
* mesa: refactor: move glTexEnv-related functions into new texenv.c fileBrian Paul2008-06-117-841/+919
|
* mesa: refactor: move glTexGen-related functions into new texgen.c fileBrian Paul2008-06-117-596/+673
|
* mesa: refactor: fix some FEATURE_ typos, mistakesBrian Paul2008-06-102-2/+2
|
* mesa: refactor: move #define FEATURE flags into new mfeatures.h fileBrian Paul2008-06-1012-96/+310
| | | | Also, check the FEATURE flags in many places.
* gallium: remove stray include of st_context.hBrian Paul2008-06-101-2/+0
|
* mesa: remove unused api_eval.h header fileBrian Paul2008-06-092-43/+0
|
* mesa: refactor: move _mesa_update_minmax/histogram() into image.cBrian Paul2008-06-093-74/+64
|
* mesa: refactor: move multisample-related functions into new multisample.c fileBrian Paul2008-06-098-44/+109
|
* mesa: refactor: move _mesa_resizebuffers(), _mesa_ResizeBuffersMESA() to ↵Brian Paul2008-06-096-83/+88
| | | | framebuffer.c
* mesa: refactor: move glClear, glClearColor into new clear.c file.Brian Paul2008-06-096-153/+227
|
* mesa: refactor: move scissor functions into new scissor.c fileBrian Paul2008-06-098-85/+150
|
* mesa: refactor: move _mesa_init_exec_table() into new api_exec.c fileBrian Paul2008-06-096-806/+872
|
* mesa: refactor: move pixel map/scale/bias code into image.cBrian Paul2008-06-094-476/+486
| | | | pixel.c is just the API-related code now.
* mesa: refactor: new _mesa_init_pixelstore() functionBrian Paul2008-06-094-28/+43
|
* mesa: refactor: move glReadPixels code into new readpix.c fileBrian Paul2008-06-096-172/+243
|
* mesa: refactor: move glPixelStore function into new pixelstore.c fileBrian Paul2008-06-096-203/+275
|
* mesa: chmod a-x context.cBrian Paul2008-06-091-0/+0
|
* mesa: Most of the functions of MESA_TEXTURE_S8_Z24 are now supportedJakob Bornecrantz2008-06-092-7/+31
|
* mesa: Add MESA_FORMAT_S8_Z24 texture formatJakob Bornecrantz2008-06-082-0/+37
| | | | | | | None of the fetch and store functions implemented. This atleast stops shadowtex from locking the GPU on i915 with the linux-dri-x86 target. It most of it looks okay, with the exception of actually displaying the texture.
* mesa: turn off ffvertex prog debugKeith Whitwell2008-06-061-1/+1
|
* mesa: remove EXT/NV suffixes from _mesa_PointParameter functionsBrian Paul2008-06-054-41/+28
|
* mesa: added _mesa_DrawArrays, DrawElements, DrawRangeElements() wrappers for ↵Brian Paul2008-06-051-0/+14
| | | | VBO funcs
* mesa: Apply MSVC portability fixes from Alan Hourihane.José Fonseca2008-05-3114-70/+70
|
* mesa: undo accidental setting of _ForceEyeCoordsKeith Whitwell2008-05-301-1/+1
|
* ffvertex: emit full LIT when attenuating (needs the 1 in X position)Keith Whitwell2008-05-272-19/+32
|
* ffvertex: don't compute whole eye vector if only eye.z is requiredKeith Whitwell2008-05-271-3/+27
|
* Revert "mesa: save a temp on normalizes"Keith Whitwell2008-05-241-4/+6
| | | | This reverts commit feceb43948f76cc4d4c8ecbb86b1b1f438c6daee.
* mesa: pre-swizzle normal scale state valueKeith Whitwell2008-05-241-2/+1
|
* mesa: evaluate _NeedEyeCoords prior to generating internal vertex shaderKeith Whitwell2008-05-241-12/+14
|
* mesa: save a temp on normalizesKeith Whitwell2008-05-231-6/+4
|
* mesa: further degenerate the special case lit substituteKeith Whitwell2008-05-231-9/+12
|
* mesa: don't emit LIT instruction when mat shininess known to be zeroKeith Whitwell2008-05-231-31/+102
| | | | Use a faster path in that case & make gears go faster.
* mesa: do object-space lighting in ffvertex_prog.cKeith Whitwell2008-05-231-29/+50
| | | | | Start pulling over some of the optimizations from the fixed function paths.
* Fix program refcounting assertion failure during context tear-downBrian Paul2008-05-191-22/+24
| | | | | | | | | | When purging the program hash table, the refcount _should_ be one since the program is referenced by the hash table. Need to explicitly set to zero before calling delete(). Also, purge high-level shader hash tables before low-level program hash tabl cherry-picked from master
* alias ProgramEnvParameter4xyARB and ProgramParameter4xyNV (bug #12935)Brian Paul2008-05-183-152/+100
| | | | | | these should be the same functions (as per spec). cherry-picked from master (86a4810b09097714942bf2b889e6c62357bba931)
* mesa: free shader program data before deleting shader objects.Brian2008-05-061-0/+16
| | | | | Picked from master. Fixes mem corruption seen when glean/api2 test exits.
* gallium: implement full reference counting for vertex/fragment programsBrian2008-05-063-24/+38
| | | | | | Use _mesa_reference_vert/fragprog() wherever we assign program pointers. Fixes a memory corruption bug found with glean/api2 test. Another memory bug involving shaders yet to be fixed...
* mesa: comments, whitespaceBrian2008-05-061-24/+19
|
* fix _mesa_ffs for alternative compilersAlan Hourihane2008-05-051-19/+17
|
* Fix build problem with MSVCAlan Hourihane2008-05-011-3/+7
|
* Add support for GL_REPLACE_EXT texture env mode.Brian Paul2008-04-301-1/+6
| | | | | | GL_REPLACE_EXT comes from the ancient GL_EXT_texture extension. Found an old demo that actually uses it. The values of the GL_REPLACE and GL_REPLACE_EXT tokens is different, unfortunately.
* mesa: added _mesa_scale_and_bias_depth_uint()Brian Paul2008-04-292-0/+18
|
* gallium: fix typo s/_mesa_unmap_drapix_pbo/_mesa_unmap_drawpix_pbo/Brian Paul2008-04-252-4/+4
|
* mesa: adjust glBitmap coords by a small epsilonBrian Paul2008-04-241-2/+3
| | | | | | Fixes problem with bitmaps jumping around by one pixel depending on window size. The rasterpos is often X.9999 instead of X+1. Run progs/redbook/drawf and resize window to check.
* mesa: no longer combine vertex/fragment shader parameters/uniformsBrian2008-04-041-3/+5
| | | | | | | GLSL Vertex and fragment shaders now have independent parameter buffers. A new gl_uniform_list is used to keep track of program uniforms and where each uniform is located in each shader's parameter buffer. This makes better use of the space in each buffer and simplifies shader linking.