Index: cc/resources/texture_mailbox.h |
diff --git a/cc/resources/texture_mailbox.h b/cc/resources/texture_mailbox.h |
index 4f8065d9de369070c61c07a93d2a6d9e66b91093..10267977c9bdbcda12d63a69f6fb8bed2ba40662 100644 |
--- a/cc/resources/texture_mailbox.h |
+++ b/cc/resources/texture_mailbox.h |
@@ -74,11 +74,29 @@ class CC_EXPORT TextureMailbox { |
SharedBitmap* shared_bitmap() const { return shared_bitmap_; } |
size_t SharedMemorySizeInBytes() const; |
+#if defined(OS_ANDROID) |
+ bool is_backed_by_surface_texture() const { |
+ return is_backed_by_surface_texture_; |
+ } |
+ |
+ void set_is_backed_by_surface_texture(bool value) { |
+ is_backed_by_surface_texture_ = value; |
+ } |
+ |
+ bool wants_promotion_hint() const { return wants_promotion_hint_; } |
+ |
+ void set_wants_promotion_hint(bool value) { wants_promotion_hint_ = value; } |
+#endif |
+ |
private: |
gpu::MailboxHolder mailbox_holder_; |
SharedBitmap* shared_bitmap_; |
gfx::Size size_in_pixels_; |
bool is_overlay_candidate_; |
+#if defined(OS_ANDROID) |
+ bool is_backed_by_surface_texture_; |
+ bool wants_promotion_hint_; |
+#endif |
bool secure_output_only_; |
bool nearest_neighbor_; |
gfx::ColorSpace color_space_; |