summaryrefslogtreecommitdiff
path: root/src/mesa/main/format_pack.h
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2019-07-01 14:29:45 -0700
committerEric Anholt <eric@anholt.net>2019-07-16 12:51:13 -0700
commit93a7651d8d04ad2a53a4d10fb66590c85d199018 (patch)
treea66e2c130e6a2b16f177524655edfafde9672b83 /src/mesa/main/format_pack.h
parent20ce56ad5bf88788d7ef3df0e53dda9ec72602e0 (diff)
mesa: Rename gl_pack typedefs to mesa_pack.
These are packing mesa formats, not a GL format/type. Reviewed-by: Thomas Helland <thomashelland90@gmail.com> Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
Diffstat (limited to 'src/mesa/main/format_pack.h')
-rw-r--r--src/mesa/main/format_pack.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/mesa/main/format_pack.h b/src/mesa/main/format_pack.h
index aa7113e9b27..95dd0fc0142 100644
--- a/src/mesa/main/format_pack.h
+++ b/src/mesa/main/format_pack.h
@@ -31,40 +31,40 @@
/** Pack a GLubyte rgba[4] color to dest address */
-typedef void (*gl_pack_ubyte_rgba_func)(const GLubyte src[4], void *dst);
+typedef void (*mesa_pack_ubyte_rgba_func)(const GLubyte src[4], void *dst);
/** Pack a GLfloat rgba[4] color to dest address */
-typedef void (*gl_pack_float_rgba_func)(const GLfloat src[4], void *dst);
+typedef void (*mesa_pack_float_rgba_func)(const GLfloat src[4], void *dst);
/** Pack a GLfloat Z value to dest address */
-typedef void (*gl_pack_float_z_func)(const GLfloat *src, void *dst);
+typedef void (*mesa_pack_float_z_func)(const GLfloat *src, void *dst);
/** Pack a GLuint Z value to dest address */
-typedef void (*gl_pack_uint_z_func)(const GLuint *src, void *dst);
+typedef void (*mesa_pack_uint_z_func)(const GLuint *src, void *dst);
/** Pack a GLubyte stencil value to dest address */
-typedef void (*gl_pack_ubyte_stencil_func)(const GLubyte *src, void *dst);
+typedef void (*mesa_pack_ubyte_stencil_func)(const GLubyte *src, void *dst);
-extern gl_pack_ubyte_rgba_func
+extern mesa_pack_ubyte_rgba_func
_mesa_get_pack_ubyte_rgba_function(mesa_format format);
-extern gl_pack_float_rgba_func
+extern mesa_pack_float_rgba_func
_mesa_get_pack_float_rgba_function(mesa_format format);
-extern gl_pack_float_z_func
+extern mesa_pack_float_z_func
_mesa_get_pack_float_z_func(mesa_format format);
-extern gl_pack_uint_z_func
+extern mesa_pack_uint_z_func
_mesa_get_pack_uint_z_func(mesa_format format);
-extern gl_pack_ubyte_stencil_func
+extern mesa_pack_ubyte_stencil_func
_mesa_get_pack_ubyte_stencil_func(mesa_format format);