Home
last modified time | relevance | path

Searched refs:CacheTexture (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/libs/hwui/
DFontRenderer.h71 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);
140CacheTexture* 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 …]
DFontRenderer.cpp51 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 …]
DAndroid.mk14 font/CacheTexture.cpp \
/frameworks/base/libs/hwui/font/
DCacheTexture.cpp112 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 …]
DFontCacheHistoryTracker.h25 class CacheTexture; variable
33 void glyphUploaded(CacheTexture*, uint32_t x, uint32_t y, uint16_t glyphW, uint16_t glyphH);
34 void glyphsCleared(CacheTexture*);
DCachedGlyphInfo.h23 class CacheTexture; variable
50 CacheTexture* mCacheTexture;
DCacheTexture.h74 class CacheTexture {
76 CacheTexture(uint16_t width, uint16_t height, GLenum format, uint32_t maxQuadCount);
77 ~CacheTexture();
DFontCacheHistoryTracker.cpp75 void FontCacheHistoryTracker::glyphUploaded(CacheTexture* texture, uint32_t x, uint32_t y, in glyphUploaded()
86 void FontCacheHistoryTracker::glyphsCleared(CacheTexture* texture) { in glyphsCleared()
DFont.h43 class CacheTexture; variable
124 void invalidateTextureCache(CacheTexture* cacheTexture = nullptr);
DFont.cpp126 void Font::invalidateTextureCache(CacheTexture* cacheTexture) { in invalidateTextureCache()
211 CacheTexture* cacheTexture = glyph->mCacheTexture; in drawCachedGlyphBitmap()