summaryrefslogtreecommitdiff
path: root/src/mesa/main/texenvprogram.h
AgeCommit message (Collapse)Author
2011-03-12Revert "mesa: Convert fixed function fragment program generator to GLSL IR."Eric Anholt
This reverts commit 7cb87dffce2c7a37f960f3a865cf92fd193dd8c5. There were regressions (Bug #35244) and more review has been requested.
2011-03-11mesa: Convert fixed function fragment program generator to GLSL IR.Eric Anholt
This is a step towards providing a direct route for drivers accepting GLSL IR for codegen. Perhaps more importantly, it runs the fixed function fragment program through the GLSL IR optimization. Having seen how easy it is to make ugly fixed function texenv code that can do unnecessary work, this may improve real applicatinos.
2010-12-04mesa: Clean up header file inclusion in texenvprogram.h.Vinson Lee
2010-10-13Drop GLcontext typedef and use struct gl_context insteadKristian Høgsberg
2009-02-10mesa: remove the unused _mesa_UpdateTexEnvProgram() functionBrian Paul
2008-09-21mesa: move fixed function vertex program builder from tnl to core mesaKeith Whitwell
Also unify caching of fragment and vertex programs in shader/prog_cache.c` Brought across from gallium-0.2
2006-05-22Better caching for texenv programs.Keith Whitwell
Initialize some values correctly.
2005-07-11Cache texenv programs to avoid repeated compilation (Ben Skeggs)Keith 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.