summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer/common/gles2_cmd_ids.h
diff options
context:
space:
mode:
Diffstat (limited to 'gpu/command_buffer/common/gles2_cmd_ids.h')
-rw-r--r--gpu/command_buffer/common/gles2_cmd_ids.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/gpu/command_buffer/common/gles2_cmd_ids.h b/gpu/command_buffer/common/gles2_cmd_ids.h
new file mode 100644
index 0000000..130fce9
--- /dev/null
+++ b/gpu/command_buffer/common/gles2_cmd_ids.h
@@ -0,0 +1,23 @@
+// Copyright (c) 2006-2009 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.
+
+// This file defines the GLES2 command buffer commands.
+
+#ifndef GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_IDS_H
+#define GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_IDS_H
+
+#include "gpu/command_buffer/common/cmd_buffer_common.h"
+
+namespace command_buffer {
+namespace gles2 {
+
+#include "gpu/command_buffer/common/gles2_cmd_ids_autogen.h"
+
+const char* GetCommandName(CommandId command_id);
+
+} // namespace gles2
+} // namespace command_buffer
+
+#endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_IDS_H
+