commit | fb8b763f762ae21923c58d64caa729b012f40e05 | [log] [tgz] |
---|---|---|
author | Romain Guy <romainguy@google.com> | Mon Aug 23 21:05:08 2010 -0700 |
committer | Romain Guy <romainguy@google.com> | Tue Aug 24 17:18:14 2010 -0700 |
tree | 013792d41f32bff4dd35e6d53eebac711c513729 | |
parent | a1f1174b396cda7bdff469a2e974a737600c5eb0 [diff] [blame] |
Use only one GL context per process, share chaches. Change-Id: Ieabaa25338d2f4b8d4fd90e7401ad6e7452eae11
diff --git a/libs/hwui/GradientCache.h b/libs/hwui/GradientCache.h index 12c8a23..8795920 100644 --- a/libs/hwui/GradientCache.h +++ b/libs/hwui/GradientCache.h
@@ -32,6 +32,7 @@ */ class GradientCache: public OnEntryRemoved<SkShader*, Texture*> { public: + GradientCache(); GradientCache(uint32_t maxByteSize); ~GradientCache();