aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/main/readpix.h
diff options
context:
space:
mode:
Diffstat (limited to 'mesalib/src/mesa/main/readpix.h')
-rw-r--r--mesalib/src/mesa/main/readpix.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/mesalib/src/mesa/main/readpix.h b/mesalib/src/mesa/main/readpix.h
index 4bb35e17e..1636dd9ce 100644
--- a/mesalib/src/mesa/main/readpix.h
+++ b/mesalib/src/mesa/main/readpix.h
@@ -37,6 +37,9 @@ extern GLboolean
_mesa_readpixels_needs_slow_path(const struct gl_context *ctx, GLenum format,
GLenum type, GLboolean uses_blit);
+extern GLboolean
+_mesa_need_rgb_to_luminance_conversion(mesa_format texFormat, GLenum format);
+
extern void
_mesa_readpixels(struct gl_context *ctx,
GLint x, GLint y, GLsizei width, GLsizei height,