| Index: cc/resources/texture_mailbox.h
|
| diff --git a/cc/resources/texture_mailbox.h b/cc/resources/texture_mailbox.h
|
| index 4f8065d9de369070c61c07a93d2a6d9e66b91093..0a3df5a55516174bd0217321675676a196fa6de0 100644
|
| --- a/cc/resources/texture_mailbox.h
|
| +++ b/cc/resources/texture_mailbox.h
|
| @@ -58,6 +58,9 @@ class CC_EXPORT TextureMailbox {
|
| }
|
|
|
| bool is_overlay_candidate() const { return is_overlay_candidate_; }
|
| + void set_is_overlay_candidate(bool overlay_candidate) {
|
| + is_overlay_candidate_ = overlay_candidate;
|
| + }
|
| bool secure_output_only() const { return secure_output_only_; }
|
| bool nearest_neighbor() const { return nearest_neighbor_; }
|
| void set_nearest_neighbor(bool nearest_neighbor) {
|
| @@ -74,11 +77,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_;
|
|
|