mesa: implement new functions for GL_ARB_texture_storage
authorBrian Paul <brianp@vmware.com>
Mon, 31 Oct 2011 16:52:56 +0000 (10:52 -0600)
committerBrian Paul <brianp@vmware.com>
Mon, 31 Oct 2011 16:52:56 +0000 (10:52 -0600)
commita8fcb7927b2f50886eb33e81aa7feeb96bc300e4
tree666ac4ec2cb40e04892bfc37b1337932a29412ee
parentae9bef240d22532e21ae5aee6c9dca812d92c325
mesa: implement new functions for GL_ARB_texture_storage

This is the glTexStorage1D/2D/3D() functions.  Basically do error
checking then call the driver hook to actually allocate memory.
src/mesa/main/texstorage.c [new file with mode: 0644]
src/mesa/main/texstorage.h [new file with mode: 0644]