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

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

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.h
diff --git a/ui/ozone/platform/drm/gpu/drm_thread.h b/ui/ozone/platform/drm/gpu/drm_thread.h
index 361fec7daa86f772e86824dcb60d6fc5a90a88c7..98330a0e8034c1272ea501ba875ff5ae1ff9c216 100644
--- a/ui/ozone/platform/drm/gpu/drm_thread.h
+++ b/ui/ozone/platform/drm/gpu/drm_thread.h
@@ -63,6 +63,9 @@ class DrmThread : public base::Thread {
gfx::AcceleratedWidget widget,
const gfx::VSyncProvider::UpdateVSyncCallback& callback);
+ void GetOverlayBufferConfigurations(gfx::AcceleratedWidget widget,
+ const OverlayParamCallback& callback);
+
void CreateWindow(gfx::AcceleratedWidget widget);
void DestroyWindow(gfx::AcceleratedWidget widget);
void SetWindowBounds(gfx::AcceleratedWidget widget, const gfx::Rect& bounds);
@@ -73,7 +76,8 @@ class DrmThread : public base::Thread {
void MoveCursor(gfx::AcceleratedWidget widget, const gfx::Point& location);
void CheckOverlayCapabilities(
gfx::AcceleratedWidget widget,
- const std::vector<OverlayCheck_Params>& overlays,
+ const std::vector<OverlayCheck_Params>& current_combination,
+ const std::vector<OverlayCheck_Params>& new_combination,
const base::Callback<void(gfx::AcceleratedWidget,
const std::vector<OverlayCheck_Params>&)>&
callback);

Powered by Google App Engine
This is Rietveld 408576698