Searched refs:cacheTexture (Results 1 – 4 of 4) sorted by relevance
191 CacheTexture* cacheTexture = cacheTextures[i]; in flushLargeCaches() local192 if (cacheTexture->getPixelBuffer()) { in flushLargeCaches()193 cacheTexture->init(); in flushLargeCaches()196 it.value()->invalidateTextureCache(cacheTexture); in flushLargeCaches()198 cacheTexture->releaseTexture(); in flushLargeCaches()263 CacheTexture* cacheTexture = cacheBitmapInTexture(*cacheTextures, glyph, &startX, &startY); in cacheBitmap() local265 if (!cacheTexture) { in cacheBitmap()270 cacheTexture = cacheBitmapInTexture(*cacheTextures, glyph, &startX, &startY); in cacheBitmap()273 if (!cacheTexture) { in cacheBitmap()279 cachedGlyph->mCacheTexture = cacheTexture; in cacheBitmap()[all …]
145 void allocateTextureMemory(CacheTexture* cacheTexture);146 void deallocateTextureMemory(CacheTexture* cacheTexture);
132 void Font::invalidateTextureCache(CacheTexture* cacheTexture) { in invalidateTextureCache() argument135 if (!cacheTexture || cachedGlyph->mCacheTexture == cacheTexture) { in invalidateTextureCache()217 CacheTexture* cacheTexture = glyph->mCacheTexture; in drawCachedGlyphBitmap() local218 PixelBuffer* pixelBuffer = cacheTexture->getPixelBuffer(); in drawCachedGlyphBitmap()222 uint32_t cacheWidth = cacheTexture->getWidth(); in drawCachedGlyphBitmap()
122 void invalidateTextureCache(CacheTexture* cacheTexture = NULL);