Lines Matching full:texture
25 #include "Texture.h"
101 * Any texture added to the cache causing the cache to grow beyond the maximum
102 * allowed size will also cause the oldest texture to be kicked out.
104 class GradientCache: public OnEntryRemoved<GradientCacheEntry, Texture*> {
114 void operator()(GradientCacheEntry& shader, Texture*& texture);
117 * Returns the texture associated with the specified shader.
119 Texture* get(uint32_t* colors, float* positions,
141 * Adds a new linear gradient to the cache. The generated texture is
144 Texture* addLinearGradient(GradientCacheEntry& gradient,
148 void generateTexture(SkBitmap* bitmap, Texture* texture);
150 GenerationCache<GradientCacheEntry, Texture*> mCache;