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

Unified Diff: media/renderers/gpu_video_accelerator_factories.h

Issue 2526953003: Add MediaGpuChannelManager::LookupChannel(). (Closed)
Patch Set: Implement MockGpuVideoAcceleratorFactories::GetCommandBufferRouteId(). Created 3 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
Index: media/renderers/gpu_video_accelerator_factories.h
diff --git a/media/renderers/gpu_video_accelerator_factories.h b/media/renderers/gpu_video_accelerator_factories.h
index 59695ac76c55dffde7c37d9cd5c83914da8664b0..ad27adaa33fab8186745b5b81be19e537ca02bdf 100644
--- a/media/renderers/gpu_video_accelerator_factories.h
+++ b/media/renderers/gpu_video_accelerator_factories.h
@@ -73,6 +73,9 @@ class MEDIA_EXPORT GpuVideoAcceleratorFactories {
// Return the channel token, or an empty token if the channel is unusable.
virtual base::UnguessableToken GetChannelToken() = 0;
+ // Returns the |route_id| of the command buffer, or 0 if there is none.
+ virtual int32_t GetCommandBufferRouteId() = 0;
+
// Caller owns returned pointer, but should call Destroy() on it (instead of
// directly deleting) for proper destruction, as per the
// VideoDecodeAccelerator interface.
« no previous file with comments | « media/mojo/services/mojo_video_decoder_service.cc ('k') | media/renderers/mock_gpu_video_accelerator_factories.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698