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

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

Issue 1099713005: ozone: Add sync flag for atomic commit (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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 | « ui/ozone/platform/drm/gpu/drm_device.cc ('k') | ui/ozone/platform/drm/test/mock_drm_device.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/drm/gpu/hardware_display_plane_manager_atomic.cc
diff --git a/ui/ozone/platform/drm/gpu/hardware_display_plane_manager_atomic.cc b/ui/ozone/platform/drm/gpu/hardware_display_plane_manager_atomic.cc
index 5a7eae3050f63577e208a0047f0cc4a53c3c43a5..ba923ab368f3405b68115b34500c1742cea8d2eb 100644
--- a/ui/ozone/platform/drm/gpu/hardware_display_plane_manager_atomic.cc
+++ b/ui/ozone/platform/drm/gpu/hardware_display_plane_manager_atomic.cc
@@ -41,7 +41,7 @@ bool HardwareDisplayPlaneManagerAtomic::Commit(
plane_list->plane_list.swap(plane_list->old_plane_list);
plane_list->plane_list.clear();
- if (!drm_->CommitProperties(plane_list->atomic_property_set.get(), 0,
+ if (!drm_->CommitProperties(plane_list->atomic_property_set.get(), 0, true,
dnicoara 2015/04/24 19:47:49 Shouldn't we set this to 'false'? We'd rather not
achaulk 2015/04/24 19:50:41 Actually, it should be is_sync which has helpfully
dnicoara 2015/04/24 19:51:47 Thanks!
base::Bind(&AtomicPageFlipCallback))) {
PLOG(ERROR) << "Failed to commit properties";
return false;
« no previous file with comments | « ui/ozone/platform/drm/gpu/drm_device.cc ('k') | ui/ozone/platform/drm/test/mock_drm_device.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698