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

Unified Diff: trunk/src/ui/ozone/platform/dri/dri_surface.cc

Issue 447073004: Revert 288137 "With the overlay path moving back to passing Acce..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 4 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 | trunk/src/ui/ozone/platform/dri/gbm_surface.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/ui/ozone/platform/dri/dri_surface.cc
===================================================================
--- trunk/src/ui/ozone/platform/dri/dri_surface.cc (revision 288142)
+++ trunk/src/ui/ozone/platform/dri/dri_surface.cc (working copy)
@@ -71,10 +71,11 @@
if (!controller_)
return;
- controller_->QueueOverlayPlane(OverlayPlane(buffers_[front_buffer_ ^ 1]));
+ std::vector<OverlayPlane> planes(
+ 1, OverlayPlane(buffers_[front_buffer_ ^ 1]));
UpdateNativeSurface(damage);
- controller_->SchedulePageFlip();
+ controller_->SchedulePageFlip(planes);
controller_->WaitForPageFlipEvent();
// Update our front buffer pointer.
« no previous file with comments | « no previous file | trunk/src/ui/ozone/platform/dri/gbm_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698