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

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

Issue 1608303002: Removed OLD_SYNC_POINT sync token namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed cc_perftests, formatted Created 4 years, 11 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
« no previous file with comments | « gpu/command_buffer/common/constants.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/common/sync_token.h
diff --git a/gpu/command_buffer/common/sync_token.h b/gpu/command_buffer/common/sync_token.h
index 14f725681ebc2a76d6b4e6d0978dbaae63eca8f0..73b232ac3e728f1667b3a6f433106bd276337e5c 100644
--- a/gpu/command_buffer/common/sync_token.h
+++ b/gpu/command_buffer/common/sync_token.h
@@ -30,17 +30,6 @@ struct GPU_EXPORT SyncToken {
command_buffer_id_(0),
release_count_(0) {}
- // TODO(dyen): This is an intermediate conversion constructor while we
- // are converting from the old sync point system. Remove once conversion
- // is finished.
- explicit SyncToken(uint32_t sync_point)
- : verified_flush_(sync_point ? true : false),
- namespace_id_(sync_point ? gpu::CommandBufferNamespace::OLD_SYNC_POINTS
- : gpu::CommandBufferNamespace::INVALID),
- extra_data_field_(0),
- command_buffer_id_(0),
- release_count_(sync_point) {}
-
SyncToken(CommandBufferNamespace namespace_id,
int32_t extra_data_field,
uint64_t command_buffer_id,
« no previous file with comments | « gpu/command_buffer/common/constants.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698