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

Unified Diff: content/common/gpu/create_gpu_memory_buffer_from_handle_params.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/create_gpu_memory_buffer_from_handle_params.h
diff --git a/content/common/gpu/create_gpu_memory_buffer_from_handle_params.h b/content/common/gpu/create_gpu_memory_buffer_from_handle_params.h
new file mode 100644
index 0000000000000000000000000000000000000000..f3d109a65b7bfde03a4398ee5ca8a01b29429f36
--- /dev/null
+++ b/content/common/gpu/create_gpu_memory_buffer_from_handle_params.h
@@ -0,0 +1,26 @@
+// 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_CREATE_GPU_MEMORY_BUFFER_FROM_HANDLE_PARAMS_H_
+#define CONTENT_COMMON_GPU_CREATE_GPU_MEMORY_BUFFER_FROM_HANDLE_PARAMS_H_
+
+#include "ui/gfx/gpu_memory_buffer.h"
+#include "ui/gfx/native_widget_types.h"
+
+namespace content {
+
+struct CreateGpuMemoryBufferFromHandleParams {
+ CreateGpuMemoryBufferFromHandleParams();
+ ~CreateGpuMemoryBufferFromHandleParams();
+
+ gfx::GpuMemoryBufferHandle handle;
+ gfx::GpuMemoryBufferId id;
+ gfx::Size size;
+ gfx::BufferFormat format;
+ int32_t client_id;
+};
+
+} // namespace content
+
+#endif // CONTENT_COMMON_GPU_CREATE_GPU_MEMORY_BUFFER_FROM_HANDLE_PARAMS_H_
« no previous file with comments | « content/common/gpu/command_buffer_console_message.h ('k') | content/common/gpu/create_gpu_memory_buffer_from_handle_params.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698