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

Unified Diff: content/common/gpu/gpu_create_command_buffer_config.h

Issue 1656433002: Sample code: IPC Transport object for GPU Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: GpuMemoryBufferService + Transport object. TODO: Eliminate ChildThreadImpl dependency Created 4 years, 10 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: content/common/gpu/gpu_create_command_buffer_config.h
diff --git a/content/common/gpu/gpu_create_command_buffer_config.h b/content/common/gpu/gpu_create_command_buffer_config.h
new file mode 100644
index 0000000000000000000000000000000000000000..39d399b83bf0e974ed8a7183a23260e2f48d705b
--- /dev/null
+++ b/content/common/gpu/gpu_create_command_buffer_config.h
@@ -0,0 +1,33 @@
+// 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 CONTENT_COMMON_GPU_GPU_CREATE_COMMAND_BUFFER_CONFIG_H_
+#define CONTENT_COMMON_GPU_GPU_CREATE_COMMAND_BUFFER_CONFIG_H_
+
+#include <stdint.h>
+
+#include <vector>
+
+#include "content/common/content_export.h"
+#include "content/common/gpu/gpu_stream_priority.h"
+#include "ui/gl/gpu_preference.h"
+#include "url/gurl.h"
+
+namespace content {
+
+struct CONTENT_EXPORT GpuCreateCommandBufferConfig {
+ GpuCreateCommandBufferConfig();
+ ~GpuCreateCommandBufferConfig();
+
+ int32_t share_group_id;
+ int32_t stream_id;
+ content::GpuStreamPriority stream_priority;
+ std::vector<int> attribs;
+ GURL active_url;
+ gfx::GpuPreference gpu_preference;
+};
+
+} // namespace content
+
+#endif // CONTENT_COMMON_GPU_GPU_CREATE_COMMAND_BUFFER_CONFIG_H_
« no previous file with comments | « content/common/gpu/gpu_command_buffer_stub.cc ('k') | content/common/gpu/gpu_create_command_buffer_config.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698