summaryrefslogtreecommitdiff
path: root/kms++util/inc
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2020-05-17 21:36:59 +0300
committerGitHub <noreply@github.com>2020-05-17 21:36:59 +0300
commit0d1709762320459496c55a2dac09974caa7a0ba5 (patch)
treee08f73a594c079bd4742c709e318f9a0279be526 /kms++util/inc
parent36f42004d8f084775efd92a559996ecaeefb0cda (diff)
parent1a651be7a46073b1095a492d497bd089e9242087 (diff)
Merge pull request #53 from matthoosier-garmin/resmgr-release-methods
resmgr: add release() methods
Diffstat (limited to 'kms++util/inc')
-rw-r--r--kms++util/inc/kms++util/resourcemanager.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/kms++util/inc/kms++util/resourcemanager.h b/kms++util/inc/kms++util/resourcemanager.h
index 1b5cf21..3301da2 100644
--- a/kms++util/inc/kms++util/resourcemanager.h
+++ b/kms++util/inc/kms++util/resourcemanager.h
@@ -14,13 +14,16 @@ public:
Card& card() const { return m_card; }
Connector* reserve_connector(const std::string& name = "");
Connector* reserve_connector(Connector* conn);
+ void release_connector(Connector* conn);
Crtc* reserve_crtc(Connector* conn);
Crtc* reserve_crtc(Crtc* crtc);
+ void release_crtc(Crtc* crtc);
Plane* reserve_plane(Crtc* crtc, PlaneType type, PixelFormat format = PixelFormat::Undefined);
Plane* reserve_plane(Plane* plane);
Plane* reserve_generic_plane(Crtc* crtc, PixelFormat format = PixelFormat::Undefined);
Plane* reserve_primary_plane(Crtc* crtc, PixelFormat format = PixelFormat::Undefined);
Plane* reserve_overlay_plane(Crtc* crtc, PixelFormat format = PixelFormat::Undefined);
+ void release_plane(Plane* plane);
private:
Card& m_card;