diff options
author | Brian Paul <[email protected]> | 2004-01-23 18:57:05 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2004-01-23 18:57:05 +0000 |
commit | 4d859f73fce9918381c65da55f046a7c605c9e65 (patch) | |
tree | 2936e3fdcccff08101b600e58b9a6eb6c7797a18 /src/mesa/main/dd.h | |
parent | f2ce4dc7dae1a1878c182f3e06fd7d9b64ab9027 (diff) |
added device driver hooks for BindProgram, NewProgram, DeleteProgram
Diffstat (limited to 'src/mesa/main/dd.h')
-rw-r--r-- | src/mesa/main/dd.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/mesa/main/dd.h b/src/mesa/main/dd.h index 55383773744..cb23e0bfad2 100644 --- a/src/mesa/main/dd.h +++ b/src/mesa/main/dd.h @@ -564,6 +564,19 @@ struct dd_function_table { /** + * \name Vertex/fragment program functions + */ + /*@{*/ + /** Bind a vertex/fragment program */ + void (*BindProgram)(GLcontext *ctx, GLenum target, struct program *prog); + /** Allocate a new program */ + struct program * (*NewProgram)(GLcontext *ctx, GLenum target, GLuint id); + /** Delete a program */ + void (*DeleteProgram)(GLcontext *ctx, struct program *prog); + /*@}*/ + + + /** * \name State-changing functions. * * \note drawing functions are above. |