From 71699df7de8cc732caf6d4b8adb4ab2d1f0c7c1f Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Mon, 7 Feb 2005 13:20:17 +0000 Subject: argb8888 optimizations from via branch --- src/mesa/main/texstore.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/mesa/main/texstore.h') diff --git a/src/mesa/main/texstore.h b/src/mesa/main/texstore.h index c7cbcb0cf9..a240bfe9d9 100644 --- a/src/mesa/main/texstore.h +++ b/src/mesa/main/texstore.h @@ -240,5 +240,15 @@ _mesa_get_compressed_teximage(GLcontext *ctx, GLenum target, GLint level, const struct gl_texture_object *texObj, const struct gl_texture_image *texImage); +extern const GLvoid * +_mesa_validate_pbo_teximage(GLcontext *ctx, GLuint dimensions, + GLsizei width, GLsizei height, GLsizei depth, + GLenum format, GLenum type, const GLvoid *pixels, + const struct gl_pixelstore_attrib *unpack, + const char *funcName); + +extern void +_mesa_unmap_teximage_pbo(GLcontext *ctx, const struct gl_pixelstore_attrib *unpack); + #endif -- cgit v1.2.3