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

Unified Diff: content/renderer/media/webmediaplayer_impl.cc

Issue 175223003: HW Video: Make media::VideoFrame handle the sync point of the compositor as well as webgl (Closed) Base URL: https://git.chromium.org/chromium/src.git@master
Patch Set: Focus on this CL's goal and remove wrong change Created 6 years, 9 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/media/webmediaplayer_impl.cc
diff --git a/content/renderer/media/webmediaplayer_impl.cc b/content/renderer/media/webmediaplayer_impl.cc
index 9399476dd837e07a3435c0bdfebf7ced6fb91742..d8bc2e03af305d0c8ed2741aa15ab84e90a3a854 100644
--- a/content/renderer/media/webmediaplayer_impl.cc
+++ b/content/renderer/media/webmediaplayer_impl.cc
@@ -684,6 +684,7 @@ bool WebMediaPlayerImpl::copyVideoTextureToPlatformTexture(
// The flush() operation is not necessary here. It is kept since the
// performance will be better when it is added than not.
web_graphics_context->flush();
danakj 2014/04/11 16:23:28 I wonder if this flush was trying to deal with thi
dshwang 2014/04/11 17:55:37 This flush is logically needed because we want to
+ video_frame->AppendReleaseSyncPoint(web_graphics_context->insertSyncPoint());
dshwang 2014/03/20 08:53:24 sievers@, I didnot add this line to webmediaplayer
return true;
}

Powered by Google App Engine
This is Rietveld 408576698