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

Unified Diff: content/browser/compositor/reflector_impl.cc

Issue 1427543002: Modified old wait sync point functions to also accept new sync tokens. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix mock gpu video accelerator factory Created 5 years, 2 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/browser/compositor/reflector_impl.cc
diff --git a/content/browser/compositor/reflector_impl.cc b/content/browser/compositor/reflector_impl.cc
index dcc0dc2bbe675af19151a929184a1353e7e00cb9..28f70959e83fd77c61c57c2704d83a47879cff4e 100644
--- a/content/browser/compositor/reflector_impl.cc
+++ b/content/browser/compositor/reflector_impl.cc
@@ -171,8 +171,9 @@ void ReflectorImpl::OnSourcePostSubBuffer(const gfx::Rect& rect) {
static void ReleaseMailbox(scoped_refptr<OwnedMailbox> mailbox,
unsigned int sync_point,
+ const gpu::SyncToken& sync_token,
bool is_lost) {
- mailbox->UpdateSyncPoint(sync_point);
+ mailbox->UpdateSyncPoint(sync_point, sync_token);
}
ScopedVector<ReflectorImpl::LayerData>::iterator ReflectorImpl::FindLayerData(

Powered by Google App Engine
This is Rietveld 408576698