diff options
author | 2016-12-02 10:22:57 -0800 | |
---|---|---|
committer | 2016-12-09 22:04:53 +0000 | |
commit | 03240107a54c8a0ad1e7e496c81182eb5a086f89 (patch) | |
tree | befc2f5b366936c1692a11c185e418c810dd0418 /libs/hwui/PatchCache.cpp | |
parent | ce44045d855586394e5b023d1cee69c5fd9dce6d (diff) |
Delete dead code
Test: none, it's unused code
Change-Id: If25f4f22d8f3a9819f673bacce9ad4c213dd73ed
Diffstat (limited to 'libs/hwui/PatchCache.cpp')
-rw-r--r-- | libs/hwui/PatchCache.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libs/hwui/PatchCache.cpp b/libs/hwui/PatchCache.cpp index 52c62cc34670..983c17e92266 100644 --- a/libs/hwui/PatchCache.cpp +++ b/libs/hwui/PatchCache.cpp @@ -36,8 +36,7 @@ PatchCache::PatchCache(RenderState& renderState) , mSize(0) , mCache(LruCache<PatchDescription, Patch*>::kUnlimitedCapacity) , mMeshBuffer(0) - , mFreeBlocks(nullptr) - , mGenerationId(0) {} + , mFreeBlocks(nullptr) {} PatchCache::~PatchCache() { clear(); @@ -158,7 +157,6 @@ void PatchCache::createVertexBuffer() { mMaxSize, nullptr, GL_DYNAMIC_DRAW); mSize = 0; mFreeBlocks = new BufferBlock(0, mMaxSize); - mGenerationId++; } /** |