Searched refs:CacheTexture (Results 1 – 10 of 10) sorted by relevance
/frameworks/base/libs/hwui/ |
D | FontRenderer.h | 71 void draw(CacheTexture& texture, bool linearFiltering); 89 void flushLargeCaches(std::vector<CacheTexture*>& cacheTextures); 134 void allocateTextureMemory(CacheTexture* cacheTexture); 135 void deallocateTextureMemory(CacheTexture* cacheTexture); 137 CacheTexture* createCacheTexture(int width, int height, GLenum format, bool allocate); 140 …CacheTexture* cacheBitmapInTexture(std::vector<CacheTexture*>& cacheTextures, const SkGlyph& glyph, 149 void issueDrawCommand(std::vector<CacheTexture*>& cacheTextures); 154 float x4, float y4, float u4, float v4, CacheTexture* texture); 158 float x4, float y4, float u4, float v4, CacheTexture* texture); 162 float x4, float y4, float u4, float v4, CacheTexture* texture); [all …]
|
D | FontRenderer.cpp | 51 void TextDrawFunctor::draw(CacheTexture& texture, bool linearFiltering) { in draw() 130 void clearCacheTextures(std::vector<CacheTexture*>& cacheTextures) { in clearCacheTextures() 174 void FontRenderer::flushLargeCaches(std::vector<CacheTexture*>& cacheTextures) { in flushLargeCaches() 177 CacheTexture* cacheTexture = cacheTextures[i]; in flushLargeCaches() 197 CacheTexture* FontRenderer::cacheBitmapInTexture(std::vector<CacheTexture*>& cacheTextures, in cacheBitmapInTexture() 224 std::vector<CacheTexture*>* cacheTextures = nullptr; in cacheBitmap() 252 CacheTexture* cacheTexture = cacheBitmapInTexture(*cacheTextures, glyph, &startX, &startY); in cacheBitmap() 390 CacheTexture* FontRenderer::createCacheTexture(int width, int height, GLenum format, in createCacheTexture() 392 CacheTexture* cacheTexture = new CacheTexture(width, height, format, kMaxNumberOfQuads); in createCacheTexture() 434 void checkTextureUpdateForCache(Caches& caches, std::vector<CacheTexture*>& cacheTextures, in checkTextureUpdateForCache() [all …]
|
D | Android.mk | 14 font/CacheTexture.cpp \
|
/frameworks/base/libs/hwui/font/ |
D | CacheTexture.cpp | 112 CacheTexture::CacheTexture(uint16_t width, uint16_t height, GLenum format, uint32_t maxQuadCount) in CacheTexture() function in android::uirenderer::CacheTexture 130 CacheTexture::~CacheTexture() { in ~CacheTexture() 136 void CacheTexture::reset() { in reset() 147 void CacheTexture::init() { in init() 154 void CacheTexture::releaseMesh() { in releaseMesh() 158 void CacheTexture::releasePixelBuffer() { in releasePixelBuffer() 168 void CacheTexture::setLinearFiltering(bool linearFiltering) { in setLinearFiltering() 172 void CacheTexture::allocateMesh() { in allocateMesh() 178 void CacheTexture::allocatePixelBuffer() { in allocatePixelBuffer() 193 bool CacheTexture::upload() { in upload() [all …]
|
D | FontCacheHistoryTracker.h | 25 class CacheTexture; variable 33 void glyphUploaded(CacheTexture*, uint32_t x, uint32_t y, uint16_t glyphW, uint16_t glyphH); 34 void glyphsCleared(CacheTexture*);
|
D | CachedGlyphInfo.h | 23 class CacheTexture; variable 50 CacheTexture* mCacheTexture;
|
D | CacheTexture.h | 74 class CacheTexture { 76 CacheTexture(uint16_t width, uint16_t height, GLenum format, uint32_t maxQuadCount); 77 ~CacheTexture();
|
D | FontCacheHistoryTracker.cpp | 75 void FontCacheHistoryTracker::glyphUploaded(CacheTexture* texture, uint32_t x, uint32_t y, in glyphUploaded() 86 void FontCacheHistoryTracker::glyphsCleared(CacheTexture* texture) { in glyphsCleared()
|
D | Font.h | 43 class CacheTexture; variable 124 void invalidateTextureCache(CacheTexture* cacheTexture = nullptr);
|
D | Font.cpp | 126 void Font::invalidateTextureCache(CacheTexture* cacheTexture) { in invalidateTextureCache() 211 CacheTexture* cacheTexture = glyph->mCacheTexture; in drawCachedGlyphBitmap()
|