summaryrefslogtreecommitdiffstats
path: root/libs/hwui/DisplayList.cpp
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2014-07-24 10:36:08 -0700
committerJohn Reck <jreck@google.com>2014-07-24 10:36:08 -0700
commit09d5cddf67b676018700bcc10a72242641cd7eec (patch)
tree92b8ab435be040a30ba9cb2d77246aaaca68e5a1 /libs/hwui/DisplayList.cpp
parent4f994eb2ddbe68b0eada89dcaae34c079df55c7e (diff)
downloadframeworks_base-09d5cddf67b676018700bcc10a72242641cd7eec.zip
frameworks_base-09d5cddf67b676018700bcc10a72242641cd7eec.tar.gz
frameworks_base-09d5cddf67b676018700bcc10a72242641cd7eec.tar.bz2
Add kModeSync
Bug: 16526750 Change-Id: I4c087160e80432739321172fd57880846c8de6e0
Diffstat (limited to 'libs/hwui/DisplayList.cpp')
-rw-r--r--libs/hwui/DisplayList.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/libs/hwui/DisplayList.cpp b/libs/hwui/DisplayList.cpp
index e38b532..6461ee7 100644
--- a/libs/hwui/DisplayList.cpp
+++ b/libs/hwui/DisplayList.cpp
@@ -31,7 +31,6 @@ namespace uirenderer {
DisplayListData::DisplayListData()
: projectionReceiveIndex(-1)
- , functorCount(0)
, hasDrawOps(false) {
}
@@ -41,7 +40,7 @@ DisplayListData::~DisplayListData() {
void DisplayListData::cleanupResources() {
Caches& caches = Caches::getInstance();
- caches.unregisterFunctors(functorCount);
+ caches.unregisterFunctors(functors.size());
caches.resourceCache.lock();
for (size_t i = 0; i < bitmapResources.size(); i++) {