X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fmesa%2Fmain%2Freadpix.h;h=481ad9d9c3752ff1ca27921eeeb9d522bad1e84b;hb=78a391ed8311fc5215347f8775bf0aa29568b78d;hp=f8940361fb4de8df2745f7664125bb1ef8d9315b;hpb=7974e23be9ff7586e5250cff321b6ec7749ecc44;p=mesa.git diff --git a/src/mesa/main/readpix.h b/src/mesa/main/readpix.h index f8940361fb4..481ad9d9c37 100644 --- a/src/mesa/main/readpix.h +++ b/src/mesa/main/readpix.h @@ -38,7 +38,12 @@ _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); +_mesa_need_rgb_to_luminance_conversion(GLenum srcBaseFormat, + GLenum dstBaseFormat); + +extern GLboolean +_mesa_need_luminance_to_rgb_conversion(GLenum srcBaseFormat, + GLenum dstBaseFormat); extern GLbitfield _mesa_get_readpixels_transfer_ops(const struct gl_context *ctx,