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

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

Issue 1426993003: Ozone: Dont hardcode format to YUV when using Overlay Composition. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove obsolete code Created 4 years, 11 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: ui/ozone/platform/drm/gpu/drm_thread.cc
diff --git a/ui/ozone/platform/drm/gpu/drm_thread.cc b/ui/ozone/platform/drm/gpu/drm_thread.cc
index 875f3844939d9d017414ce8ae84f7cfeac6f16aa..ed12cbc7a9c4887c6da28ea45e143a03dcd25f94 100644
--- a/ui/ozone/platform/drm/gpu/drm_thread.cc
+++ b/ui/ozone/platform/drm/gpu/drm_thread.cc
@@ -111,7 +111,7 @@ void DrmThread::SchedulePageFlip(gfx::AcceleratedWidget widget,
const SwapCompletionCallback& callback) {
DrmWindow* window = screen_manager_->GetWindow(widget);
if (window)
- window->SchedulePageFlip(planes, callback);
+ window->SchedulePageFlip(planes, callback, buffer_generator_.get());
dnicoara 2016/01/13 17:26:51 Looking over the change and I'm thinking that the
kalyank 2016/01/13 19:52:33 Done.
else
callback.Run(gfx::SwapResult::SWAP_ACK);
}

Powered by Google App Engine
This is Rietveld 408576698