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

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

Issue 1294113005: Atomic: Don’t keep track of Cursor planes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Style fix Created 5 years, 4 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/hardware_display_plane_atomic.h
diff --git a/ui/ozone/platform/drm/gpu/hardware_display_plane_atomic.h b/ui/ozone/platform/drm/gpu/hardware_display_plane_atomic.h
index b8fb8619a3b7430e37d16be465dae6dc8b857b01..9b8d3495cb629e91e74b895a5e6c3522029e126b 100644
--- a/ui/ozone/platform/drm/gpu/hardware_display_plane_atomic.h
+++ b/ui/ozone/platform/drm/gpu/hardware_display_plane_atomic.h
@@ -26,14 +26,16 @@ class HardwareDisplayPlaneAtomic : public HardwareDisplayPlane {
const gfx::Rect& src_rect);
// HardwareDisplayPlane:
- bool Initialize(DrmDevice* drm,
- const std::vector<uint32_t>& formats) override;
bool IsSupportedFormat(uint32_t format) const override;
void set_crtc(CrtcController* crtc) { crtc_ = crtc; }
CrtcController* crtc() const { return crtc_; }
private:
+ bool InitializeProperties(
+ DrmDevice* drm,
+ const ScopedDrmObjectPropertyPtr& plane_props) override;
+
struct Property {
Property();
bool Initialize(DrmDevice* drm,
@@ -53,7 +55,6 @@ class HardwareDisplayPlaneAtomic : public HardwareDisplayPlane {
Property src_w_prop_;
Property src_h_prop_;
CrtcController* crtc_ = nullptr;
- std::vector<uint32_t> supported_formats_;
};
} // namespace ui
« no previous file with comments | « ui/ozone/platform/drm/gpu/hardware_display_plane.cc ('k') | ui/ozone/platform/drm/gpu/hardware_display_plane_atomic.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698