commit | 8d2cf943d9c7292e54726399faefdec4a01c084b | [log] [tgz] |
---|---|---|
author | Chris Craik <ccraik@google.com> | Mon Nov 02 14:52:21 2015 -0800 |
committer | Chris Craik <ccraik@google.com> | Mon Nov 02 17:34:06 2015 -0800 |
tree | 0b73f75520a8e0847b19b016af7bf3d87dc6c08c | |
parent | 4f16073556f7978708fb71c87628cfe1692412d5 [diff] [blame] |
Add region-tracking to OffscreenBuffers Change-Id: I024c7219c080b9a89888517f5a89d49dfe8065ba
diff --git a/libs/hwui/utils/FatVector.h b/libs/hwui/utils/FatVector.h index c3c16c5a..315c249 100644 --- a/libs/hwui/utils/FatVector.h +++ b/libs/hwui/utils/FatVector.h
@@ -91,6 +91,10 @@ InlineStdAllocator<T, SIZE>(mAllocation)) { this->reserve(SIZE); } + + FatVector(size_t capacity) : FatVector() { + this->resize(capacity); + } private: typename InlineStdAllocator<T, SIZE>::Allocation mAllocation; };