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

Unified Diff: media/blink/video_frame_compositor.h

Issue 1996763002: Make painting a single frame a permanent API on VideoRendererSink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleanup. Created 4 years, 7 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/blink/video_frame_compositor.h
diff --git a/media/blink/video_frame_compositor.h b/media/blink/video_frame_compositor.h
index b116e4f69883d5fb3f36f8ae65a2a9ea7915d5ff..68a4d79fe173a3798a93ecf915a6ead03e70fad3 100644
--- a/media/blink/video_frame_compositor.h
+++ b/media/blink/video_frame_compositor.h
@@ -75,8 +75,7 @@ class MEDIA_BLINK_EXPORT VideoFrameCompositor
// same thread (typically the media thread).
void Start(RenderCallback* callback) override;
void Stop() override;
- void PaintFrameUsingOldRenderingPath(
- const scoped_refptr<VideoFrame>& frame) override;
+ void PaintSingleFrame(const scoped_refptr<VideoFrame>& frame) override;
// Returns |current_frame_| if |client_| is set. If no |client_| is set,
// |is_background_rendering_| is true, and |callback_| is set, it requests a
@@ -94,7 +93,7 @@ class MEDIA_BLINK_EXPORT VideoFrameCompositor
// Returns the timestamp of the current (possibly stale) frame, or
// base::TimeDelta() if there is no current frame. This method may be called
// from the media thread as long as the VFC is stopped. (Assuming that
- // PaintFrameUsingOldRenderingPath() is not also called while stopped.)
+ // PaintSingleFrame() is not also called while stopped.)
base::TimeDelta GetCurrentFrameTimestamp() const;
void set_tick_clock_for_testing(std::unique_ptr<base::TickClock> tick_clock) {

Powered by Google App Engine
This is Rietveld 408576698