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

Unified Diff: content/renderer/render_thread_impl.h

Issue 13890012: Integrate VDA with WebRTC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Create new VDA thread, copy gpu_factories, and add DestructionObserver Created 7 years, 6 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
Index: content/renderer/render_thread_impl.h
diff --git a/content/renderer/render_thread_impl.h b/content/renderer/render_thread_impl.h
index ae011484c3d7d00fc551017944cfae5c1a79a48f..c45404b4e57e8bbde0883cc069e5218e253bc934 100644
--- a/content/renderer/render_thread_impl.h
+++ b/content/renderer/render_thread_impl.h
@@ -82,6 +82,7 @@ class MediaStreamCenter;
class MediaStreamDependencyFactory;
class P2PSocketDispatcher;
class PeerConnectionTracker;
+class RendererGpuVideoDecoderFactories;
class RendererWebKitPlatformSupportImpl;
class RenderProcessObserver;
class VideoCaptureImplManager;
@@ -283,6 +284,11 @@ class CONTENT_EXPORT RenderThreadImpl : public RenderThread,
// not sent for at least one notification delay.
void PostponeIdleNotification();
+ // Gets a RendererGpuVideoDecoderFactories. Returns NULL if VDA is disabled or
+ // a graphics context cannot be obtained.
+ RendererGpuVideoDecoderFactories* GetGpuFactories(
+ scoped_refptr<base::MessageLoopProxy> factories_loop);
Pawel Osciak 2013/06/12 23:38:22 indent
wuchengli 2013/06/13 10:28:07 Done.
+
// Returns a graphics context shared among all
// RendererGpuVideoDecoderFactories, or NULL on error. Context remains owned
// by this class and must be null-tested before each use to detect context

Powered by Google App Engine
This is Rietveld 408576698