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

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

Issue 1451353002: Implement GpuArcVideoService for arc video accelerator (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase and addressed luis's comments Created 5 years 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_manager.h
diff --git a/content/common/gpu/gpu_channel_manager.h b/content/common/gpu/gpu_channel_manager.h
index c3e889a27e2cc78ba23699342e6c3967c8653367..a95ea0564150480aa83ee2318e183349d230fd96 100644
--- a/content/common/gpu/gpu_channel_manager.h
+++ b/content/common/gpu/gpu_channel_manager.h
@@ -55,6 +55,7 @@ struct GPUCreateCommandBufferConfig;
struct GpuMsg_EstablishChannel_Params;
namespace content {
+class GpuArcVideoService;
class GpuChannel;
class GpuMemoryBufferFactory;
class GpuWatchdog;
@@ -159,6 +160,9 @@ class CONTENT_EXPORT GpuChannelManager : public IPC::Listener,
void OnDestroyGpuMemoryBuffer(gfx::GpuMemoryBufferId id,
int client_id,
const gpu::SyncToken& sync_token);
+ void OnCreateArcVideoAcceleratorChannel();
+ void ArcVideoAcceleratorChannelCreated(const IPC::ChannelHandle& handle);
+ void OnShutdownArcVideoService();
void OnUpdateValueState(int client_id,
unsigned int target,
@@ -190,6 +194,7 @@ class CONTENT_EXPORT GpuChannelManager : public IPC::Listener,
scoped_refptr<gpu::gles2::FramebufferCompletenessCache>
framebuffer_completeness_cache_;
scoped_refptr<gfx::GLSurface> default_offscreen_surface_;
+ scoped_ptr<GpuArcVideoService> arc_video_service_;
Pawel Osciak 2015/12/23 06:24:01 I'm wondering if we should make this and other thi
kcwu 2015/12/23 09:09:43 Done.
GpuMemoryBufferFactory* const gpu_memory_buffer_factory_;
#if defined(OS_ANDROID)
// Last time we know the GPU was powered on. Global for tracking across all

Powered by Google App Engine
This is Rietveld 408576698