diff options
author | Keith Whitwell <[email protected]> | 2005-11-01 17:29:46 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2005-11-01 17:29:46 +0000 |
commit | f4fbda35b001aac22342596f4beafd9539f2ebb9 (patch) | |
tree | 113f166779593ea538904c357b8200079146c062 /src/mesa/tnl/t_context.h | |
parent | c3626a91cee5034528f3f92c802a8e5947ea5f92 (diff) |
Add a NotifyInputChanges() callback so that drivers (particularly tnl
drivers) can track when the sizes or strides of incoming VB->AttribPtr
arrays have changed.
Diffstat (limited to 'src/mesa/tnl/t_context.h')
-rw-r--r-- | src/mesa/tnl/t_context.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/tnl/t_context.h b/src/mesa/tnl/t_context.h index f7a29f9e7e8..9eaff95b73d 100644 --- a/src/mesa/tnl/t_context.h +++ b/src/mesa/tnl/t_context.h @@ -643,6 +643,11 @@ struct tnl_device_driver /* Alert tnl-aware drivers of changes to material. */ + void (*NotifyInputChanges)(GLcontext *ctx, GLuint bitmask); + /* Alert tnl-aware drivers of changes to size and stride of input + * arrays. + */ + GLboolean (*NotifyBegin)(GLcontext *ctx, GLenum p); /* Allow drivers to hook in optimized begin/end engines. * Return value: GL_TRUE - driver handled the begin |