summaryrefslogtreecommitdiff
path: root/src/mesa/tnl
AgeCommit message (Collapse)Author
2005-05-10Missing from previous commitKeith Whitwell
2005-05-10Update for FragmentProgram._ActiveKeith Whitwell
2005-05-04Add a facility to route all rasterization through a fragment programKeith Whitwell
which is automatically generated to match the current texture environment state. Introduces a new value ctx->FragmentProgram._Active which is true when either _Enabled is true or there is such a fragment program ready to run. To test out on a driver running the software rasterizer, set MESA_TEX_PROG=t in the environment. It goes without saying that performance is lower for the software rasterizer in this mode.
2005-05-03Import all texture coordinate arrays. Import them only once.Keith Whitwell
2005-04-29Format for 80 columns. Add alternate matrix mul based on MAD rather than DP4.Keith Whitwell
2005-04-29Add DISASSEM define, similar to other program generator files.Keith Whitwell
2005-04-28fix _tnl_copy_to_current() so that current edge flag and rasterpos aren't ↵Brian Paul
trashed by color index updates
2005-04-26tweak previous fog/fragment program fixBrian Paul
2005-04-26enable fog render input if fragment program fog option setBrian Paul
2005-04-25Ensure all VB->AttribPtr[] are populated. Reported by Aapo TahkolaKeith Whitwell
2005-04-23Fix the worst problems with dangling edgeflag references inKeith Whitwell
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.
2005-04-22Move the call to _tnl_UpdateFixedFunctionProgram to makeKeith Whitwell
it easier for hardware drivers to test this out.
2005-04-22Simplify the pipeline_stage structureKeith Whitwell
- 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.
2005-04-21Facility to construct a vertex program which executes the currentKeith Whitwell
fixed function t&l pipeline. Currently runs most of the Mesa demos OK, but still needs debugging & polishing.
2005-04-21New software implementation of ARB_vertex_program. Similar in speedKeith Whitwell
to existing version, but with the potential for good improvements.
2005-04-15Reverted the last change back to fix bug 3035Ben Crossman
2005-04-14A few getenv() that werent using the mesa wrapper versionBen Crossman
2005-03-02use COPY_CLEAN_4V macro to replace using both ASSIGN_4V & COPY_SZ_4VAlan Hourihane
2005-03-02Added a bunch of new comments, minor code clean-ups.Brian Paul
2005-03-02Using glColor3 commands to update materials could result in an undefinedBrian Paul
alpha value. Fixed.
2005-02-28additional parenthesis in TNL_CONTEXT macro (Nicolai Haehnle)Brian Paul
2005-02-14`static const' instead of `const static'Daniel Borca
2005-02-10mesa-tnl-0-to-NULL.patch from Jeff MuizelaarKeith Whitwell
2005-02-10Catch no-op vertex buffers consisting only of vertices which willKeith Whitwell
also appear in a future buffer.
2005-01-22Determine ahead of time whether a display list will include verticesKeith Whitwell
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.
2005-01-18Fix calculation of last_count in _tnl_wrap_buffers()Keith Whitwell
2005-01-16make tnl_clipspace_attr->insert field const, to silence warningBrian Paul
2005-01-12free buffer in t_vertex_c.c on context deleteKeith Whitwell
2005-01-10Fix segfault in pipes by dealing with stride == 0 case in generic_interp_extrasKeith Whitwell
2005-01-08Added missing break; to fix infinite recursion between choose_emit_funcFelix Kuehling
and emit_viewport4_bgra4_st2_st2.
2005-01-07And fix the obvious bugs in higher-numbered templates.Keith Whitwell
2005-01-07Templatize the fastpaths.Keith Whitwell
2005-01-07Add some more hardcoded fastpaths.Keith Whitwell
2005-01-07Cope with the possibility that incoming vectors may haveKeith Whitwell
count < VB->Count. Remove code to deal with the (should-be) impossible situation of null input vectors.
2005-01-06solved classic "char*" vs "char[]" conflict. we were mimicking a pointer ↵Daniel Borca
variable at desired location and then we took its address. using array is more intuitive, as they give us the starting address instantly.
2005-01-05Make the format of the fastpaths cleaner at the expense of a littleKeith Whitwell
performance. Add fastpaths for some more common vertex formats.
2005-01-05Give attributes with zero-stride a count of 1 to make it easierKeith Whitwell
to avoid transforming the same attribute multiple times. Don't light a single normal multiple times in light_fast_rgba*
2005-01-05Add a couple of hardwired fastpaths to t_vertex.c.Keith Whitwell
2005-01-05If there is only one normal, don't transform it multiple times.Keith Whitwell
2004-12-03re-disable TRACEBrian Paul
2004-12-03silence a variety of warnings found with g++ 3.4.2Brian Paul
2004-12-02Fix some warningsAlan Hourihane
2004-11-27Change the dispatch offsets for the VertexAttrib*NV functions so they don'tBrian Paul
alias with the corresponding ARB functions. GL_ARB_vertex_shader (and OpenGL 2.0's) VertexAttrib functions don't alias with conventional vertex attributes, as GL_NV_vertex_program does. So, the ARB and NV version of VertexAttrib need to be distinct.
2004-11-01small aesthetic correctionDaniel Borca
2004-10-24Bug #1682: Mesa core code that gets linked into DRI drivers should never callAdam Jackson
through the GL API directly, but should instead use the GL_CALL macro.
2004-10-23Big-endian fixes for R200 sw TCL path.Ian Romanick
2004-10-17Add ARGB modes to support big-endian systems.Ian Romanick
2004-09-17Symbol names are prepended with an underscore on CYGWIN as well.Eric Anholt
X.Org Bugzilla: 1079 Submitted by: Alexander Gottwald <ago@freedesktop.org>
2004-08-25Silence gcc 3.4 warnings on ReactOS. Mostly unused var warnings. (patch ↵Brian Paul
1015696)
2004-08-22don't use __FUNCTION__ - not portableBrian Paul