Searched refs:CacheTexture (Results 1 - 8 of 8) sorted by relevance

/frameworks/base/libs/hwui/font/
H A DCachedGlyphInfo.h25 class CacheTexture;
52 CacheTexture* mCacheTexture;
H A DCacheTexture.cpp19 #include "CacheTexture.h"
109 // CacheTexture
112 CacheTexture::CacheTexture(uint16_t width, uint16_t height, GLenum format, uint32_t maxQuadCount) function in class:android::uirenderer::CacheTexture
130 CacheTexture::~CacheTexture() {
136 void CacheTexture::reset() {
147 void CacheTexture::init() {
154 void CacheTexture::releaseMesh() {
158 void CacheTexture
[all...]
H A DCacheTexture.h36 * CacheBlock is a node in a linked list of current free space areas in a CacheTexture.
74 class CacheTexture { class in namespace:android::uirenderer
76 CacheTexture(uint16_t width, uint16_t height, GLenum format, uint32_t maxQuadCount);
77 ~CacheTexture();
H A DFont.h41 class CacheTexture;
122 void invalidateTextureCache(CacheTexture* cacheTexture = nullptr);
H A DFont.cpp126 void Font::invalidateTextureCache(CacheTexture* cacheTexture) {
211 CacheTexture* cacheTexture = glyph->mCacheTexture;
/frameworks/base/libs/hwui/
H A DFontRenderer.h21 #include "font/CacheTexture.h"
80 void draw(CacheTexture& texture, bool linearFiltering);
102 void flushLargeCaches(std::vector<CacheTexture*>& cacheTextures);
142 void allocateTextureMemory(CacheTexture* cacheTexture);
143 void deallocateTextureMemory(CacheTexture* cacheTexture);
145 CacheTexture* createCacheTexture(int width, int height, GLenum format, bool allocate);
148 CacheTexture* cacheBitmapInTexture(std::vector<CacheTexture*>& cacheTextures, const SkGlyph& glyph,
157 void issueDrawCommand(std::vector<CacheTexture*>& cacheTextures);
162 float x4, float y4, float u4, float v4, CacheTexture* textur
[all...]
H A DFontRenderer.cpp59 void TextDrawFunctor::draw(CacheTexture& texture, bool linearFiltering) {
143 void clearCacheTextures(std::vector<CacheTexture*>& cacheTextures) {
180 void FontRenderer::flushLargeCaches(std::vector<CacheTexture*>& cacheTextures) {
183 CacheTexture* cacheTexture = cacheTextures[i];
200 CacheTexture* FontRenderer::cacheBitmapInTexture(std::vector<CacheTexture*>& cacheTextures,
227 std::vector<CacheTexture*>* cacheTextures = nullptr;
255 CacheTexture* cacheTexture = cacheBitmapInTexture(*cacheTextures, glyph, &startX, &startY);
390 CacheTexture* FontRenderer::createCacheTexture(int width, int height, GLenum format,
392 CacheTexture* cacheTextur
[all...]
H A DAndroid.mk13 font/CacheTexture.cpp \

Completed in 497 milliseconds