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

Unified Diff: ui/ozone/platform/drm/gpu/drm_window.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: Review fixes 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
« no previous file with comments | « ui/ozone/platform/drm/gpu/drm_thread.cc ('k') | ui/ozone/platform/drm/gpu/drm_window.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/drm/gpu/drm_window.h
diff --git a/ui/ozone/platform/drm/gpu/drm_window.h b/ui/ozone/platform/drm/gpu/drm_window.h
index 5a8af3bd1c09ab33d0fe7b089ad6b2ff3f6f57ac..f5dad7c28dad2b31a62425a49ae8602c524aaab1 100644
--- a/ui/ozone/platform/drm/gpu/drm_window.h
+++ b/ui/ozone/platform/drm/gpu/drm_window.h
@@ -56,7 +56,7 @@ class OZONE_EXPORT DrmWindow {
gfx::Rect bounds() const { return bounds_; }
- void Initialize();
+ void Initialize(ScanoutBufferGenerator* buffer_generator);
void Shutdown();
@@ -89,8 +89,7 @@ class OZONE_EXPORT DrmWindow {
void SchedulePageFlip(const std::vector<OverlayPlane>& planes,
const SwapCompletionCallback& callback);
std::vector<OverlayCheck_Params> TestPageFlip(
- const std::vector<OverlayCheck_Params>& overlay_params,
- ScanoutBufferGenerator* buffer_generator);
+ const std::vector<OverlayCheck_Params>& overlay_params);
// Returns the last buffer associated with this window.
const OverlayPlane* GetLastModesetBuffer();
« no previous file with comments | « ui/ozone/platform/drm/gpu/drm_thread.cc ('k') | ui/ozone/platform/drm/gpu/drm_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698