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

Unified Diff: gpu/command_buffer/service/sequence_id.h

Issue 2752393002: gpu: Add SequenceId for identifying sync point sequences. (Closed)
Patch Set: piman's review 3 Created 3 years, 9 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/service/BUILD.gn ('k') | gpu/command_buffer/service/sync_point_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/sequence_id.h
diff --git a/gpu/command_buffer/service/sequence_id.h b/gpu/command_buffer/service/sequence_id.h
new file mode 100644
index 0000000000000000000000000000000000000000..a2302c2ae9e7d233a954f7c8d5646f125b13e563
--- /dev/null
+++ b/gpu/command_buffer/service/sequence_id.h
@@ -0,0 +1,17 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef GPU_COMMAND_BUFFER_SERVICE_SEQUENCE_ID_H_
+#define GPU_COMMAND_BUFFER_SERVICE_SEQUENCE_ID_H_
+
+#include "gpu/command_buffer/common/id_type.h"
+
+namespace gpu {
+
+class SyncPointOrderData;
+using SequenceId = gpu::IdTypeU32<SyncPointOrderData>;
+
+} // namespace gpu
+
+#endif // GPU_COMMAND_BUFFER_SERVICE_SEQUENCE_ID_H_
« no previous file with comments | « gpu/command_buffer/service/BUILD.gn ('k') | gpu/command_buffer/service/sync_point_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698