diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2016-06-11 21:46:24 +0300 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2016-06-11 21:46:24 +0300 |
commit | 9916712a62169606d845510028a3ea6f84bd442f (patch) | |
tree | aca4e1bec39500812111c43a8ecee862edae0002 /kms++/plane.h | |
parent | 736b295100ce441e800457bcbd08cb36db543ff2 (diff) |
kms++: organize into subdirs
Diffstat (limited to 'kms++/plane.h')
-rw-r--r-- | kms++/plane.h | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/kms++/plane.h b/kms++/plane.h deleted file mode 100644 index d50e539..0000000 --- a/kms++/plane.h +++ /dev/null @@ -1,41 +0,0 @@ -#pragma once - -#include "drmpropobject.h" - -namespace kms -{ - -enum class PlaneType -{ - Overlay = 0, - Primary = 1, - Cursor = 2, -}; - -struct PlanePriv; - -class Plane : public DrmPropObject -{ - friend class Card; -public: - bool supports_crtc(Crtc* crtc) const; - bool supports_format(PixelFormat fmt) const; - - PlaneType plane_type() const; - - std::vector<PixelFormat> get_formats() const; - uint32_t crtc_id() const; - uint32_t fb_id() const; - - uint32_t crtc_x() const; - uint32_t crtc_y() const; - uint32_t x() const; - uint32_t y() const; - uint32_t gamma_size() const; -private: - Plane(Card& card, uint32_t id, uint32_t idx); - ~Plane(); - - PlanePriv* m_priv; -}; -} |