summaryrefslogtreecommitdiff
path: root/kms++/inc
diff options
context:
space:
mode:
Diffstat (limited to 'kms++/inc')
-rw-r--r--kms++/inc/kms++/connector.h2
-rw-r--r--kms++/inc/kms++/crtc.h2
-rw-r--r--kms++/inc/kms++/encoder.h2
3 files changed, 6 insertions, 0 deletions
diff --git a/kms++/inc/kms++/connector.h b/kms++/inc/kms++/connector.h
index ccd7728..3407730 100644
--- a/kms++/inc/kms++/connector.h
+++ b/kms++/inc/kms++/connector.h
@@ -14,6 +14,8 @@ class Connector : public DrmPropObject
{
friend class Card;
public:
+ void refresh();
+
Videomode get_default_mode() const;
Videomode get_mode(const std::string& mode) const;
diff --git a/kms++/inc/kms++/crtc.h b/kms++/inc/kms++/crtc.h
index 14860ba..c86fc88 100644
--- a/kms++/inc/kms++/crtc.h
+++ b/kms++/inc/kms++/crtc.h
@@ -14,6 +14,8 @@ class Crtc : public DrmPropObject
friend class Card;
friend class Connector;
public:
+ void refresh();
+
const std::vector<Plane*>& get_possible_planes() const { return m_possible_planes; }
int set_mode(Connector* conn, Framebuffer& fb, const Videomode& mode);
diff --git a/kms++/inc/kms++/encoder.h b/kms++/inc/kms++/encoder.h
index b5aac70..1d36adc 100644
--- a/kms++/inc/kms++/encoder.h
+++ b/kms++/inc/kms++/encoder.h
@@ -12,6 +12,8 @@ class Encoder : public DrmPropObject
{
friend class Card;
public:
+ void refresh();
+
Crtc* get_crtc() const;
std::vector<Crtc*> get_possible_crtcs() const;