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

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: Patch for RGB565 format texture readback in gl_helper 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 cffe8ebc14d82a0df75feb2ad200d746c562f0a0..59c09310bf7b689f04ce2b01a0182cd0bdaa89ec 100644
--- a/content/browser/android/content_view_core_impl.h
+++ b/content/browser/android/content_view_core_impl.h
@@ -307,6 +307,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);
+ bool IsReadBackConfig565();
private:
class ContentViewUserData;
@@ -382,6 +386,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