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

Unified Diff: ui/ozone/platform/drm/gpu/drm_surface.cc

Issue 1137053003: [Ozone-Drm] Use synchronous page flips with the DRM platform (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/drm/gpu/drm_surface.cc
diff --git a/ui/ozone/platform/drm/gpu/drm_surface.cc b/ui/ozone/platform/drm/gpu/drm_surface.cc
index 0964c9e6997ddfa7948cd6af8591295ffac63398..ccf0ce78392409dde22a19453cfbb76609d276f3 100644
--- a/ui/ozone/platform/drm/gpu/drm_surface.cc
+++ b/ui/ozone/platform/drm/gpu/drm_surface.cc
@@ -70,7 +70,7 @@ void DrmSurface::PresentCanvas(const gfx::Rect& damage) {
OverlayPlane(buffers_[front_buffer_ ^ 1]));
UpdateNativeSurface(damage);
- window_delegate_->SchedulePageFlip(false /* is_sync */,
+ window_delegate_->SchedulePageFlip(true /* is_sync */,
base::Bind(&base::DoNothing));
// Update our front buffer pointer.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698