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

Side by Side Diff: ui/ozone/platform/drm/gpu/drm_window_proxy.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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_OZONE_PLATFORM_DRM_GPU_DRM_WINDOW_PROXY_H_ 5 #ifndef UI_OZONE_PLATFORM_DRM_GPU_DRM_WINDOW_PROXY_H_
6 #define UI_OZONE_PLATFORM_DRM_GPU_DRM_WINDOW_PROXY_H_ 6 #define UI_OZONE_PLATFORM_DRM_GPU_DRM_WINDOW_PROXY_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "ui/gfx/native_widget_types.h" 10 #include "ui/gfx/native_widget_types.h"
(...skipping 11 matching lines...) Expand all
22 ~DrmWindowProxy(); 22 ~DrmWindowProxy();
23 23
24 gfx::AcceleratedWidget widget() const { return widget_; } 24 gfx::AcceleratedWidget widget() const { return widget_; }
25 25
26 void SchedulePageFlip(const std::vector<OverlayPlane>& planes, 26 void SchedulePageFlip(const std::vector<OverlayPlane>& planes,
27 const SwapCompletionCallback& callback); 27 const SwapCompletionCallback& callback);
28 28
29 void GetVSyncParameters( 29 void GetVSyncParameters(
30 const gfx::VSyncProvider::UpdateVSyncCallback& callback); 30 const gfx::VSyncProvider::UpdateVSyncCallback& callback);
31 31
32 void GetOverlayBufferConfigurations(const OverlayParamCallback& callback);
33
32 private: 34 private:
33 gfx::AcceleratedWidget widget_; 35 gfx::AcceleratedWidget widget_;
34 36
35 DrmThread* drm_thread_; 37 DrmThread* drm_thread_;
36 38
37 DISALLOW_COPY_AND_ASSIGN(DrmWindowProxy); 39 DISALLOW_COPY_AND_ASSIGN(DrmWindowProxy);
38 }; 40 };
39 41
40 } // namespace ui 42 } // namespace ui
41 43
42 #endif // UI_OZONE_PLATFORM_DRM_GPU_DRM_WINDOW_PROXY_H_ 44 #endif // UI_OZONE_PLATFORM_DRM_GPU_DRM_WINDOW_PROXY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698