diff options
author | Brian Paul <[email protected]> | 2001-02-19 20:01:41 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2001-02-19 20:01:41 +0000 |
commit | 2aadbf41dfd4f63c6118d0ad2d8659d289cbe454 (patch) | |
tree | 9ebf9a44ae046cf337ae8e6f1bec6fc88c4cccaf /src/mesa/main/texstore.h | |
parent | aaf5a9bb08a596a6bd5cc1150dcd50cb710db919 (diff) |
Updated Driver.CopyTexImage[12]D and Driver.CopyTexSubImage[123]D functions
so they work like the other teximage functions. Added fallback routines to
texstore.c for drivers to use.
Diffstat (limited to 'src/mesa/main/texstore.h')
-rw-r--r-- | src/mesa/main/texstore.h | 31 |
1 files changed, 30 insertions, 1 deletions
diff --git a/src/mesa/main/texstore.h b/src/mesa/main/texstore.h index 96bdf09e0cf..d23940e4e74 100644 --- a/src/mesa/main/texstore.h +++ b/src/mesa/main/texstore.h @@ -1,4 +1,4 @@ -/* $Id: texstore.h,v 1.1 2001/02/06 21:42:48 brianp Exp $ */ +/* $Id: texstore.h,v 1.2 2001/02/19 20:01:42 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -107,6 +107,35 @@ _mesa_store_texsubimage3d(GLcontext *ctx, GLenum target, GLint level, struct gl_texture_image *texImage); +extern void +_mesa_copy_teximage1d(GLcontext *ctx, GLenum target, GLint level, + GLenum internalFormat, + GLint x, GLint y, GLsizei width, GLint border); + +extern void +_mesa_copy_teximage2d(GLcontext *ctx, GLenum target, GLint level, + GLenum internalFormat, + GLint x, GLint y, GLsizei width, GLsizei height, + GLint border); + + +extern void +_mesa_copy_texsubimage1d(GLcontext *ctx, GLenum target, GLint level, + GLint xoffset, GLint x, GLint y, GLsizei width); + +extern void +_mesa_copy_texsubimage2d(GLcontext *ctx, + GLenum target, GLint level, + GLint xoffset, GLint yoffset, + GLint x, GLint y, GLsizei width, GLsizei height); + +extern void +_mesa_copy_texsubimage3d(GLcontext *ctx, + GLenum target, GLint level, + GLint xoffset, GLint yoffset, GLint zoffset, + GLint x, GLint y, GLsizei width, GLsizei height); + + extern void _mesa_store_compressed_teximage1d(GLcontext *ctx, GLenum target, GLint level, |