summaryrefslogtreecommitdiff
path: root/libs/hwui/PathCache.h
diff options
context:
space:
mode:
author John Reck <jreck@google.com> 2016-08-22 15:13:01 -0700
committer John Reck <jreck@google.com> 2016-08-22 15:13:01 -0700
commit4a3b0c7587dc995e00ed4e7d7ed61544f7715d2c (patch)
tree2b476e8f9b1e0a6b7d9461045468aa50cc89f1c0 /libs/hwui/PathCache.h
parent2a739b4fabc0b221c88764cc4263375e7d507512 (diff)
parent24e38ab322a0c396df1c6fe95f3f427d85cd5da1 (diff)
resolve merge conflicts of 24e38ab to stage-aosp-master
Change-Id: I25844e17d2d6371ed786833c756051d19d0abec4
Diffstat (limited to 'libs/hwui/PathCache.h')
-rw-r--r--libs/hwui/PathCache.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/hwui/PathCache.h b/libs/hwui/PathCache.h
index 18bcc566296f..b45a2c5bf5f3 100644
--- a/libs/hwui/PathCache.h
+++ b/libs/hwui/PathCache.h
@@ -281,6 +281,12 @@ private:
bool mDebugEnabled;
+ /**
+ * Driver allocated 4k/8k/16k memory for small path cache,
+ * limit the number of PathTexture in case occupy too much memory in hardware.
+ */
+ uint32_t mTexNum;
+
sp<PathProcessor> mProcessor;
std::vector<uint32_t> mGarbage;