mesa: add common format-independent memcpy-based ReadPixels path
[mesa.git] / src / mesa / main / readpix.h
index 5a5f73f52950b099712dab8a6e7a667b501e9b12..7491c22ff57a9b243a4f8ec7d250df0eab02771f 100644 (file)
@@ -33,6 +33,10 @@ struct gl_context;
 struct gl_pixelstore_attrib;
 
 
+extern GLboolean
+_mesa_readpixels_needs_slow_path(const struct gl_context *ctx, GLenum format,
+                                 GLenum type, GLboolean uses_blit);
+
 extern void
 _mesa_readpixels(struct gl_context *ctx,
                  GLint x, GLint y, GLsizei width, GLsizei height,