#define FFVERTEX_PROG_H
+#include "main/mtypes.h"
+
struct gl_vertex_program *
_mesa_get_fixed_func_vertex_program(GLcontext *ctx);
main/extensions.c \
main/fbobject.c \
main/feedback.c \
+ main/ffvertex_prog.c \
main/fog.c \
main/framebuffer.c \
main/get.c \
#include "vbo/vbo.h"
#include "vbo/vbo_context.h"
-#include "tnl/t_vp_build.h"
-
#include "st_atom.h"
#include "st_cache.h"
#include "st_context.h"
assert(vbo);
assert(vbo->draw_prims);
vbo->draw_prims = st_draw_vbo;
-
- _tnl_ProgramCacheInit( ctx );
}
/* Initialize tnl state.
*/
if (ctx->VertexProgram._MaintainTnlProgram) {
+#if 0
_tnl_ProgramCacheInit( ctx );
+#endif
_tnl_install_pipeline( ctx, _tnl_vp_pipeline );
} else {
_tnl_install_pipeline( ctx, _tnl_default_pipeline );
_tnl_destroy_pipeline( ctx );
+#if 0
if (ctx->VertexProgram._MaintainTnlProgram)
_tnl_ProgramCacheDestroy( ctx );
+#endif
FREE(tnl);
ctx->swtnl_context = NULL;
#include "glheader.h"
#include "macros.h"
#include "enums.h"
+#include "main/ffvertex_prog.h"
#include "shader/program.h"
#include "shader/prog_instruction.h"
#include "shader/prog_parameter.h"
#include "t_context.h" /* NOTE: very light dependency on this */
#include "t_vp_build.h"
-
+#if 0
struct state_key {
unsigned light_global_enabled:1;
unsigned light_local_viewer:1;
return prog;
}
+#endif
void _tnl_UpdateFixedFunctionProgram( GLcontext *ctx )
}
}
+#if 0
void _tnl_ProgramCacheInit( GLcontext *ctx )
{
TNLcontext *tnl = TNL_CONTEXT(ctx);
FREE(tnl->vp_cache->items);
FREE(tnl->vp_cache);
}
+#endif
_NEW_FOG | \
_NEW_POINT)
+#if 0
extern struct gl_vertex_program *
_mesa_get_fixed_func_vertex_program(GLcontext *ctx);
+#endif
extern void _tnl_UpdateFixedFunctionProgram( GLcontext *ctx );
+#if 0
extern void _tnl_ProgramCacheInit( GLcontext *ctx );
extern void _tnl_ProgramCacheDestroy( GLcontext *ctx );
+#endif
#endif