diff options
author | Keith Whitwell <[email protected]> | 2008-09-20 08:26:11 -0700 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2008-09-21 09:46:00 -0700 |
commit | 32ef6e75839d6be283e034436e5dd34eabb67958 (patch) | |
tree | 7d8ac6e9236a5822d31481936ae0963154efa377 /src/mesa/tnl/t_context.h | |
parent | e019ead5d76fd4e6e7d47d23e0284058391e1e29 (diff) |
mesa: move fixed function vertex program builder from tnl to core mesa
Also unify caching of fragment and vertex programs in shader/prog_cache.c`
Brought across from gallium-0.2
Diffstat (limited to 'src/mesa/tnl/t_context.h')
-rw-r--r-- | src/mesa/tnl/t_context.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/mesa/tnl/t_context.h b/src/mesa/tnl/t_context.h index 1ac508f0330..0a6ce046146 100644 --- a/src/mesa/tnl/t_context.h +++ b/src/mesa/tnl/t_context.h @@ -385,19 +385,6 @@ struct tnl_clipspace }; -struct tnl_cache_item { - GLuint hash; - void *key; - struct gl_vertex_program *prog; - struct tnl_cache_item *next; -}; - -struct tnl_cache { - struct tnl_cache_item **items; - GLuint size, n_items; -}; - - struct tnl_device_driver { /*** @@ -549,10 +536,6 @@ typedef struct GLubyte *block[VERT_ATTRIB_MAX]; GLuint nr_blocks; - /* Cache of fixed-function-replacing vertex programs: - */ - struct tnl_cache *vp_cache; - } TNLcontext; |