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.cpp113 fontRenderer = GammaFontRenderer::createRenderer(); in initFont()
288 for (uint32_t i = 0; i < fontRenderer->getFontRendererCount(); i++) { in dumpMemoryUsage()
289 const uint32_t sizeA8 = fontRenderer->getFontRendererSize(i, GL_ALPHA); in dumpMemoryUsage()
290 const uint32_t sizeRGBA = fontRenderer->getFontRendererSize(i, GL_RGBA); in dumpMemoryUsage()
309 for (uint32_t i = 0; i < fontRenderer->getFontRendererCount(); i++) { in dumpMemoryUsage()
310 total += fontRenderer->getFontRendererSize(i, GL_ALPHA); in dumpMemoryUsage()
311 total += fontRenderer->getFontRendererSize(i, GL_RGBA); in dumpMemoryUsage()
363 fontRenderer->clear(); in flush()
368 fontRenderer->flush(); in flush()
DTextDropShadowCache.h146 void setFontRenderer(FontRenderer& fontRenderer) { in setFontRenderer() argument
147 mRenderer = &fontRenderer; in setFontRenderer()
DOpenGLRenderer.cpp1677 mCaches.fontRenderer->describe(mDescription, paint);
1862 mCaches.fontRenderer->setupProgram(mDescription, mCaches.currentProgram);
2674 FontRenderer& fontRenderer, int alpha, float x, float y) {
2684 mCaches.dropShadowCache.setFontRenderer(fontRenderer);
2744 FontRenderer& fontRenderer = mCaches.fontRenderer->getFontRenderer(paint);
2745 fontRenderer.setFont(paint, SkMatrix::I());
2752 drawTextShadow(paint, text, bytesCount, count, positions, fontRenderer,
2761 fontRenderer.setTextureFiltering(linearFilter);
2769 if (fontRenderer.renderPosText(paint, clip, text, 0, bytesCount, count, x, y,
2831 FontRenderer& fontRenderer = mCaches.fontRenderer->getFontRenderer(paint);
[all …]
DCaches.h345 GammaFontRenderer* fontRenderer; variable
DDisplayListOp.h1318 FontRenderer& fontRenderer = renderer.getCaches().fontRenderer->getFontRenderer(paint); in onDefer() local
1319 fontRenderer.precache(paint, mText, mCount, SkMatrix::I()); in onDefer()
1384 FontRenderer& fontRenderer = renderer.getCaches().fontRenderer->getFontRenderer(paint); in onDefer() local
1388 fontRenderer.precache(paint, mText, mCount, transform); in onDefer()
DDeferredDisplayList.cpp666 Caches::getInstance().fontRenderer->endPrecaching(); in flush()
DOpenGLRenderer.h774 const float* positions, FontRenderer& fontRenderer, int alpha,