Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bring in active_sz mechanism from i965 driver. Fixes bug 8410 | Keith Whitwell | 2006-09-25 | 1 | -0/+1 |
| | |||||
* | Several loops over the map1/2 evaluator arrays were incorrect. | Brian Paul | 2006-07-19 | 1 | -2/+5 |
| | | | | | | | | There's only 16 evaluator maps. Define new _TNL_NUM_EVAL constant for those loops. Also, fix priority of GL_NV_vertex_program generic maps - they override the conventional maps. See bug 7564. | ||||
* | added _TNL_NUM_GENERIC | Tilman Sauerbeck | 2006-06-29 | 1 | -0/+2 |
| | |||||
* | Don't use nested struct definitions in tnl_clipspace_fastpath. | Brian Paul | 2006-06-27 | 1 | -6/+8 |
| | | | | | Make attr_type into a top-level type: tnl_attr_type See bug 7340. | ||||
* | A number of vertex buffer fields like NormalPtr, FogCoordPtr, etc are really | Brian Paul | 2006-06-14 | 1 | -1/+0 |
| | | | | | | just aliases for members of the VB->AttribPtr[] array. Begin replacing FogCoordPtr with VB->AttribPtr[_TNL_ATTRIB_FOG], and similarly for NormalPtr, TexCoordPtr, PointSizePtr, etc. | ||||
* | Rename _TNL_ATTRIB_ATTRIBUTE* to _TNL_ATTRIB_GENERIC* | Brian Paul | 2006-06-14 | 1 | -25/+29 |
| | |||||
* | Put color index attribute into the 6th attribute slot. | Brian Paul | 2006-04-25 | 1 | -8/+10 |
| | | | | | | Update a lot of loops, conditionals to use the _TNL_FIRST/LAST_* values instead of specific vertex attributes. Remove the EdgeFlagv function from the GLvertexformat struct. | ||||
* | No longer alias generic vertex attribs with conventional attribs for ↵ | Brian Paul | 2006-04-25 | 1 | -3/+8 |
| | | | | GL_ARB_vertex_program. | ||||
* | More GLSL code: | Michal Krol | 2006-04-11 | 1 | -91/+69 |
| | | | | | | | | | | | | - use macros to access and modify render inputs bit-field; - un-alias generic vertex attributes for ARB vertex calls; - use MAX_VERTEX_PROGRAM_ATTRIBS (NV code) or MAX_VERTEX_ATTRIBS (ARB code) in place of VERT_ATTRIB_MAX; - define VERT_ATTRIB_GENERIC0..15 for un-aliased vertex attributes for ARB_vertex_shader; - fix generic attribute index range check in arbprogparse.c; - interface GLSL varyings between vertex and fragment shader; - use 64-bit optimised bitset (bitset.h) for render inputs; | ||||
* | C++ fixes, mostly casts (Stephane Conversy) | Brian Paul | 2005-12-06 | 1 | -1/+1 |
| | |||||
* | Clean up clipping somewhat | Keith Whitwell | 2005-12-01 | 1 | -5/+0 |
| | | | | | | | | | | - no need to update ClipMask on generated vertices - remove the VB->LastClipped value Line clipping algorithm changed and simplified somewhat. The old one was based on the triangle routine and probably wouldn't have recognized lines that were clipped down to nothing (ie culled, but not by a single plane). | ||||
* | Added error checking in _tnl_Begin to detect incomplete framebuffer. | Brian Paul | 2005-11-16 | 1 | -0/+6 |
| | | | | | | Set new tnl->DiscardPrimitive field to true when such error is detected to discard the glBegin/End primitive when flushing. Added some new comments. | ||||
* | Add a NotifyInputChanges() callback so that drivers (particularly tnl | Keith Whitwell | 2005-11-01 | 1 | -0/+5 |
| | | | | | drivers) can track when the sizes or strides of incoming VB->AttribPtr arrays have changed. | ||||
* | Improve tnl program searching performance. | Aapo Tahkola | 2005-10-31 | 1 | -3/+7 |
| | |||||
* | Remove _tnl_MakeCurrent() and the unused ctx->Driver.MakeCurrent() callback. | Brian Paul | 2005-09-14 | 1 | -7/+1 |
| | |||||
* | Store compiled vertex program representations in a pointer in the | Keith Whitwell | 2005-06-09 | 1 | -0/+11 |
| | | | | | | | | | | | | | vertex_program struct. Allow switching between regular and vertex_program implementations of fixed function TNL with the MESA_TNL_PROG environment var (previously this required recompilation). Ensure program compilation only references program data, not the wider context. This means that compiled programs only need to be invalidated when the program string changes, not on other state changes. | ||||
* | Invalidate current fastpath on changes to attribute size or offset within | Keith Whitwell | 2005-05-19 | 1 | -0/+2 |
| | | | | | | | | | the vertex. Use existing facilities to check for sse2 and enable when available. Turn on SSE/SSE2 codegen for t_vertex.c by default when USE_SSE_ASM is defined. Disable with "MESA_NO_CODEGEN=t". | ||||
* | Remove old t_vertex.c codegen infrastructure, tie in new code. | Keith Whitwell | 2005-05-18 | 1 | -34/+26 |
| | | | | Currently disabled, can enable with MESA_EXPERIMENTAL=t. | ||||
* | Fix the worst problems with dangling edgeflag references in | Keith Whitwell | 2005-04-23 | 1 | -0/+3 |
| | | | | | | display lists. These mainly arise from edgeflag being the only attribute no longer stored internally as a float and requiring various special case paths to accomodate it. | ||||
* | Simplify the pipeline_stage structure | Keith Whitwell | 2005-04-22 | 1 | -42/+22 |
| | | | | | | | | | | - remove input/output fields, input tracking removed. - remove state fields, the validate function now called on every statechange. - add an explicit 'create' function. Add in code to build vertex program to implement current t&l state. Still disabled, but turn on with a #define in t_vp_build.h. | ||||
* | additional parenthesis in TNL_CONTEXT macro (Nicolai Haehnle) | Brian Paul | 2005-02-28 | 1 | -3/+3 |
| | |||||
* | Determine ahead of time whether a display list will include vertices | Keith Whitwell | 2005-01-22 | 1 | -0/+1 |
| | | | | | | which have to be processed in the 'loopback' path. If so, send all vertices that way as the transition from playback->loopback has several problems. | ||||
* | make tnl_clipspace_attr->insert field const, to silence warning | Brian Paul | 2005-01-16 | 1 | -1/+1 |
| | |||||
* | Add a couple of hardwired fastpaths to t_vertex.c. | Keith Whitwell | 2005-01-05 | 1 | -2/+2 |
| | |||||
* | Rename the various function types in t_context.h to include a tnl_ prefix. | Keith Whitwell | 2004-07-01 | 1 | -39/+42 |
| | |||||
* | Add infrastructure for t_vertex.c codegen. Add an example driver | Keith Whitwell | 2004-06-30 | 1 | -1/+42 |
| | | | | for this which spits out C code for the generated functions. | ||||
* | Add EXT_vertex_cull support to mesa | Keith Whitwell | 2004-05-10 | 1 | -0/+1 |
| | |||||
* | Fix minor warnings found with g++. | Brian Paul | 2004-05-04 | 1 | -1/+1 |
| | |||||
* | dynfn --> _tnl_dynfn | Keith Whitwell | 2004-03-31 | 1 | -10/+10 |
| | |||||
* | First round of codegen for t_vtx_api.c -- ie the Begin/Vertex/End code. | Keith Whitwell | 2004-03-29 | 1 | -2/+26 |
| | | | | Enable with env var: MESA_CODEGEN=t. | ||||
* | Streamline the error path in VertexAttrib functions. Makes things | Keith Whitwell | 2004-03-15 | 1 | -1/+3 |
| | | | | slightly easier for codegen. | ||||
* | Added some comments. Minor const, int->GLint type changes, etc. | Brian Paul | 2004-03-13 | 1 | -7/+13 |
| | |||||
* | turns out we probably need a _tnl_allow_pixel_fog() function afterall | Brian Paul | 2004-02-24 | 1 | -0/+1 |
| | |||||
* | A bit of an overhaul of the fog code. | Brian Paul | 2004-02-17 | 1 | -19/+18 |
| | | | | | | glFogCoord didn't always work reliably. ARB fragment program fog options work now. Per-fragment fog computations are now perspective corrected. | ||||
* | Beef up t_vertex.c: | Keith Whitwell | 2004-01-05 | 1 | -9/+22 |
| | | | | | | | | | | | - cope with input vectors with size less than that of the emitted attribute. - cope with vertices with 'holes' inside and between vertices. Fix calculation of tnl->render_inputs to work with fp programs. Mirror VB->PointSizePtr in VB->AttribPtr so that it can work with t_vertex.c. Transition swrast_setup/ to use t_vertex.c to build swrast vertices. | ||||
* | Re-commit t_vertex.[ch] changes to fd.o server. | Keith Whitwell | 2004-01-05 | 1 | -0/+47 |
| | |||||
* | whitespace changes and new comments | Brian Paul | 2004-01-01 | 1 | -0/+5 |
| | |||||
* | Call UpdateMaterials when they have changed | Keith Whitwell | 2003-12-09 | 1 | -2/+5 |
| | |||||
* | Merge vtx-0-2-branch | Keith Whitwell | 2003-11-24 | 1 | -257/+293 |
| | |||||
* | Store material attributes in an Attrib[] style array. This is a | Keith Whitwell | 2003-08-05 | 1 | -2/+2 |
| | | | | | first step to reviving/rescuing the 'vtx' rework from the old mesa tree. | ||||
* | more docs (Klaus Niederkruger) | Brian Paul | 2003-05-01 | 1 | -14/+30 |
| | |||||
* | new comments (Klaus Niederkruger) | Brian Paul | 2003-04-28 | 1 | -10/+37 |
| | |||||
* | reduce memory needed for vertex attributes (allocate on demand) | Brian Paul | 2003-03-31 | 1 | -14/+10 |
| | |||||
* | minor clean-ups, comments, etc | Brian Paul | 2003-03-28 | 1 | -4/+13 |
| | |||||
* | First batch of code for GL_NV_fragment_program. | Brian Paul | 2003-01-14 | 1 | -4/+4 |
| | | | | | Re-org of some GL_NV_vertex_program code. Replace MAX_TEXTURE_UNITS with MAX_TEXTURE_COORD_UNITS and MAX_TEXTURE_IMAGE_UNITS. | ||||
* | removed old VERT_* defines, use VERT_BIT_* instead | Brian Paul | 2002-10-09 | 1 | -35/+1 |
| | |||||
* | Added new bitfields to tnl_eval_store for NV_vertex_program evaluators | Brian Paul | 2002-06-23 | 1 | -1/+4 |
| | |||||
* | pass context pointer to _tnl_free_immediate(), removed backref pointer | Brian Paul | 2002-04-19 | 1 | -2/+34 |
| | |||||
* | bring in changes from dri tcl branch | Keith Whitwell | 2002-04-09 | 1 | -4/+9 |
| | |||||
* | casts to silence compiler warnings | Karl Schultz | 2002-04-04 | 1 | -3/+3 |
| |