Home
last modified time | relevance | path

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

/aosp12/frameworks/native/libs/renderengine/skia/
H A DSkiaGLRenderEngine.h65 bool isProtected() const override { return mInProtectedContext; } in isProtected()
154 bool mInProtectedContext = false; variable
H A DSkiaGLRenderEngine.cpp374 return mInProtectedContext ? mProtectedGrContext.get() : mGrContext.get(); in getActiveGrContext()
378 if (useProtectedContext == mInProtectedContext || in useProtectedContext()
393 mInProtectedContext = useProtectedContext; in useProtectedContext()
572 const bool inProtected = mInProtectedContext; in unmapExternalTextureBuffer()
582 if (inProtected != mInProtectedContext) { in unmapExternalTextureBuffer()
1428 const bool originalProtectedState = mInProtectedContext; in onActiveDisplaySizeChanged()
1429 useProtectedContext(!mInProtectedContext); in onActiveDisplaySizeChanged()
1430 if (mInProtectedContext != originalProtectedState) { in onActiveDisplaySizeChanged()
1448 StringAppendF(&result, "RenderEngine is in protected context: %d\n", mInProtectedContext); in dump()
/aosp12/frameworks/native/libs/renderengine/gl/
H A DGLESRenderEngine.h63 bool isProtected() const override { return mInProtectedContext; } in isProtected()
219 bool mInProtectedContext = false; variable
H A DGLESRenderEngine.cpp519 ProgramCache::getInstance().primeCache(mInProtectedContext ? mProtectedEGLContext : mEGLContext, in primeCache()
1032 if (useProtectedContext == mInProtectedContext || in useProtectedContext()
1040 mInProtectedContext = useProtectedContext; in useProtectedContext()
1540 ProgramCache::getInstance().useProgram(mInProtectedContext ? mProtectedEGLContext : mEGLContext, in drawMesh()
1590 StringAppendF(&result, "RenderEngine is in protected context: %d\n", mInProtectedContext); in dump()
/aosp12/frameworks/av/media/libstagefright/renderfright/gl/
H A DGLESRenderEngine.h71 bool isProtected() const override { return mInProtectedContext; } in isProtected()
207 bool mInProtectedContext = false; variable
H A 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()