Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa: add some #if FEATURE_x tests | Brian Paul | 2008-06-12 | 5 | -2/+38 |
| | |||||
* | mesa: restore and fix Keith's "further degenerate the special case lit ↵ | Brian Paul | 2008-06-12 | 1 | -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 Paul | 2008-06-11 | 1 | -12/+9 |
| | | | | | | This reverts commit e841b92d9c8bf48085b4996df828ae745977f931. This fixes two specular lighting conform failures. | ||||
* | mesa: refactor: move various ENUM_TO_x macros into macros.h | Brian Paul | 2008-06-11 | 7 | -22/+57 |
| | |||||
* | mesa: refactor: move glTexParameter-related functions into new texparam.c file | Brian Paul | 2008-06-11 | 7 | -1028/+1105 |
| | |||||
* | mesa: refactor: move glTexEnv-related functions into new texenv.c file | Brian Paul | 2008-06-11 | 7 | -841/+919 |
| | |||||
* | mesa: refactor: move glTexGen-related functions into new texgen.c file | Brian Paul | 2008-06-11 | 7 | -596/+673 |
| | |||||
* | mesa: refactor: fix some FEATURE_ typos, mistakes | Brian Paul | 2008-06-10 | 2 | -2/+2 |
| | |||||
* | mesa: refactor: move #define FEATURE flags into new mfeatures.h file | Brian Paul | 2008-06-10 | 12 | -96/+310 |
| | | | | Also, check the FEATURE flags in many places. | ||||
* | gallium: remove stray include of st_context.h | Brian Paul | 2008-06-10 | 1 | -2/+0 |
| | |||||
* | mesa: remove unused api_eval.h header file | Brian Paul | 2008-06-09 | 2 | -43/+0 |
| | |||||
* | mesa: refactor: move _mesa_update_minmax/histogram() into image.c | Brian Paul | 2008-06-09 | 3 | -74/+64 |
| | |||||
* | mesa: refactor: move multisample-related functions into new multisample.c file | Brian Paul | 2008-06-09 | 8 | -44/+109 |
| | |||||
* | mesa: refactor: move _mesa_resizebuffers(), _mesa_ResizeBuffersMESA() to ↵ | Brian Paul | 2008-06-09 | 6 | -83/+88 |
| | | | | framebuffer.c | ||||
* | mesa: refactor: move glClear, glClearColor into new clear.c file. | Brian Paul | 2008-06-09 | 6 | -153/+227 |
| | |||||
* | mesa: refactor: move scissor functions into new scissor.c file | Brian Paul | 2008-06-09 | 8 | -85/+150 |
| | |||||
* | mesa: refactor: move _mesa_init_exec_table() into new api_exec.c file | Brian Paul | 2008-06-09 | 6 | -806/+872 |
| | |||||
* | mesa: refactor: move pixel map/scale/bias code into image.c | Brian Paul | 2008-06-09 | 4 | -476/+486 |
| | | | | pixel.c is just the API-related code now. | ||||
* | mesa: refactor: new _mesa_init_pixelstore() function | Brian Paul | 2008-06-09 | 4 | -28/+43 |
| | |||||
* | mesa: refactor: move glReadPixels code into new readpix.c file | Brian Paul | 2008-06-09 | 6 | -172/+243 |
| | |||||
* | mesa: refactor: move glPixelStore function into new pixelstore.c file | Brian Paul | 2008-06-09 | 6 | -203/+275 |
| | |||||
* | mesa: chmod a-x context.c | Brian Paul | 2008-06-09 | 1 | -0/+0 |
| | |||||
* | mesa: Most of the functions of MESA_TEXTURE_S8_Z24 are now supported | Jakob Bornecrantz | 2008-06-09 | 2 | -7/+31 |
| | |||||
* | mesa: Add MESA_FORMAT_S8_Z24 texture format | Jakob Bornecrantz | 2008-06-08 | 2 | -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 debug | Keith Whitwell | 2008-06-06 | 1 | -1/+1 |
| | |||||
* | mesa: remove EXT/NV suffixes from _mesa_PointParameter functions | Brian Paul | 2008-06-05 | 4 | -41/+28 |
| | |||||
* | mesa: added _mesa_DrawArrays, DrawElements, DrawRangeElements() wrappers for ↵ | Brian Paul | 2008-06-05 | 1 | -0/+14 |
| | | | | VBO funcs | ||||
* | mesa: Apply MSVC portability fixes from Alan Hourihane. | José Fonseca | 2008-05-31 | 14 | -70/+70 |
| | |||||
* | mesa: undo accidental setting of _ForceEyeCoords | Keith Whitwell | 2008-05-30 | 1 | -1/+1 |
| | |||||
* | ffvertex: emit full LIT when attenuating (needs the 1 in X position) | Keith Whitwell | 2008-05-27 | 2 | -19/+32 |
| | |||||
* | ffvertex: don't compute whole eye vector if only eye.z is required | Keith Whitwell | 2008-05-27 | 1 | -3/+27 |
| | |||||
* | Revert "mesa: save a temp on normalizes" | Keith Whitwell | 2008-05-24 | 1 | -4/+6 |
| | | | | This reverts commit feceb43948f76cc4d4c8ecbb86b1b1f438c6daee. | ||||
* | mesa: pre-swizzle normal scale state value | Keith Whitwell | 2008-05-24 | 1 | -2/+1 |
| | |||||
* | mesa: evaluate _NeedEyeCoords prior to generating internal vertex shader | Keith Whitwell | 2008-05-24 | 1 | -12/+14 |
| | |||||
* | mesa: save a temp on normalizes | Keith Whitwell | 2008-05-23 | 1 | -6/+4 |
| | |||||
* | mesa: further degenerate the special case lit substitute | Keith Whitwell | 2008-05-23 | 1 | -9/+12 |
| | |||||
* | mesa: don't emit LIT instruction when mat shininess known to be zero | Keith Whitwell | 2008-05-23 | 1 | -31/+102 |
| | | | | Use a faster path in that case & make gears go faster. | ||||
* | mesa: do object-space lighting in ffvertex_prog.c | Keith Whitwell | 2008-05-23 | 1 | -29/+50 |
| | | | | | Start pulling over some of the optimizations from the fixed function paths. | ||||
* | Fix program refcounting assertion failure during context tear-down | Brian Paul | 2008-05-19 | 1 | -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 Paul | 2008-05-18 | 3 | -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. | Brian | 2008-05-06 | 1 | -0/+16 |
| | | | | | Picked from master. Fixes mem corruption seen when glean/api2 test exits. | ||||
* | gallium: implement full reference counting for vertex/fragment programs | Brian | 2008-05-06 | 3 | -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, whitespace | Brian | 2008-05-06 | 1 | -24/+19 |
| | |||||
* | fix _mesa_ffs for alternative compilers | Alan Hourihane | 2008-05-05 | 1 | -19/+17 |
| | |||||
* | Fix build problem with MSVC | Alan Hourihane | 2008-05-01 | 1 | -3/+7 |
| | |||||
* | Add support for GL_REPLACE_EXT texture env mode. | Brian Paul | 2008-04-30 | 1 | -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 Paul | 2008-04-29 | 2 | -0/+18 |
| | |||||
* | gallium: fix typo s/_mesa_unmap_drapix_pbo/_mesa_unmap_drawpix_pbo/ | Brian Paul | 2008-04-25 | 2 | -4/+4 |
| | |||||
* | mesa: adjust glBitmap coords by a small epsilon | Brian Paul | 2008-04-24 | 1 | -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/uniforms | Brian | 2008-04-04 | 1 | -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. |