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

Unified Diff: ui/ozone/platform/drm/gpu/drm_thread_message_proxy.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: cosmetic fixes Created 5 years, 1 month 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_message_proxy.cc
diff --git a/ui/ozone/platform/drm/gpu/drm_thread_message_proxy.cc b/ui/ozone/platform/drm/gpu/drm_thread_message_proxy.cc
index f0647eb7085bfbc11fd9f7ce565ff80cb2e7b6a4..d005415d55aa2d6ad415e35d48dfb5622d11db4c 100644
--- a/ui/ozone/platform/drm/gpu/drm_thread_message_proxy.cc
+++ b/ui/ozone/platform/drm/gpu/drm_thread_message_proxy.cc
@@ -103,15 +103,17 @@ void DrmThreadMessageProxy::OnCursorMove(gfx::AcceleratedWidget widget,
void DrmThreadMessageProxy::OnCheckOverlayCapabilities(
gfx::AcceleratedWidget widget,
- const std::vector<OverlayCheck_Params>& overlays) {
+ const std::vector<OverlayCheck_Params>& current_combination,
+ const std::vector<OverlayCheck_Params>& new_combination) {
DCHECK(drm_thread_->IsRunning());
auto callback =
base::Bind(&DrmThreadMessageProxy::OnCheckOverlayCapabilitiesCallback,
weak_ptr_factory_.GetWeakPtr());
drm_thread_->task_runner()->PostTask(
- FROM_HERE, base::Bind(&DrmThread::CheckOverlayCapabilities,
- base::Unretained(drm_thread_), widget, overlays,
- CreateSafeCallback(callback)));
+ FROM_HERE,
+ base::Bind(&DrmThread::CheckOverlayCapabilities,
+ base::Unretained(drm_thread_), widget, current_combination,
+ new_combination, CreateSafeCallback(callback)));
}
void DrmThreadMessageProxy::OnRefreshNativeDisplays() {

Powered by Google App Engine
This is Rietveld 408576698