| Index: cc/resources/texture_mailbox.h
|
| diff --git a/cc/resources/texture_mailbox.h b/cc/resources/texture_mailbox.h
|
| index 9fc0fb841d6d2f6be03096307c030c8ad0d707a8..01cc660c0b96e031ef83d2ea29da2b89f9ef1d4c 100644
|
| --- a/cc/resources/texture_mailbox.h
|
| +++ b/cc/resources/texture_mailbox.h
|
| @@ -21,10 +21,12 @@ class CC_EXPORT TextureMailbox {
|
| public:
|
| TextureMailbox();
|
| explicit TextureMailbox(const gpu::MailboxHolder& mailbox_holder);
|
| - TextureMailbox(const gpu::Mailbox& mailbox, uint32 target, uint32 sync_point);
|
| TextureMailbox(const gpu::Mailbox& mailbox,
|
| + const gpu::SyncToken& sync_token,
|
| + uint32 target);
|
| + TextureMailbox(const gpu::Mailbox& mailbox,
|
| + const gpu::SyncToken& sync_token,
|
| uint32 target,
|
| - uint32 sync_point,
|
| const gfx::Size& size_in_pixels,
|
| bool is_overlay_candidate);
|
| TextureMailbox(SharedBitmap* shared_bitmap, const gfx::Size& size_in_pixels);
|
| @@ -40,9 +42,11 @@ class CC_EXPORT TextureMailbox {
|
| const gpu::Mailbox& mailbox() const { return mailbox_holder_.mailbox; }
|
| const int8* name() const { return mailbox().name; }
|
| uint32 target() const { return mailbox_holder_.texture_target; }
|
| - uint32 sync_point() const { return mailbox_holder_.sync_point; }
|
| - void set_sync_point(int32 sync_point) {
|
| - mailbox_holder_.sync_point = sync_point;
|
| + const gpu::SyncToken& sync_token() const {
|
| + return mailbox_holder_.sync_token;
|
| + }
|
| + void set_sync_token(const gpu::SyncToken& sync_token) {
|
| + mailbox_holder_.sync_token = sync_token;
|
| }
|
|
|
| bool is_overlay_candidate() const { return is_overlay_candidate_; }
|
|
|