Home
last modified time | relevance | path

Searched refs:fontRenderer (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/libs/hwui/
DGammaFontRenderer.h38 virtual uint32_t getFontRendererSize(uint32_t fontRenderer, GLenum format) const = 0;
84 uint32_t getFontRendererSize(uint32_t fontRenderer, GLenum format) const { in getFontRendererSize() argument
131 uint32_t getFontRendererSize(uint32_t fontRenderer, GLenum format) const { in getFontRendererSize() argument
165 uint32_t getFontRendererSize(uint32_t fontRenderer, GLenum format) const { in getFontRendererSize() argument
166 if (fontRenderer >= kGammaCount) return 0; in getFontRendererSize()
168 FontRenderer* renderer = mRenderers[fontRenderer]; in getFontRendererSize()
DCaches.cpp115 fontRenderer = GammaFontRenderer::createRenderer(); in initFont()
301 for (uint32_t i = 0; i < fontRenderer->getFontRendererCount(); i++) { in dumpMemoryUsage()
302 const uint32_t sizeA8 = fontRenderer->getFontRendererSize(i, GL_ALPHA); in dumpMemoryUsage()
303 const uint32_t sizeRGBA = fontRenderer->getFontRendererSize(i, GL_RGBA); in dumpMemoryUsage()
320 for (uint32_t i = 0; i < fontRenderer->getFontRendererCount(); i++) { in dumpMemoryUsage()
321 total += fontRenderer->getFontRendererSize(i, GL_ALPHA); in dumpMemoryUsage()
322 total += fontRenderer->getFontRendererSize(i, GL_RGBA); in dumpMemoryUsage()
353 fontRenderer->clear(); in flush()
358 fontRenderer->flush(); in flush()
DTextDropShadowCache.h146 void setFontRenderer(FontRenderer& fontRenderer) { in setFontRenderer() argument
147 mRenderer = &fontRenderer; in setFontRenderer()
DOpenGLRenderer.cpp1629 mCaches.fontRenderer->describe(mDescription, paint);
1807 mCaches.fontRenderer->setupProgram(mDescription, mCaches.currentProgram);
2621 FontRenderer& fontRenderer, int alpha, float x, float y) {
2631 mCaches.dropShadowCache.setFontRenderer(fontRenderer);
2691 FontRenderer& fontRenderer = mCaches.fontRenderer->getFontRenderer(paint);
2692 fontRenderer.setFont(paint, SkMatrix::I());
2699 drawTextShadow(paint, text, bytesCount, count, positions, fontRenderer,
2708 fontRenderer.setTextureFiltering(linearFilter);
2716 if (fontRenderer.renderPosText(paint, clip, text, 0, bytesCount, count, x, y,
2778 FontRenderer& fontRenderer = mCaches.fontRenderer->getFontRenderer(paint);
[all …]
DCaches.h344 GammaFontRenderer* fontRenderer; variable
DDisplayListOp.h1315 FontRenderer& fontRenderer = renderer.getCaches().fontRenderer->getFontRenderer(paint); in onDefer() local
1316 fontRenderer.precache(paint, mText, mCount, SkMatrix::I()); in onDefer()
1381 FontRenderer& fontRenderer = renderer.getCaches().fontRenderer->getFontRenderer(paint); in onDefer() local
1385 fontRenderer.precache(paint, mText, mCount, transform); in onDefer()
DDeferredDisplayList.cpp666 Caches::getInstance().fontRenderer->endPrecaching(); in flush()
DOpenGLRenderer.h771 const float* positions, FontRenderer& fontRenderer, int alpha,