summaryrefslogtreecommitdiff
path: root/src/mesa/main
AgeCommit message (Collapse)Author
2008-06-12mesa: add some #if FEATURE_x testsBrian Paul
2008-06-12mesa: restore and fix Keith's "further degenerate the special case lit ↵Brian Paul
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.
2008-06-11Revert "mesa: further degenerate the special case lit substitute"Brian Paul
This reverts commit e841b92d9c8bf48085b4996df828ae745977f931. This fixes two specular lighting conform failures.
2008-06-11mesa: refactor: move various ENUM_TO_x macros into macros.hBrian Paul
2008-06-11mesa: refactor: move glTexParameter-related functions into new texparam.c fileBrian Paul
2008-06-11mesa: refactor: move glTexEnv-related functions into new texenv.c fileBrian Paul
2008-06-11mesa: refactor: move glTexGen-related functions into new texgen.c fileBrian Paul
2008-06-10mesa: refactor: fix some FEATURE_ typos, mistakesBrian Paul
2008-06-10mesa: refactor: move #define FEATURE flags into new mfeatures.h fileBrian Paul
Also, check the FEATURE flags in many places.
2008-06-10gallium: remove stray include of st_context.hBrian Paul
2008-06-09mesa: remove unused api_eval.h header fileBrian Paul
2008-06-09mesa: refactor: move _mesa_update_minmax/histogram() into image.cBrian Paul
2008-06-09mesa: refactor: move multisample-related functions into new multisample.c fileBrian Paul
2008-06-09mesa: refactor: move _mesa_resizebuffers(), _mesa_ResizeBuffersMESA() to ↵Brian Paul
framebuffer.c
2008-06-09mesa: refactor: move glClear, glClearColor into new clear.c file.Brian Paul
2008-06-09mesa: refactor: move scissor functions into new scissor.c fileBrian Paul
2008-06-09mesa: refactor: move _mesa_init_exec_table() into new api_exec.c fileBrian Paul
2008-06-09mesa: refactor: move pixel map/scale/bias code into image.cBrian Paul
pixel.c is just the API-related code now.
2008-06-09mesa: refactor: new _mesa_init_pixelstore() functionBrian Paul
2008-06-09mesa: refactor: move glReadPixels code into new readpix.c fileBrian Paul
2008-06-09mesa: refactor: move glPixelStore function into new pixelstore.c fileBrian Paul
2008-06-09mesa: chmod a-x context.cBrian Paul
2008-06-09mesa: Most of the functions of MESA_TEXTURE_S8_Z24 are now supportedJakob Bornecrantz
2008-06-08mesa: Add MESA_FORMAT_S8_Z24 texture formatJakob Bornecrantz
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.
2008-06-06mesa: turn off ffvertex prog debugKeith Whitwell
2008-06-05mesa: remove EXT/NV suffixes from _mesa_PointParameter functionsBrian Paul
2008-06-05mesa: added _mesa_DrawArrays, DrawElements, DrawRangeElements() wrappers for ↵Brian Paul
VBO funcs
2008-05-31mesa: Apply MSVC portability fixes from Alan Hourihane.José Fonseca
2008-05-30mesa: undo accidental setting of _ForceEyeCoordsKeith Whitwell
2008-05-27ffvertex: emit full LIT when attenuating (needs the 1 in X position)Keith Whitwell
2008-05-27ffvertex: don't compute whole eye vector if only eye.z is requiredKeith Whitwell
2008-05-24Revert "mesa: save a temp on normalizes"Keith Whitwell
This reverts commit feceb43948f76cc4d4c8ecbb86b1b1f438c6daee.
2008-05-24mesa: pre-swizzle normal scale state valueKeith Whitwell
2008-05-24mesa: evaluate _NeedEyeCoords prior to generating internal vertex shaderKeith Whitwell
2008-05-23mesa: save a temp on normalizesKeith Whitwell
2008-05-23mesa: further degenerate the special case lit substituteKeith Whitwell
2008-05-23mesa: don't emit LIT instruction when mat shininess known to be zeroKeith Whitwell
Use a faster path in that case & make gears go faster.
2008-05-23mesa: do object-space lighting in ffvertex_prog.cKeith Whitwell
Start pulling over some of the optimizations from the fixed function paths.
2008-05-19Fix program refcounting assertion failure during context tear-downBrian Paul
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
2008-05-18alias ProgramEnvParameter4xyARB and ProgramParameter4xyNV (bug #12935)Brian Paul
these should be the same functions (as per spec). cherry-picked from master (86a4810b09097714942bf2b889e6c62357bba931)
2008-05-06mesa: free shader program data before deleting shader objects.Brian
Picked from master. Fixes mem corruption seen when glean/api2 test exits.
2008-05-06gallium: implement full reference counting for vertex/fragment programsBrian
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...
2008-05-06mesa: comments, whitespaceBrian
2008-05-05fix _mesa_ffs for alternative compilersAlan Hourihane
2008-05-01Fix build problem with MSVCAlan Hourihane
2008-04-30Add support for GL_REPLACE_EXT texture env mode.Brian Paul
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.
2008-04-29mesa: added _mesa_scale_and_bias_depth_uint()Brian Paul
2008-04-25gallium: fix typo s/_mesa_unmap_drapix_pbo/_mesa_unmap_drawpix_pbo/Brian Paul
2008-04-24mesa: adjust glBitmap coords by a small epsilonBrian Paul
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.
2008-04-04mesa: no longer combine vertex/fragment shader parameters/uniformsBrian
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.