Searched refs:cacheTexture (Results 1 – 4 of 4) sorted by relevance
177 CacheTexture* cacheTexture = cacheTextures[i]; in flushLargeCaches() local178 if (cacheTexture->getPixelBuffer()) { in flushLargeCaches()179 cacheTexture->init(); in flushLargeCaches()181 mHistoryTracker.glyphsCleared(cacheTexture); in flushLargeCaches()185 it.value()->invalidateTextureCache(cacheTexture); in flushLargeCaches()187 cacheTexture->releasePixelBuffer(); in flushLargeCaches()252 CacheTexture* cacheTexture = cacheBitmapInTexture(*cacheTextures, glyph, &startX, &startY); in cacheBitmap() local254 if (!cacheTexture) { in cacheBitmap()259 cacheTexture = cacheBitmapInTexture(*cacheTextures, glyph, &startX, &startY); in cacheBitmap()262 if (!cacheTexture) { in cacheBitmap()[all …]
134 void allocateTextureMemory(CacheTexture* cacheTexture);135 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()
124 void invalidateTextureCache(CacheTexture* cacheTexture = nullptr);