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

Unified Diff: cc/resources/transferable_resource.h

Issue 2508203004: Add hints for potential overlay promotion on android. (Closed)
Patch Set: rebased Created 4 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
« no previous file with comments | « cc/resources/texture_mailbox.cc ('k') | cc/resources/transferable_resource.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/transferable_resource.h
diff --git a/cc/resources/transferable_resource.h b/cc/resources/transferable_resource.h
index ec15702cb17fec58c7156ea2ad01cfc3510f4fb7..ca623ad3c37a63c6065dd0ac41b9e48eac111cc7 100644
--- a/cc/resources/transferable_resource.h
+++ b/cc/resources/transferable_resource.h
@@ -39,6 +39,10 @@ struct CC_EXPORT TransferableResource {
gpu::MailboxHolder mailbox_holder;
bool read_lock_fences_enabled;
bool is_software;
+#if defined(OS_ANDROID)
+ bool is_backed_by_surface_texture;
+ bool wants_promotion_hint;
+#endif
bool is_overlay_candidate;
gfx::ColorSpace color_space;
};
« no previous file with comments | « cc/resources/texture_mailbox.cc ('k') | cc/resources/transferable_resource.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698