Home
last modified time | relevance | path

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

/frameworks/native/libs/renderengine/skia/
DSkiaRenderEngine.h101 bool isProtected() const { return mInProtectedContext; } in isProtected()
193 bool mInProtectedContext = false; variable
DSkiaRenderEngine.cpp320 if (useProtectedContext == mInProtectedContext || in useProtectedContext()
333 mInProtectedContext = useProtectedContext; in useProtectedContext()
343 return mInProtectedContext ? mProtectedContext.get() : mContext.get(); in getActiveContext()
465 const bool inProtected = mInProtectedContext; in unmapExternalTextureBuffer()
475 if (inProtected != mInProtectedContext) { in unmapExternalTextureBuffer()
1211 const bool originalProtectedState = mInProtectedContext; in onActiveDisplaySizeChanged()
1212 useProtectedContext(!mInProtectedContext); in onActiveDisplaySizeChanged()
1213 if (mInProtectedContext != originalProtectedState) { in onActiveDisplaySizeChanged()
1227 StringAppendF(&result, "RenderEngine is in protected context: %d\n", mInProtectedContext); in dump()
/frameworks/av/media/libstagefright/renderfright/gl/
DGLESRenderEngine.h71 bool isProtected() const override { return mInProtectedContext; } in isProtected()
207 bool mInProtectedContext = false; variable
DGLESRenderEngine.cpp458 ProgramCache::getInstance().primeCache(mInProtectedContext ? mProtectedEGLContext : mEGLContext, in primeCache()
973 if (useProtectedContext == mInProtectedContext) { in useProtectedContext()
983 mInProtectedContext = useProtectedContext; in useProtectedContext()
1461 ProgramCache::getInstance().useProgram(mInProtectedContext ? mProtectedEGLContext : mEGLContext, in drawMesh()
1511 StringAppendF(&result, "RenderEngine is in protected context: %d\n", mInProtectedContext); in dump()