Searched refs:mStateFont (Results 1 – 4 of 4) sorted by relevance
/frameworks/rs/ |
D | rsContext.cpp | 191 mStateFont.getFontColor(&oldR, &oldG, &oldB, &oldA); in displayDebugStats() 197 mStateFont.setFontColor(shadowCol, shadowCol, shadowCol, 1.0f); in displayDebugStats() 198 mStateFont.renderText(buffer, bufferLen, 5, getHeight() - 6); in displayDebugStats() 200 mStateFont.setFontColor(1.0f, 0.7f, 0.0f, 1.0f); in displayDebugStats() 201 mStateFont.renderText(buffer, bufferLen, 4, getHeight() - 7); in displayDebugStats() 204 mStateFont.setFontColor(oldR, oldG, oldB, oldA); in displayDebugStats() 244 rsc->mStateFont.init(rsc); in threadProc() 333 mStateFont.deinit(this); in destroyWorkerThreadResources() 562 mFont.set(mStateFont.mDefault); in setFont()
|
D | rsFont.cpp | 49 … 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 for (uint32_t ct = 0; ct < mRSC->mStateFont.mActiveFonts.size(); ct++) { in preDestroy() 78 if (mRSC->mStateFont.mActiveFonts[ct] == this) { in preDestroy() 79 mRSC->mStateFont.mActiveFonts.removeAt(ct); in preDestroy() 92 FontState *state = &mRSC->mStateFont; in drawCachedGlyph() 119 FontState *state = &mRSC->mStateFont; in drawCachedGlyph() 257 FontState *state = &mRSC->mStateFont; in updateGlyphCache() 296 rsc->mStateFont.checkInit(); in create() 297 Vector<Font*> &activeFonts = rsc->mStateFont.mActiveFonts; in create() [all …]
|
D | rsScriptC_LibGL.cpp | 290 rsc->mStateFont.renderText(text, allocSize, x, y); in rsrDrawTextAlloc() 295 rsc->mStateFont.renderText(text, textLen, x, y); in rsrDrawText() 320 rsc->mStateFont.measureText(text, textLen, &metrics); in rsrMeasureTextAlloc() 328 rsc->mStateFont.measureText(text, textLen, &metrics); in rsrMeasureText() 338 rsc->mStateFont.setFontColor(r, g, b, a); in rsrFontColor()
|
D | rsContext.h | 99 FontState mStateFont; variable 153 return mStateFont.mDefault.get(); in getDefaultFont()
|