Home
last modified time | relevance | path

Searched refs:useProtectedContext (Results 1 – 5 of 5) sorted by relevance

/frameworks/native/libs/renderengine/include/renderengine/
DRenderEngine.h173 virtual bool useProtectedContext(bool useProtectedContext) = 0;
/frameworks/native/libs/renderengine/gl/
DGLESRenderEngine.h85 bool useProtectedContext(bool useProtectedContext) override;
DGLESRenderEngine.cpp825 bool GLESRenderEngine::useProtectedContext(bool useProtectedContext) { in useProtectedContext() argument
826 if (useProtectedContext == mInProtectedContext) { in useProtectedContext()
829 if (useProtectedContext && mProtectedEGLContext == EGL_NO_CONTEXT) { in useProtectedContext()
832 const EGLSurface surface = useProtectedContext ? mProtectedDummySurface : mDummySurface; in useProtectedContext()
833 const EGLContext context = useProtectedContext ? mProtectedEGLContext : mEGLContext; in useProtectedContext()
836 mInProtectedContext = useProtectedContext; in useProtectedContext()
/frameworks/native/libs/renderengine/include/renderengine/mock/
DRenderEngine.h81 MOCK_METHOD1(useProtectedContext, bool(bool));
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp3362 renderEngine.useProtectedContext(needsProtected); in doComposeSurfaces()
5994 getRenderEngine().useProtectedContext(false); in renderScreenImplLocked()