Mesa (master): mesa: new driver hooks for GL_ARB_sampler_objects

Brian Paul brianp at kemper.freedesktop.org
Tue Apr 12 03:23:51 UTC 2011


Module: Mesa
Branch: master
Commit: 0308beebc2ac27a51ea5ec7d6d0d748f8e9f8b4d
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0308beebc2ac27a51ea5ec7d6d0d748f8e9f8b4d

Author: Brian Paul <brianp at vmware.com>
Date:   Sun Apr 10 12:46:32 2011 -0600

mesa: new driver hooks for GL_ARB_sampler_objects

---

 src/mesa/main/dd.h |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/src/mesa/main/dd.h b/src/mesa/main/dd.h
index 34d67b5..d749b24 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);
 };
 
 




More information about the mesa-commit mailing list