Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1632)

Unified Diff: content/common/gpu/client/gl_helper_readback_support.h

Issue 188633002: Query the preferred readback config in CopyFromBackingStore (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/common/gpu/client/gl_helper_readback_support.h
diff --git a/content/common/gpu/client/gl_helper_readback_support.h b/content/common/gpu/client/gl_helper_readback_support.h
index c6e23041730230b92cb503ab38d04bdc0fb963e8..9c875d5ae8a096c82098d73cbf8c3a9a51b02d7d 100644
--- a/content/common/gpu/client/gl_helper_readback_support.h
+++ b/content/common/gpu/client/gl_helper_readback_support.h
@@ -22,6 +22,8 @@ class CONTENT_EXPORT GLHelperReadbackSupport {
// Here we pass the internal textureformat as skia config.
bool IsReadbackConfigSupported(SkBitmap::Config texture_format);
+ SkBitmap::Config PreferredReadbackFormat();
+
private:
enum FormatSupport { FORMAT_NOT_SUPPORTED = 0, FORMAT_SUPPORTED, };

Powered by Google App Engine
This is Rietveld 408576698