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

Unified Diff: content/browser/android/content_view_core_impl.h

Issue 88033002: Add RGB565 Texture readback support in gl_helper (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Modified code as per the review comments. Created 7 years 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/browser/android/content_view_core_impl.h
diff --git a/content/browser/android/content_view_core_impl.h b/content/browser/android/content_view_core_impl.h
index 7a3b449fe9f630109753e0371e746c72edb9a48b..fde07e684230b1fca3e5c222137e3704643e1415 100644
--- a/content/browser/android/content_view_core_impl.h
+++ b/content/browser/android/content_view_core_impl.h
@@ -308,6 +308,10 @@ class ContentViewCoreImpl : public ContentViewCore,
void AddBeginFrameSubscriber();
void RemoveBeginFrameSubscriber();
void SetNeedsAnimate();
+ void PopulateBitmapAsync(gfx::Rect src_subrect,
+ gfx::Size dst_size,
+ bool readback_config_rgb565);
no sievers 2014/01/07 16:26:02 Adding this here is unnecessary since ContentViewC
sivag 2014/01/09 14:51:50 Removed.
+ bool IsReadBackConfig565();
no sievers 2014/01/07 16:26:02 Same for this. It should be in the same place and
sivag 2014/01/09 14:51:50 Removed.Argument added to CopyFromCompositingSurfa
private:
class ContentViewUserData;
@@ -383,6 +387,8 @@ class ContentViewCoreImpl : public ContentViewCore,
bool geolocation_needs_pause_;
+ bool bitmap_config_is_565_;
+
DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl);
};

Powered by Google App Engine
This is Rietveld 408576698