libkms++/plane: Add methods for getting details of the DRM object
[android/external-libkmsxx.git] / libkms++ / plane.h
index 0c232c03bceaae7c422150cae763585c3872eee3..2faca78d3e25cfb0ce351d3715c30489315b3f4c 100644 (file)
@@ -25,6 +25,15 @@ public:
 
        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);
        ~Plane();