diff options
| author | 2015-01-27 15:46:35 -0800 | |
|---|---|---|
| committer | 2015-01-28 16:32:39 -0800 | |
| commit | 96a5c4c7bab6718524de7253da8309143ab48bef (patch) | |
| tree | c984108195579a6da2aa8ccadded7ec46104d4a4 /libs/hwui/PatchCache.h | |
| parent | 06a8a121b0dc02bea7977c4112eb4319fd1a133f (diff) | |
Move more GL state management to RenderState and its directory
Change-Id: Ic68584e1c08dc64be2ad43450cb6caa1de834fdc
Diffstat (limited to 'libs/hwui/PatchCache.h')
| -rw-r--r-- | libs/hwui/PatchCache.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libs/hwui/PatchCache.h b/libs/hwui/PatchCache.h index 4cb533841ee1..e038720ae03f 100644 --- a/libs/hwui/PatchCache.h +++ b/libs/hwui/PatchCache.h @@ -51,9 +51,9 @@ class Caches; class PatchCache { public: - PatchCache(); + PatchCache(RenderState& renderState); ~PatchCache(); - void init(Caches& caches); + void init(); const Patch* get(const AssetAtlas::Entry* entry, const uint32_t bitmapWidth, const uint32_t bitmapHeight, @@ -168,6 +168,7 @@ private: void dumpFreeBlocks(const char* prefix); #endif + RenderState& mRenderState; uint32_t mMaxSize; uint32_t mSize; |