commit | c0ac193b9415680f0a69e20a3f5f22d16f8053be | [log] [tgz] |
---|---|---|
author | Romain Guy <romainguy@google.com> | Mon Jul 19 18:43:02 2010 -0700 |
committer | Romain Guy <romainguy@google.com> | Mon Jul 19 18:44:05 2010 -0700 |
tree | 9a1d680ad20ba3f6ec0924c6b445290696d63b8c | |
parent | 9d339c13aaa30ddfd51d0f13f8ab22af05e40ea0 [diff] [blame] |
Add support for linear gradients. Change-Id: Id15329da065045b3f06fdaed615f33cd57608496
diff --git a/libs/hwui/TextureCache.cpp b/libs/hwui/TextureCache.cpp index ff7d7c9..ff9e2aff 100644 --- a/libs/hwui/TextureCache.cpp +++ b/libs/hwui/TextureCache.cpp
@@ -97,6 +97,7 @@ } else if (bitmap->getGenerationID() != texture->generation) { generateTexture(bitmap, texture, true); } + // TODO: Do something to destroy the texture object if it's too big for the cache return texture; }