Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(193)

Unified Diff: gpu/command_buffer/common/mailbox_holder.h

Issue 1427543002: Modified old wait sync point functions to also accept new sync tokens. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Folded sync_point into sync_tokens Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: gpu/command_buffer/common/mailbox_holder.h
diff --git a/gpu/command_buffer/common/mailbox_holder.h b/gpu/command_buffer/common/mailbox_holder.h
index 51c377dba4c2e794cf54172d37f759de941f194d..b1cc3dfad42bf276878e74f50a8ac9f7e581d2db 100644
--- a/gpu/command_buffer/common/mailbox_holder.h
+++ b/gpu/command_buffer/common/mailbox_holder.h
@@ -9,6 +9,7 @@
#include <string.h>
#include "gpu/command_buffer/common/mailbox.h"
+#include "gpu/command_buffer/common/sync_token.h"
#include "gpu/gpu_export.h"
namespace gpu {
@@ -23,11 +24,12 @@ namespace gpu {
struct GPU_EXPORT MailboxHolder {
MailboxHolder();
MailboxHolder(const gpu::Mailbox& mailbox,
- uint32_t texture_target,
- uint32_t sync_point);
+ const gpu::SyncToken& sync_token,
+ uint32_t texture_target);
+
gpu::Mailbox mailbox;
+ gpu::SyncToken sync_token;
uint32_t texture_target;
- uint32_t sync_point;
};
} // namespace gpu

Powered by Google App Engine
This is Rietveld 408576698