summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texstore.h
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2005-02-07 13:20:17 +0000
committerKeith Whitwell <[email protected]>2005-02-07 13:20:17 +0000
commit71699df7de8cc732caf6d4b8adb4ab2d1f0c7c1f (patch)
treef1e25c78cedac5f54e3629d30a9e473eccd13920 /src/mesa/main/texstore.h
parent8d621b3bdd0ca43e5ba2ae8b4471fcf716decc78 (diff)
argb8888 optimizations from via branch
Diffstat (limited to 'src/mesa/main/texstore.h')
-rw-r--r--src/mesa/main/texstore.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/mesa/main/texstore.h b/src/mesa/main/texstore.h
index c7cbcb0cf91..a240bfe9d93 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