summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Alias glStencilOpSeparateATI with glStencilOpSeparate.Brian2008-04-043-76/+29
|
* Finish up ATI_separate_stencilBrian2008-04-044-768/+757
| | | | | | Add entrypoints to glapi XML file and regenerate files. Implement glStencilOpSeparateATI(). Consolidate some code in stencil.c
* add missing _mesa_StencilFuncSeparateATI functionRoland Scheidegger2008-04-042-0/+77
|
* mesa: fix texture/renderbuffer mix-up in test_attachment_completeness()Brian Paul2008-03-281-1/+1
|
* delete default programs with ctx->Driver.DeleteProgram()Brian2008-03-221-2/+2
|
* Refactor PBO validate/map code.Brian2008-03-213-76/+74
| | | | | | We always need to do PBO validation, so do that in core Mesa before calling driv er routine. cherry-picked from Mesa/master.
* add a number of PBO validate/map/unmap functionsBrian Paul2008-03-212-4/+222
| | | | | Helper functions for (some) drivers, including swrast. cherry-picked from Mesa/master
* Fix some PBO breakage.Brian2008-03-212-11/+6
| | | | | In _mesa_Bitmap, can't early return if bitmap ptr is NULL, it may be an offset into a PBO. Similarly for _mesa_GetTexImage.
* mesa: clamp point size in vertex program when computing attenuated sizeBrian Paul2008-03-141-3/+4
|
* fix Height2/Depth2 init problem when using texture bordersBrian2008-03-101-6/+17
|
* Remove files of unsupported build systems.José Fonseca2008-02-251-221/+0
|
* gallium: take pitch/stride into account in mipmap generationBrian2008-02-112-32/+55
|
* code refactoring, new next_mipmap_level_size() functionBrian2008-02-111-25/+50
|
* added _mesa_tex_target_to_face()Brian2008-02-112-7/+18
|
* refactor code, export _mesa_generate_mipmap_level()Brian2008-02-112-42/+67
|
* move _mesa_format_to_type_and_comps() to texformat.cBrian2008-02-113-167/+178
|
* reorder cases in do_row()Brian2008-02-111-168/+173
|
* re-indent do_row()Brian2008-02-111-306/+288
|
* checkpoint- consolidation in do_row()Brian2008-02-111-26/+16
|
* checkpoint- remove dependencies on gl_texture_format to make code re-usable ↵Brian2008-02-111-158/+266
| | | | by state tracker
* Remove unused texunit parameter to ctx->Driver.GenerateMipmap()Brian2008-02-085-29/+10
|
* Added ctx->Driver.GenerateMipmap() driver hookBrian2008-02-063-25/+32
|