Searched refs:cacheTexture (Results 1 – 4 of 4) sorted by relevance
183 CacheTexture* cacheTexture = cacheTextures[i]; in flushLargeCaches() local184 if (cacheTexture->getPixelBuffer()) { in flushLargeCaches()185 cacheTexture->init(); in flushLargeCaches()188 it.value()->invalidateTextureCache(cacheTexture); in flushLargeCaches()190 cacheTexture->releasePixelBuffer(); in flushLargeCaches()255 CacheTexture* cacheTexture = cacheBitmapInTexture(*cacheTextures, glyph, &startX, &startY); in cacheBitmap() local257 if (!cacheTexture) { in cacheBitmap()262 cacheTexture = cacheBitmapInTexture(*cacheTextures, glyph, &startX, &startY); in cacheBitmap()265 if (!cacheTexture) { in cacheBitmap()271 cachedGlyph->mCacheTexture = cacheTexture; in cacheBitmap()[all …]
142 void allocateTextureMemory(CacheTexture* cacheTexture);143 void deallocateTextureMemory(CacheTexture* cacheTexture);
126 void Font::invalidateTextureCache(CacheTexture* cacheTexture) { in invalidateTextureCache() argument129 if (!cacheTexture || cachedGlyph->mCacheTexture == cacheTexture) { in invalidateTextureCache()211 CacheTexture* cacheTexture = glyph->mCacheTexture; in drawCachedGlyphBitmap() local212 PixelBuffer* pixelBuffer = cacheTexture->getPixelBuffer(); in drawCachedGlyphBitmap()216 uint32_t cacheWidth = cacheTexture->getWidth(); in drawCachedGlyphBitmap()
122 void invalidateTextureCache(CacheTexture* cacheTexture = nullptr);