Lines Matching refs:Texture
24 #include "Texture.h"
100 * Any texture added to the cache causing the cache to grow beyond the maximum
101 * allowed size will also cause the oldest texture to be kicked out.
103 class GradientCache: public OnEntryRemoved<GradientCacheEntry, Texture*> {
113 void operator()(GradientCacheEntry& shader, Texture*& texture);
116 * Returns the texture associated with the specified shader.
118 Texture* get(uint32_t* colors, float* positions,
140 * Adds a new linear gradient to the cache. The generated texture is
143 Texture* addLinearGradient(GradientCacheEntry& gradient,
147 void generateTexture(SkBitmap* bitmap, Texture* texture);
149 GenerationCache<GradientCacheEntry, Texture*> mCache;