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

Unified Diff: content/common/gpu/gpu_channel.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
« no previous file with comments | « content/common/gpu/create_image_params.cc ('k') | content/common/gpu/gpu_channel.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/gpu_channel.h
diff --git a/content/common/gpu/gpu_channel.h b/content/common/gpu/gpu_channel.h
index 5127433e9424e3d53ac37d6db36a92b3c5bc680f..dc00bbeb7d00eae8ee88705bb2f98e2a35d3bba0 100644
--- a/content/common/gpu/gpu_channel.h
+++ b/content/common/gpu/gpu_channel.h
@@ -32,8 +32,6 @@
#include "ui/gl/gl_share_group.h"
#include "ui/gl/gpu_preference.h"
-struct GPUCreateCommandBufferConfig;
-
namespace base {
class WaitableEvent;
}
@@ -59,6 +57,7 @@ class GpuChannelMessageFilter;
class GpuChannelMessageQueue;
class GpuJpegDecodeAccelerator;
class GpuWatchdog;
+struct GpuCreateCommandBufferConfig;
// Encapsulates an IPC channel between the GPU process and one renderer
// process. On the renderer side there's a corresponding GpuChannelHost.
@@ -120,7 +119,7 @@ class CONTENT_EXPORT GpuChannel
CreateCommandBufferResult CreateViewCommandBuffer(
const gfx::GLSurfaceHandle& window,
- const GPUCreateCommandBufferConfig& init_params,
+ const GpuCreateCommandBufferConfig& init_params,
int32_t route_id);
gfx::GLShareGroup* share_group() const { return share_group_.get(); }
@@ -224,7 +223,7 @@ class CONTENT_EXPORT GpuChannel
// Message handlers.
void OnCreateOffscreenCommandBuffer(
const gfx::Size& size,
- const GPUCreateCommandBufferConfig& init_params,
+ const GpuCreateCommandBufferConfig& init_params,
int32_t route_id,
bool* succeeded);
void OnDestroyCommandBuffer(int32_t route_id);
« no previous file with comments | « content/common/gpu/create_image_params.cc ('k') | content/common/gpu/gpu_channel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698