summaryrefslogtreecommitdiff
path: root/src/mesa/main/image.h
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2000-03-21 01:03:40 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2000-03-21 01:03:40 +0000
commitb7d076fc96ac27117421653a043d00a95f789d24 (patch)
tree2b4671840c28b6a1232325e7bc609d265096b275 /src/mesa/main/image.h
parent43911c8ef06c44d486a17cf9a8fa8ea263b08ade (diff)
changed imaging functions to _mesa_ prefix
Diffstat (limited to 'src/mesa/main/image.h')
-rw-r--r--src/mesa/main/image.h45
1 files changed, 24 insertions, 21 deletions
diff --git a/src/mesa/main/image.h b/src/mesa/main/image.h
index 758213995d..77a65f9793 100644
--- a/src/mesa/main/image.h
+++ b/src/mesa/main/image.h
@@ -1,4 +1,4 @@
-/* $Id: image.h,v 1.5 2000/03/21 00:48:53 brianp Exp $ */
+/* $Id: image.h,v 1.6 2000/03/21 01:03:40 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -35,30 +35,33 @@
extern struct gl_pixelstore_attrib _mesa_native_packing;
-extern void gl_flip_bytes( GLubyte *p, GLuint n );
-
-
-extern void gl_swap2( GLushort *p, GLuint n );
-
-extern void gl_swap4( GLuint *p, GLuint n );
+extern void
+_mesa_swap2( GLushort *p, GLuint n );
+extern void
+_mesa_swap4( GLuint *p, GLuint n );
-extern GLint gl_sizeof_type( GLenum type );
+extern GLint
+_mesa_sizeof_type( GLenum type );
-extern GLint gl_sizeof_packed_type( GLenum type );
+extern GLint
+_mesa_sizeof_packed_type( GLenum type );
-extern GLint gl_components_in_format( GLenum format );
+extern GLint
+_mesa_components_in_format( GLenum format );
-extern GLint gl_bytes_per_pixel( GLenum format, GLenum type );
+extern GLint
+_mesa_bytes_per_pixel( GLenum format, GLenum type );
-extern GLboolean gl_is_legal_format_and_type( GLenum format, GLenum type );
+extern GLboolean
+_mesa_is_legal_format_and_type( GLenum format, GLenum type );
extern GLvoid *
-gl_pixel_addr_in_image( const struct gl_pixelstore_attrib *packing,
- const GLvoid *image, GLsizei width,
- GLsizei height, GLenum format, GLenum type,
- GLint img, GLint row, GLint column );
+_mesa_image_address( const struct gl_pixelstore_attrib *packing,
+ const GLvoid *image, GLsizei width,
+ GLsizei height, GLenum format, GLenum type,
+ GLint img, GLint row, GLint column );
extern GLint
@@ -77,11 +80,11 @@ _mesa_pack_polygon_stipple( const GLuint pattern[32], GLubyte *dest,
extern void
-gl_pack_rgba_span( const GLcontext *ctx,
- GLuint n, CONST GLubyte rgba[][4],
- GLenum format, GLenum type, GLvoid *dest,
- const struct gl_pixelstore_attrib *packing,
- GLboolean applyTransferOps );
+_mesa_pack_rgba_span( const GLcontext *ctx,
+ GLuint n, CONST GLubyte rgba[][4],
+ GLenum format, GLenum type, GLvoid *dest,
+ const struct gl_pixelstore_attrib *packing,
+ GLboolean applyTransferOps );
extern void