From c0ac193b9415680f0a69e20a3f5f22d16f8053be Mon Sep 17 00:00:00 2001 From: Romain Guy Date: Mon, 19 Jul 2010 18:43:02 -0700 Subject: Add support for linear gradients. Change-Id: Id15329da065045b3f06fdaed615f33cd57608496 --- libs/hwui/TextureCache.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'libs/hwui/TextureCache.cpp') diff --git a/libs/hwui/TextureCache.cpp b/libs/hwui/TextureCache.cpp index ff7d7c930922..ff9e2affa95f 100644 --- a/libs/hwui/TextureCache.cpp +++ b/libs/hwui/TextureCache.cpp @@ -97,6 +97,7 @@ Texture* TextureCache::get(SkBitmap* bitmap) { } 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; } -- cgit v1.2.3-59-g8ed1b