| Index: cc/resources/texture_mailbox.h
|
| diff --git a/cc/resources/texture_mailbox.h b/cc/resources/texture_mailbox.h
|
| index 8dcf98ed3802e0ade6468d5f95f3f99631a69fe5..e93a63cc2f5aa34593bcdc7ad2259c08c791d8ff 100644
|
| --- a/cc/resources/texture_mailbox.h
|
| +++ b/cc/resources/texture_mailbox.h
|
| @@ -14,6 +14,7 @@
|
| #include "cc/base/cc_export.h"
|
| #include "gpu/command_buffer/common/mailbox_holder.h"
|
| #include "ui/gfx/geometry/size.h"
|
| +#include "ui/gfx/gpu_memory_buffer.h"
|
|
|
| namespace cc {
|
| class SharedBitmap;
|
| @@ -31,6 +32,7 @@ class CC_EXPORT TextureMailbox {
|
| const gpu::SyncToken& sync_token,
|
| uint32_t target,
|
| const gfx::Size& size_in_pixels,
|
| + const gfx::GpuMemoryBufferId& gpu_memory_buffer_id,
|
| bool is_overlay_candidate,
|
| bool secure_output_only);
|
| TextureMailbox(SharedBitmap* shared_bitmap, const gfx::Size& size_in_pixels);
|
| @@ -56,6 +58,9 @@ class CC_EXPORT TextureMailbox {
|
| mailbox_holder_.sync_token = sync_token;
|
| }
|
|
|
| + gfx::GpuMemoryBufferId gpu_memory_buffer_id() const {
|
| + return gpu_memory_buffer_id_;
|
| + }
|
| bool is_overlay_candidate() const { return is_overlay_candidate_; }
|
| bool secure_output_only() const { return secure_output_only_; }
|
| bool nearest_neighbor() const { return nearest_neighbor_; }
|
| @@ -73,6 +78,7 @@ class CC_EXPORT TextureMailbox {
|
| gpu::MailboxHolder mailbox_holder_;
|
| SharedBitmap* shared_bitmap_;
|
| gfx::Size size_in_pixels_;
|
| + gfx::GpuMemoryBufferId gpu_memory_buffer_id_;
|
| bool is_overlay_candidate_;
|
| bool secure_output_only_;
|
| bool nearest_neighbor_;
|
|
|