From: Brian Paul Date: Mon, 31 Oct 2011 16:52:56 +0000 (-0600) Subject: mesa: display list dispatch for GL_ARB_texture_storage X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7d577d703d7d4f79cae047db6f29d5fd0643edd5;p=mesa.git mesa: display list dispatch for GL_ARB_texture_storage --- diff --git a/src/mesa/main/dlist.c b/src/mesa/main/dlist.c index 52548fdc1f0..06832b6f586 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; }