From 30f51ae067379c2b3573c06b707d25a9704df7be Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 18 Dec 2001 04:06:44 +0000 Subject: Replace old matrix stacks with new code based on struct matrix_stack. Moved vertex program hash table into shared context state. Implemented reference counting for vertex programs. Replaced tnl "ProjectedClip" with "Ndc" (normalized device coordinates). --- src/mesa/main/config.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/mesa/main/config.h') diff --git a/src/mesa/main/config.h b/src/mesa/main/config.h index 66ad1fe31e..37c572226d 100644 --- a/src/mesa/main/config.h +++ b/src/mesa/main/config.h @@ -1,4 +1,4 @@ -/* $Id: config.h,v 1.36 2001/11/28 17:18:36 brianp Exp $ */ +/* $Id: config.h,v 1.37 2001/12/18 04:06:45 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -55,6 +55,10 @@ /* Maximum color matrix stack depth: */ #define MAX_COLOR_STACK_DEPTH 4 +/* Vertex program matrix stacks: */ +#define MAX_PROGRAM_MATRICES 8 +#define MAX_PROGRAM_STACK_DEPTH 4 + /* Maximum attribute stack depth: */ #define MAX_ATTRIB_STACK_DEPTH 16 -- cgit v1.2.3