summaryrefslogtreecommitdiff
path: root/drmdisplaycomposition.cpp
diff options
context:
space:
mode:
authorZach Reizner <zachr@google.com>2015-07-30 08:10:14 -0700
committerZach Reizner <zachr@google.com>2015-08-07 15:49:33 -0700
commit46ddd45e334b61e15a86cc333cc35e8cb64fc0b8 (patch)
tree3aec1b4002054502288f50e386e75fce7a409fcb /drmdisplaycomposition.cpp
parent459a5a9ccd014224882e5522d2957aba10413691 (diff)
downloaddrm_hwcomposer-46ddd45e334b61e15a86cc333cc35e8cb64fc0b8.tar.gz
drm_hwcomposer-46ddd45e334b61e15a86cc333cc35e8cb64fc0b8.tar.xz
drm_hwcomposer: fix buffer leak when using the GL compositor inside DrmDisplayCompositor
Change-Id: Id3a6deea9fc0f97640b34dacb25d36f3793f2d4e
Diffstat (limited to 'drmdisplaycomposition.cpp')
-rw-r--r--drmdisplaycomposition.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/drmdisplaycomposition.cpp b/drmdisplaycomposition.cpp
index 21a9c2a..c76a23c 100644
--- a/drmdisplaycomposition.cpp
+++ b/drmdisplaycomposition.cpp
@@ -171,4 +171,8 @@ DrmCompositionLayerVector_t *DrmDisplayComposition::GetCompositionLayers() {
uint32_t DrmDisplayComposition::dpms_mode() const {
return dpms_mode_;
}
+
+Importer *DrmDisplayComposition::importer() const {
+ return importer_;
+}
}