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

Unified Diff: content/browser/gpu/gpu_process_host.h

Issue 1634443002: Revert "Implement GpuArcVideoService for arc video accelerator" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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/gpu_arc_video_service_host.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 c3ce718d281cfe753318a60921a3fcce8c20dc55..9b7c1ab3015e345633512d83fd8041a1b823e797 100644
--- a/content/browser/gpu/gpu_process_host.h
+++ b/content/browser/gpu/gpu_process_host.h
@@ -74,11 +74,6 @@ class GpuProcessHost : public BrowserChildProcessHostDelegate,
typedef base::Callback<void(const gfx::GpuMemoryBufferHandle& handle)>
CreateGpuMemoryBufferCallback;
-#if defined(OS_CHROMEOS)
- typedef base::Callback<void(const IPC::ChannelHandle&)>
- CreateArcVideoAcceleratorChannelCallback;
-#endif
-
static bool gpu_enabled() { return gpu_enabled_; }
static int gpu_crash_count() { return gpu_crash_count_; }
@@ -158,13 +153,6 @@ class GpuProcessHost : public BrowserChildProcessHostDelegate,
int client_id,
const gpu::SyncToken& sync_token);
-#if defined(OS_CHROMEOS)
- // Tells the GPU process to create a new ipc channel for
- // ArcVideoAccelerator.
- void CreateArcVideoAcceleratorChannel(
- const CreateArcVideoAcceleratorChannelCallback& callback);
-#endif
-
// What kind of GPU process, e.g. sandboxed or unsandboxed.
GpuProcessKind kind();
@@ -207,7 +195,6 @@ class GpuProcessHost : public BrowserChildProcessHostDelegate,
void OnChannelEstablished(const IPC::ChannelHandle& channel_handle);
void OnCommandBufferCreated(CreateCommandBufferResult result);
void OnGpuMemoryBufferCreated(const gfx::GpuMemoryBufferHandle& handle);
- void OnArcVideoAcceleratorChannelCreated(const IPC::ChannelHandle& handle);
void OnDidCreateOffscreenContext(const GURL& url);
void OnDidLoseContext(bool offscreen,
gpu::error::ContextLostReason reason,
@@ -254,13 +241,6 @@ class GpuProcessHost : public BrowserChildProcessHostDelegate,
// The pending create gpu memory buffer requests we need to reply to.
std::queue<CreateGpuMemoryBufferCallback> create_gpu_memory_buffer_requests_;
-#if defined(OS_CHROMEOS)
- // The pending create arc video accelerator channel requests we need to reply
- // to.
- std::queue<CreateArcVideoAcceleratorChannelCallback>
- create_arc_video_accelerator_channel_requests_;
-#endif
-
// Qeueud messages to send when the process launches.
std::queue<IPC::Message*> queued_messages_;
« no previous file with comments | « content/browser/gpu/gpu_arc_video_service_host.cc ('k') | content/browser/gpu/gpu_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698