diff options
author | dyen <dyen@chromium.org> | 2015-10-07 11:58:31 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-10-07 18:59:10 +0000 |
commit | 5c38a030b88f43b57f404dc60d777572b33ea3c4 (patch) | |
tree | dcbefdf15124d6a1a11245bd1c901515cc11e795 /gpu/command_buffer/service/mailbox_manager_impl.h | |
parent | b474ca01fcc5376eb538f71e524351e52319d396 (diff) | |
download | chromium_src-5c38a030b88f43b57f404dc60d777572b33ea3c4.zip chromium_src-5c38a030b88f43b57f404dc60d777572b33ea3c4.tar.gz chromium_src-5c38a030b88f43b57f404dc60d777572b33ea3c4.tar.bz2 |
Implemented new fence syncs which replaces the old sync points.
The new GL_CHROMIUM_sync_point proposal has been implemented now. The
old functions are all different enough that no names were overloaded,
so all of the old functionality still exists. This way, we can
incrementally move over call sites of the old functions to use the new
ones.
R=jam@chromium.org, piman@chromium.org
BUG=514815
Review URL: https://codereview.chromium.org/1331843005
Cr-Commit-Position: refs/heads/master@{#352901}
Diffstat (limited to 'gpu/command_buffer/service/mailbox_manager_impl.h')
-rw-r--r-- | gpu/command_buffer/service/mailbox_manager_impl.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gpu/command_buffer/service/mailbox_manager_impl.h b/gpu/command_buffer/service/mailbox_manager_impl.h index 5ea906e..135b826 100644 --- a/gpu/command_buffer/service/mailbox_manager_impl.h +++ b/gpu/command_buffer/service/mailbox_manager_impl.h @@ -30,8 +30,8 @@ class GPU_EXPORT MailboxManagerImpl : public MailboxManager { Texture* ConsumeTexture(const Mailbox& mailbox) override; void ProduceTexture(const Mailbox& mailbox, Texture* texture) override; bool UsesSync() override; - void PushTextureUpdates(uint32 sync_point) override {} - void PullTextureUpdates(uint32 sync_point) override {} + void PushTextureUpdates(const SyncToken& token) override {} + void PullTextureUpdates(const SyncToken& token) override {} void TextureDeleted(Texture* texture) override; protected: |