mesa: new driver hooks for GL_ARB_sampler_objects
authorBrian Paul <brianp@vmware.com>
Sun, 10 Apr 2011 18:46:32 +0000 (12:46 -0600)
committerBrian Paul <brianp@vmware.com>
Sun, 10 Apr 2011 19:12:49 +0000 (13:12 -0600)
src/mesa/main/dd.h

index 34d67b5bac82a6615a46cd4ca997ce57417813f3..d749b245e13d9ff1991f10bc19037d78caa75d41 100644 (file)
@@ -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);
 };