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

Unified Diff: ppapi/shared_impl/command_buffer_id_pair.h

Issue 1345813002: Added a unique command buffer ID for command buffers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed tests Created 5 years, 3 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: ppapi/shared_impl/command_buffer_id_pair.h
diff --git a/ppapi/shared_impl/command_buffer_id_pair.h b/ppapi/shared_impl/command_buffer_id_pair.h
new file mode 100644
index 0000000000000000000000000000000000000000..6705e4df1ba15f2d4ea9c15efd075eb6d29f4ada
--- /dev/null
+++ b/ppapi/shared_impl/command_buffer_id_pair.h
@@ -0,0 +1,22 @@
+// Copyright 2015 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 PPAPI_SHARED_IMPL_COMMAND_BUFFER_ID_PAIR_H_
+#define PPAPI_SHARED_IMPL_COMMAND_BUFFER_ID_PAIR_H_
+
+#include "gpu/command_buffer/common/constants.h"
+
+namespace ppapi {
+
+struct CommandBufferIDPair {
+ CommandBufferIDPair();
+ ~CommandBufferIDPair();
+
+ gpu::CommandBufferNamespace namespace_id;
+ uint64_t command_buffer_id;
+};
+
+} // namespace ppapi
+
+#endif // PPAPI_SHARED_IMPL_COMMAND_BUFFER_ID_PAIR_H_

Powered by Google App Engine
This is Rietveld 408576698