diff options
author | Derek Sollenberger <djsollen@google.com> | 2013-12-10 12:28:58 -0500 |
---|---|---|
committer | Derek Sollenberger <djsollen@google.com> | 2014-05-29 16:51:23 -0400 |
commit | 139088228faa7f3c446af7387e017933998a5570 (patch) | |
tree | 33b24be0cb5793d47f77fe9eee5beceb772e6cd0 /libs/hwui/DisplayList.cpp | |
parent | 1015efb143b51a5d31f2f932528f295cfa1add1f (diff) | |
download | frameworks_base-139088228faa7f3c446af7387e017933998a5570.zip frameworks_base-139088228faa7f3c446af7387e017933998a5570.tar.gz frameworks_base-139088228faa7f3c446af7387e017933998a5570.tar.bz2 |
Update HWUI matrix API
1. more closely mirror Skia API by using const ref instead of ptrs
2. store SkMatrix in the drawOp instead of the linear allocation heap
Change-Id: I4b9f6f76b9f7d19325e29303d27b793679fd4823
Diffstat (limited to 'libs/hwui/DisplayList.cpp')
-rw-r--r-- | libs/hwui/DisplayList.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/libs/hwui/DisplayList.cpp b/libs/hwui/DisplayList.cpp index 96c6292..f418c9b 100644 --- a/libs/hwui/DisplayList.cpp +++ b/libs/hwui/DisplayList.cpp @@ -80,10 +80,6 @@ void DisplayListData::cleanupResources() { delete paths.itemAt(i); } - for (size_t i = 0; i < matrices.size(); i++) { - delete matrices.itemAt(i); - } - bitmapResources.clear(); ownedBitmapResources.clear(); patchResources.clear(); @@ -91,7 +87,6 @@ void DisplayListData::cleanupResources() { paints.clear(); regions.clear(); paths.clear(); - matrices.clear(); layers.clear(); } |