summaryrefslogtreecommitdiff
path: root/src/mesa/main
AgeCommit message (Collapse)Author
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.
2008-04-04Alias glStencilOpSeparateATI with glStencilOpSeparate.Brian
2008-04-04Finish up ATI_separate_stencilBrian
Add entrypoints to glapi XML file and regenerate files. Implement glStencilOpSeparateATI(). Consolidate some code in stencil.c
2008-04-04add missing _mesa_StencilFuncSeparateATI functionRoland Scheidegger
2008-03-28mesa: fix texture/renderbuffer mix-up in test_attachment_completeness()Brian Paul
2008-03-22delete default programs with ctx->Driver.DeleteProgram()Brian
2008-03-21Refactor PBO validate/map code.Brian
We always need to do PBO validation, so do that in core Mesa before calling driv er routine. cherry-picked from Mesa/master.
2008-03-21add a number of PBO validate/map/unmap functionsBrian Paul
Helper functions for (some) drivers, including swrast. cherry-picked from Mesa/master
2008-03-21Fix some PBO breakage.Brian
In _mesa_Bitmap, can't early return if bitmap ptr is NULL, it may be an offset into a PBO. Similarly for _mesa_GetTexImage.
2008-03-14mesa: clamp point size in vertex program when computing attenuated sizeBrian Paul
2008-03-10fix Height2/Depth2 init problem when using texture bordersBrian
2008-02-25Remove files of unsupported build systems.José Fonseca
2008-02-11gallium: take pitch/stride into account in mipmap generationBrian
2008-02-11code refactoring, new next_mipmap_level_size() functionBrian
2008-02-11added _mesa_tex_target_to_face()Brian
2008-02-11refactor code, export _mesa_generate_mipmap_level()Brian
2008-02-11move _mesa_format_to_type_and_comps() to texformat.cBrian
2008-02-11reorder cases in do_row()Brian
2008-02-11re-indent do_row()Brian
2008-02-11checkpoint- consolidation in do_row()Brian
2008-02-11checkpoint- remove dependencies on gl_texture_format to make code re-usable ↵Brian
by state tracker
2008-02-08Remove unused texunit parameter to ctx->Driver.GenerateMipmap()Brian
2008-02-06Added ctx->Driver.GenerateMipmap() driver hookBrian
2008-01-18use PROGRAM_CONSTANT instead of PROGRAM_STATE_VAR when generating ↵Brian
immediates/literals
2008-01-01fix mem leak (free key)Brian
2008-01-01free Default1D/2DArray objectsBrian
2007-12-14set SamplerUnit[] entry in load_texture() just to be safeBrian
2007-12-14set program->SamplersUsed bit when using a texture instructionBrian