diff options
Diffstat (limited to 'src/mesa/tnl/t_context.h')
-rw-r--r-- | src/mesa/tnl/t_context.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/mesa/tnl/t_context.h b/src/mesa/tnl/t_context.h index 4988920cf25..cdaa252e8fc 100644 --- a/src/mesa/tnl/t_context.h +++ b/src/mesa/tnl/t_context.h @@ -614,6 +614,15 @@ struct tnl_clipspace }; + +struct tnl_cache { + GLuint hash; + void *key; + void *data; + struct tnl_cache *next; +}; + + struct tnl_device_driver { /*** @@ -769,6 +778,8 @@ typedef struct GLvertexformat exec_vtxfmt; GLvertexformat save_vtxfmt; + struct tnl_cache *vp_cache; + } TNLcontext; |