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

Unified Diff: content/common/gpu/gpu_channel.h

Issue 1451353002: Implement GpuArcVideoService for arc video accelerator (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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/gpu_channel.h
diff --git a/content/common/gpu/gpu_channel.h b/content/common/gpu/gpu_channel.h
index a47ccf941c28c18e010d88eb659ccac1ad5134e4..1af6e7469492aa305bafe569228a60d102724dab 100644
--- a/content/common/gpu/gpu_channel.h
+++ b/content/common/gpu/gpu_channel.h
@@ -50,6 +50,7 @@ class MessageFilter;
}
namespace content {
+class GpuArcAccelerator;
class GpuChannelManager;
class GpuChannelMessageFilter;
class GpuChannelMessageQueue;
@@ -228,6 +229,8 @@ class CONTENT_EXPORT GpuChannel
bool* succeeded);
void OnDestroyCommandBuffer(int32 route_id);
void OnCreateJpegDecoder(int32 route_id, IPC::Message* reply_msg);
+ void OnCreateArcAccelerator(uint32_t device_type);
+ void OnShutdownArcAccelerators();
// The lifetime of objects of this class is managed by a GpuChannelManager.
// The GpuChannelManager destroy all the GpuChannels that they own when they
@@ -278,6 +281,8 @@ class CONTENT_EXPORT GpuChannel
scoped_ptr<GpuJpegDecodeAccelerator> jpeg_decoder_;
+ scoped_ptr<GpuArcAccelerator> arc_accelerator_;
+
gpu::gles2::DisallowedFeatures disallowed_features_;
GpuWatchdog* watchdog_;

Powered by Google App Engine
This is Rietveld 408576698