summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2011-04-10 12:46:32 -0600
committerBrian Paul <[email protected]>2011-04-10 13:12:49 -0600
commit0308beebc2ac27a51ea5ec7d6d0d748f8e9f8b4d (patch)
tree7b99cbe44b700fb94242a83d4ea22e32027197a7 /src/mesa/main
parentaebe16da539cbfaffa08243cecef44e69356fe36 (diff)
mesa: new driver hooks for GL_ARB_sampler_objects
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/dd.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mesa/main/dd.h b/src/mesa/main/dd.h
index 34d67b5bac8..d749b245e13 100644
--- a/src/mesa/main/dd.h
+++ b/src/mesa/main/dd.h
@@ -1021,6 +1021,14 @@ struct dd_function_table {
* \name GL_NV_texture_barrier interface
*/
void (*TextureBarrier)(struct gl_context *ctx);
+
+ /**
+ * \name GL_ARB_sampler_objects
+ */
+ struct gl_sampler_object * (*NewSamplerObject)(struct gl_context *ctx,
+ GLuint name);
+ void (*DeleteSamplerObject)(struct gl_context *ctx,
+ struct gl_sampler_object *samp);
};