summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorfu jin <fu.jin@intel.com>2013-11-26 10:57:00 -0800
committerbuildslave <buildslave@buildbot.tl.intel.com>2013-12-07 13:15:06 +0000
commit3555e1ff071400446170ddc209bbb9fa0e40c502 (patch)
treefbd7ba8725ef37cfeb1c5251486fc886a0f1f8bf /include
parent7d844a25e080c4e2da2735f2af381b40b19d5fc4 (diff)
downloadhwcomposer-3555e1ff071400446170ddc209bbb9fa0e40c502.tar.gz
fix gtt memory leak
BZ:153733 gtt memory is not unmapped, which causes leak. This patch fix it. Change-Id: I8b535c43cb538858f0df5e6682ee3cd119a9d0a4 Signed-off-by: fu jin <fu.jin@intel.com>
Diffstat (limited to 'include')
-rw-r--r--include/BufferMapper.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/BufferMapper.h b/include/BufferMapper.h
index c179a56..aaa6336 100644
--- a/include/BufferMapper.h
+++ b/include/BufferMapper.h
@@ -68,7 +68,8 @@ public:
virtual void* getCpuAddress(int subIndex) const = 0;
virtual uint32_t getSize(int subIndex) const = 0;
virtual uint32_t getKHandle(int subIndex) = 0;
-
+ virtual uint32_t getFbHandle(int subIndex) = 0;
+ virtual void putFbHandle() = 0;
private:
int mRefCount;
};