diff options
author | Brian Paul <[email protected]> | 2003-04-01 16:41:50 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2003-04-01 16:41:50 +0000 |
commit | a3f137094cd965d27e1b088499dd609b81a91906 (patch) | |
tree | 76d361c0998c5fbe55ce7d665ac8f1d2ca6e2e0f /src/mesa/drivers/x11 | |
parent | 926c34f89453c9b0455910bbdbe20b52d909d962 (diff) |
New device driver hooks for texture object and texture image creation to
allow drivers to implement C++-like inheritance via containment.
Lots of assorted clean-ups related to texture objects.
Diffstat (limited to 'src/mesa/drivers/x11')
-rw-r--r-- | src/mesa/drivers/x11/xm_dd.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mesa/drivers/x11/xm_dd.c b/src/mesa/drivers/x11/xm_dd.c index 230bee3e02e..3aa33a58f36 100644 --- a/src/mesa/drivers/x11/xm_dd.c +++ b/src/mesa/drivers/x11/xm_dd.c @@ -1,4 +1,4 @@ -/* $Id: xm_dd.c,v 1.45 2003/03/27 17:51:33 brianp Exp $ */ +/* $Id: xm_dd.c,v 1.46 2003/04/01 16:41:58 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -965,6 +965,9 @@ void xmesa_init_pointers( GLcontext *ctx ) ctx->Driver.CopyTexSubImage2D = _swrast_copy_texsubimage2d; ctx->Driver.CopyTexSubImage3D = _swrast_copy_texsubimage3d; + ctx->Driver.NewTextureObject = _mesa_new_texture_object; + ctx->Driver.DeleteTexture = _mesa_delete_texture_object; + ctx->Driver.CompressedTexImage1D = _mesa_store_compressed_teximage1d; ctx->Driver.CompressedTexImage2D = _mesa_store_compressed_teximage2d; ctx->Driver.CompressedTexImage3D = _mesa_store_compressed_teximage3d; |