Mesa (master): mesa: display list dispatch for GL_ARB_texture_storage

Brian Paul brianp at kemper.freedesktop.org
Mon Oct 31 17:07:31 UTC 2011


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

Author: Brian Paul <brianp at vmware.com>
Date:   Mon Oct 31 10:52:56 2011 -0600

mesa: display list dispatch for GL_ARB_texture_storage

---

 src/mesa/main/dlist.c |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/src/mesa/main/dlist.c b/src/mesa/main/dlist.c
index 52548fd..06832b6 100644
--- a/src/mesa/main/dlist.c
+++ b/src/mesa/main/dlist.c
@@ -61,6 +61,7 @@
 #include "shaderapi.h"
 #include "syncobj.h"
 #include "teximage.h"
+#include "texstorage.h"
 #include "mtypes.h"
 #include "varray.h"
 #if FEATURE_ARB_vertex_program || FEATURE_ARB_fragment_program
@@ -10364,6 +10365,14 @@ _mesa_create_save_table(void)
    _mesa_init_sync_dispatch(table);
    SET_WaitSync(table, save_WaitSync);
 
+   /* GL_ARB_texture_storage (no dlist support) */
+   SET_TexStorage1D(table, _mesa_TexStorage1D);
+   SET_TexStorage2D(table, _mesa_TexStorage2D);
+   SET_TexStorage3D(table, _mesa_TexStorage3D);
+   SET_TextureStorage1DEXT(table, _mesa_TextureStorage1DEXT);
+   SET_TextureStorage2DEXT(table, _mesa_TextureStorage2DEXT);
+   SET_TextureStorage3DEXT(table, _mesa_TextureStorage3DEXT);
+
    return table;
 }
 




More information about the mesa-commit mailing list