summaryrefslogtreecommitdiff
path: root/src/mesa/main/dd.h
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2004-01-23 18:57:05 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2004-01-23 18:57:05 +0000
commit4d859f73fce9918381c65da55f046a7c605c9e65 (patch)
tree2936e3fdcccff08101b600e58b9a6eb6c7797a18 /src/mesa/main/dd.h
parentf2ce4dc7dae1a1878c182f3e06fd7d9b64ab9027 (diff)
added device driver hooks for BindProgram, NewProgram, DeleteProgram
Diffstat (limited to 'src/mesa/main/dd.h')
-rw-r--r--src/mesa/main/dd.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/mesa/main/dd.h b/src/mesa/main/dd.h
index 5538377374..cb23e0bfad 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.