From: Brian Paul Date: Sun, 10 Apr 2011 18:46:32 +0000 (-0600) Subject: mesa: new driver hooks for GL_ARB_sampler_objects X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0308beebc2ac27a51ea5ec7d6d0d748f8e9f8b4d;p=mesa.git mesa: new driver hooks for GL_ARB_sampler_objects --- 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); };