Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/tests/microbench/
DFontBench.cpp33 FontRenderer& fontRenderer = gammaFontRenderer.getFontRenderer(); in BM_FontRenderer_precache_cachehits() local
34 fontRenderer.setFont(&paint, SkMatrix::I()); in BM_FontRenderer_precache_cachehits()
43 fontRenderer.precache(&paint, glyphs.data(), glyphs.size(), SkMatrix::I()); in BM_FontRenderer_precache_cachehits()
46 fontRenderer.precache(&paint, glyphs.data(), glyphs.size(), SkMatrix::I()); in BM_FontRenderer_precache_cachehits()
/frameworks/base/libs/hwui/tests/unit/
DTextDropShadowCacheTests.cpp34 FontRenderer& fontRenderer = gammaFontRenderer.getFontRenderer(); in RENDERTHREAD_TEST() local
35 fontRenderer.setFont(&paint, SkMatrix::I()); in RENDERTHREAD_TEST()
37 cache.setFontRenderer(fontRenderer); in RENDERTHREAD_TEST()
DFontRendererTests.cpp36 FontRenderer& fontRenderer = gammaFontRenderer.getFontRenderer(); in RENDERTHREAD_TEST() local
37 fontRenderer.setFont(&paint, SkMatrix::I()); in RENDERTHREAD_TEST()
47 auto result = fontRenderer.renderDropShadow(&paint, glyphs.data(), glyphs.size(), in RENDERTHREAD_TEST()
/frameworks/base/libs/hwui/
DCaches.cpp198 const uint32_t sizeA8 = fontRenderer.getFontRendererSize(GL_ALPHA); in dumpMemoryUsage()
199 const uint32_t sizeRGBA = fontRenderer.getFontRendererSize(GL_RGBA); in dumpMemoryUsage()
216 total += fontRenderer.getFontRendererSize(GL_ALPHA); in dumpMemoryUsage()
217 total += fontRenderer.getFontRendererSize(GL_RGBA); in dumpMemoryUsage()
242 fontRenderer.clear(); in flush()
247 fontRenderer.flush(); in flush()
DBakedOpDispatcher.cpp201 FontRenderer& fontRenderer = renderer.caches().fontRenderer.getFontRenderer(); in renderTextShadow() local
202 fontRenderer.setFont(op.paint, SkMatrix::I()); in renderTextShadow()
210 renderer.caches().dropShadowCache.setFontRenderer(fontRenderer); in renderTextShadow()
267 FontRenderer& fontRenderer = renderer.caches().fontRenderer.getFontRenderer(); in renderText() local
275 fontRenderer.setFont(op.paint, SkMatrix::I()); in renderText()
276 fontRenderer.setTextureFiltering(false); in renderText()
278 fontRenderer.setFont(op.paint, SkMatrix::I()); in renderText()
279 fontRenderer.setTextureFiltering(true); in renderText()
294 fontRenderer.setFont(op.paint, SkMatrix::MakeScale( in renderText()
297 fontRenderer.setTextureFiltering(true); in renderText()
[all …]
DTextDropShadowCache.h141 void setFontRenderer(FontRenderer& fontRenderer) { in setFontRenderer() argument
142 mRenderer = &fontRenderer; in setFontRenderer()
DOpenGLRenderer.cpp1962 FontRenderer& fontRenderer, int alpha, float x, float y) {
1972 mCaches.dropShadowCache.setFontRenderer(fontRenderer);
2122 FontRenderer& fontRenderer = mCaches.fontRenderer.getFontRenderer();
2125 fontRenderer.setFont(paint, SkMatrix::I());
2126 drawTextShadow(paint, glyphs, count, positions, fontRenderer,
2147 fontRenderer.setFont(paint, fontTransform);
2148 fontRenderer.setTextureFiltering(linearFilter);
2167 status = fontRenderer.renderPosText(&paintCopy, clip, glyphs, count, x, y,
2170 status = fontRenderer.renderPosText(paint, clip, glyphs, count, x, y,
2193 FontRenderer& fontRenderer = mCaches.fontRenderer.getFontRenderer();
[all …]
DFrameBuilder.cpp763 FontRenderer& fontRenderer = mCaches.fontRenderer.getFontRenderer(); in deferTextOp() local
766 fontRenderer.precache(op.paint, op.glyphs, op.glyphCount, SkMatrix::I()); in deferTextOp()
771 fontRenderer.precache(op.paint, op.glyphs, op.glyphCount, SkMatrix::MakeScale( in deferTextOp()
782 mCaches.fontRenderer.getFontRenderer().precache( in deferTextOnPathOp()
995 mCaches.fontRenderer.endPrecaching(); in finishDefer()
DCaches.h159 GammaFontRenderer fontRenderer; variable
DDisplayListOp.h1272 FontRenderer& fontRenderer = renderer.getCaches().fontRenderer.getFontRenderer(); in onDefer() local
1273 fontRenderer.precache(mPaint, mText, mCount, SkMatrix::I()); in onDefer()
1319 FontRenderer& fontRenderer = renderer.getCaches().fontRenderer.getFontRenderer(); in onDefer() local
1323 fontRenderer.precache(mPaint, mText, mCount, transform); in onDefer()
DOpenGLRenderer.h651 const float* positions, FontRenderer& fontRenderer, int alpha,
DDeferredDisplayList.cpp646 Caches::getInstance().fontRenderer.endPrecaching(); in flush()