From 4d859f73fce9918381c65da55f046a7c605c9e65 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 23 Jan 2004 18:57:05 +0000 Subject: added device driver hooks for BindProgram, NewProgram, DeleteProgram --- src/mesa/main/dd.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src/mesa/main/dd.h') 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 @@ -563,6 +563,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. * -- cgit v1.2.3