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

Unified Diff: content/common/gpu/gpu_channel_manager.cc

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/common/gpu/gpu_channel_manager.h ('k') | content/common/gpu/gpu_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/gpu_channel_manager.cc
diff --git a/content/common/gpu/gpu_channel_manager.cc b/content/common/gpu/gpu_channel_manager.cc
index cddbe5cda1fcb98bc4401291725021413618f354..a75500f96ee7193977a808802e826025d6e4a6e1 100644
--- a/content/common/gpu/gpu_channel_manager.cc
+++ b/content/common/gpu/gpu_channel_manager.cc
@@ -30,10 +30,6 @@
#include "ui/gl/gl_bindings.h"
#include "ui/gl/gl_share_group.h"
-#if defined(OS_CHROMEOS)
-#include "content/common/gpu/media/gpu_arc_video_service.h"
-#endif
-
namespace content {
namespace {
@@ -142,10 +138,6 @@ bool GpuChannelManager::OnControlMessageReceived(const IPC::Message& msg) {
IPC_MESSAGE_HANDLER(GpuMsg_CreateViewCommandBuffer,
OnCreateViewCommandBuffer)
IPC_MESSAGE_HANDLER(GpuMsg_DestroyGpuMemoryBuffer, OnDestroyGpuMemoryBuffer)
-#if defined(OS_CHROMEOS)
- IPC_MESSAGE_HANDLER(GpuMsg_CreateArcVideoAcceleratorChannel,
- OnCreateArcVideoAcceleratorChannel)
-#endif
IPC_MESSAGE_HANDLER(GpuMsg_LoadedShader, OnLoadedShader)
IPC_MESSAGE_HANDLER(GpuMsg_UpdateValueState, OnUpdateValueState)
#if defined(OS_ANDROID)
@@ -254,28 +246,6 @@ void GpuChannelManager::OnDestroyGpuMemoryBuffer(
DestroyGpuMemoryBuffer(id, client_id);
}
-#if defined(OS_CHROMEOS)
-void GpuChannelManager::OnCreateArcVideoAcceleratorChannel() {
- if (!gpu_arc_video_service_) {
- gpu_arc_video_service_.reset(
- new GpuArcVideoService(shutdown_event_, io_task_runner_));
- }
-
- gpu_arc_video_service_->CreateChannel(
- base::Bind(&GpuChannelManager::ArcVideoAcceleratorChannelCreated,
- weak_factory_.GetWeakPtr()));
-}
-
-void GpuChannelManager::ArcVideoAcceleratorChannelCreated(
- const IPC::ChannelHandle& handle) {
- Send(new GpuHostMsg_ArcVideoAcceleratorChannelCreated(handle));
-}
-
-void GpuChannelManager::OnShutdownArcVideoService() {
- gpu_arc_video_service_.reset();
-}
-#endif
-
void GpuChannelManager::OnUpdateValueState(
int client_id, unsigned int target, const gpu::ValueState& state) {
// Only pass updated state to the channel corresponding to the
« no previous file with comments | « content/common/gpu/gpu_channel_manager.h ('k') | content/common/gpu/gpu_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698