card: add get_crtcs()
[android/external-libkmsxx.git] / libkms++ / card.h
index 94e761aadb22ae2bfd4476e252d8395607bbb78f..dc97703f2d5e18c2845adab9812b820f2ace6748 100644 (file)
@@ -23,6 +23,7 @@ public:
        Connector* get_first_connected_connector() const;
 
        DrmObject* get_object(uint32_t id) const;
+       Connector* get_connector(uint32_t id) const;
        Crtc* get_crtc(uint32_t id) const;
        Crtc* get_crtc_by_index(uint32_t idx) const;
        Encoder* get_encoder(uint32_t id) const;
@@ -36,11 +37,14 @@ public:
        void print_short() const;
 
        std::vector<Connector*> get_connectors() const;
+       std::vector<Crtc*> get_crtcs() const;
        std::vector<DrmObject*> get_objects() const;
        std::vector<Plane*> get_planes() const;
 
        std::vector<Pipeline> get_connected_pipelines();
 
+       void call_page_flip_handlers();
+
 private:
        void restore_modes();