Index: content/common/gpu/client/gl_helper.h |
diff --git a/content/common/gpu/client/gl_helper.h b/content/common/gpu/client/gl_helper.h |
index 560446c9b85131f5409faabf26632bf9fbc04d3a..ee74b5d98166e729deb70ee54367f5876b55d24a 100644 |
--- a/content/common/gpu/client/gl_helper.h |
+++ b/content/common/gpu/client/gl_helper.h |
@@ -330,6 +330,9 @@ class CONTENT_EXPORT GLHelper { |
// matching config. This doesnt check for cross format readbacks. |
bool IsReadbackConfigSupported(SkBitmap::Config texture_format); |
+ // Returns the preffered readback-config based on the platform criteria. |
+ SkBitmap::Config PreferredReadbackFormat(); |
+ |
protected: |
class CopyTextureToImpl; |