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

Unified Diff: content/browser/gpu/gpu_process_host.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/browser/gpu/browser_gpu_channel_host_factory.cc ('k') | content/browser/gpu/gpu_process_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/gpu/gpu_process_host.h
diff --git a/content/browser/gpu/gpu_process_host.h b/content/browser/gpu/gpu_process_host.h
index 74bf6abc012d4c6c35f7493064a5f5acf537d280..22324ecc263ea53f052aba758edb6603798c0196 100644
--- a/content/browser/gpu/gpu_process_host.h
+++ b/content/browser/gpu/gpu_process_host.h
@@ -34,8 +34,6 @@
#include "ui/gfx/native_widget_types.h"
#include "url/gurl.h"
-struct GPUCreateCommandBufferConfig;
-
namespace IPC {
struct ChannelHandle;
}
@@ -51,6 +49,7 @@ class InProcessChildThreadParams;
class MojoApplicationHost;
class RenderWidgetHostViewFrameSubscriber;
class ShaderDiskCache;
+struct GpuCreateCommandBufferConfig;
typedef base::Thread* (*GpuMainThreadFactoryFunction)(
const InProcessChildThreadParams&);
@@ -122,12 +121,11 @@ class GpuProcessHost : public BrowserChildProcessHostDelegate,
// Tells the GPU process to create a new command buffer that draws into the
// given surface.
- void CreateViewCommandBuffer(
- const gfx::GLSurfaceHandle& compositing_surface,
- int client_id,
- const GPUCreateCommandBufferConfig& init_params,
- int route_id,
- const CreateCommandBufferCallback& callback);
+ void CreateViewCommandBuffer(const gfx::GLSurfaceHandle& compositing_surface,
+ int client_id,
+ const GpuCreateCommandBufferConfig& init_params,
+ int route_id,
+ const CreateCommandBufferCallback& callback);
// Tells the GPU process to create a new GPU memory buffer.
void CreateGpuMemoryBuffer(gfx::GpuMemoryBufferId id,
« no previous file with comments | « content/browser/gpu/browser_gpu_channel_host_factory.cc ('k') | content/browser/gpu/gpu_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698