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

Unified Diff: content/common/gpu/media/rendering_helper.h

Issue 465293002: rendering_helper - Wait for rendering before resetting the decoder. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
Index: content/common/gpu/media/rendering_helper.h
diff --git a/content/common/gpu/media/rendering_helper.h b/content/common/gpu/media/rendering_helper.h
index 826de05ac454b2d14fb54a04d07f46538f23f7a5..a3610f773e53379621b679f8a3c15e167d887b32 100644
--- a/content/common/gpu/media/rendering_helper.h
+++ b/content/common/gpu/media/rendering_helper.h
@@ -95,6 +95,11 @@ class RenderingHelper {
void ClearVideoFrames(size_t window_id);
+ // Sets the callback who will be invoked when all pending video frames has
+ // been rendered.
+ void SetWaitRenderingCB(size_t window_id,
+ const base::Closure& wait_rendering_cb);
+
// Delete |texture_id|.
void DeleteTexture(uint32 texture_id);
« no previous file with comments | « no previous file | content/common/gpu/media/rendering_helper.cc » ('j') | content/common/gpu/media/rendering_helper.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698