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

Unified Diff: cc/resources/video_resource_updater.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: cc/resources/video_resource_updater.cc
diff --git a/cc/resources/video_resource_updater.cc b/cc/resources/video_resource_updater.cc
index dee285a28506c651c282418be98a432d2cf88ed5..1f37a119b9bc28d681f354f36a97c20998ddb5aa 100644
--- a/cc/resources/video_resource_updater.cc
+++ b/cc/resources/video_resource_updater.cc
@@ -311,7 +311,7 @@ VideoFrameExternalResources VideoResourceUpdater::CreateForSoftwarePlanes(
static void ReturnTexture(const scoped_refptr<media::VideoFrame>& frame,
uint32 sync_point,
bool lost_resource) {
- frame->mailbox_holder()->sync_point = sync_point;
+ frame->AppendReleaseSyncPoint(sync_point);
}
VideoFrameExternalResources VideoResourceUpdater::CreateForHardwarePlanes(

Powered by Google App Engine
This is Rietveld 408576698