Home
last modified time | relevance | path

Searched refs:mStateFont (Results 1 – 4 of 4) sorted by relevance

/frameworks/rs/
DrsScriptC_LibGL.cpp216 rsc->mStateFont.renderText(text, allocSize, x, y); in rsrDrawTextAlloc()
222 rsc->mStateFont.renderText(text, textLen, x, y); in rsrDrawText()
247 rsc->mStateFont.measureText(text, textLen, &metrics); in rsrMeasureTextAlloc()
256 rsc->mStateFont.measureText(text, textLen, &metrics); in rsrMeasureText()
266 rsc->mStateFont.setFontColor(r, g, b, a); in rsrFontColor()
DrsContext.cpp216 mStateFont.getFontColor(&oldR, &oldG, &oldB, &oldA); in displayDebugStats()
222 mStateFont.setFontColor(shadowCol, shadowCol, shadowCol, 1.0f); in displayDebugStats()
223 mStateFont.renderText(buffer, bufferLen, 5, getHeight() - 6); in displayDebugStats()
225 mStateFont.setFontColor(1.0f, 0.7f, 0.0f, 1.0f); in displayDebugStats()
226 mStateFont.renderText(buffer, bufferLen, 4, getHeight() - 7); in displayDebugStats()
229 mStateFont.setFontColor(oldR, oldG, oldB, oldA); in displayDebugStats()
292 rsc->mStateFont.init(rsc); in threadProc()
379 mStateFont.deinit(this); in destroyWorkerThreadResources()
666 mFont.set(mStateFont.mDefault); in setFont()
DrsFont.cpp49 … error = FT_New_Memory_Face(mRSC->mStateFont.getLib(), (const FT_Byte*)data, dataLen, 0, &mFace); in init()
51 error = FT_New_Face(mRSC->mStateFont.getLib(), name, 0, &mFace); in init()
77 auto& activeFonts = mRSC->mStateFont.mActiveFonts; in preDestroy()
93 FontState *state = &mRSC->mStateFont; in drawCachedGlyph()
120 FontState *state = &mRSC->mStateFont; in drawCachedGlyph()
258 FontState *state = &mRSC->mStateFont; in updateGlyphCache()
297 rsc->mStateFont.checkInit(); in create()
298 auto& activeFonts = rsc->mStateFont.mActiveFonts; in create()
311 rsc->mStateFont.precacheLatin(newFont); in create()
DrsContext.h125 FontState mStateFont; variable
180 return mStateFont.mDefault.get(); in getDefaultFont()