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

Unified Diff: media/renderers/gpu_video_accelerator_factories.h

Issue 2254993003: Avoid creating sync token when only change is new hardware video frame. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix deps Created 4 years, 4 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 | « media/filters/gpu_video_decoder.cc ('k') | media/renderers/mock_gpu_video_accelerator_factories.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 13baff76e59f11cb9426f312f783d0aa3bdb7336..f725b7332d530e2bdf5d30ce9ce16b8b87c6cca7 100644
--- a/media/renderers/gpu_video_accelerator_factories.h
+++ b/media/renderers/gpu_video_accelerator_factories.h
@@ -80,6 +80,7 @@ class MEDIA_EXPORT GpuVideoAcceleratorFactories {
std::vector<gpu::Mailbox>* texture_mailboxes,
uint32_t texture_target) = 0;
virtual void DeleteTexture(uint32_t texture_id) = 0;
+ virtual gpu::SyncToken CreateSyncToken() = 0;
virtual void WaitSyncToken(const gpu::SyncToken& sync_token) = 0;
« no previous file with comments | « media/filters/gpu_video_decoder.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