Loading libs/renderengine/skia/SkiaRenderEngine.cpp +1 −0 Original line number Original line Diff line number Diff line Loading @@ -347,6 +347,7 @@ void SkiaRenderEngine::useProtectedContext(bool useProtectedContext) { if (useProtectedContextImpl( if (useProtectedContextImpl( useProtectedContext ? GrProtected::kYes : GrProtected::kNo)) { useProtectedContext ? GrProtected::kYes : GrProtected::kNo)) { mInProtectedContext = useProtectedContext; mInProtectedContext = useProtectedContext; SFTRACE_INT("RE inProtectedContext", mInProtectedContext); // given that we are sharing the same thread between two contexts we need to // given that we are sharing the same thread between two contexts we need to // make sure that the thread state is reset when switching between the two. // make sure that the thread state is reset when switching between the two. if (getActiveContext()) { if (getActiveContext()) { Loading Loading
libs/renderengine/skia/SkiaRenderEngine.cpp +1 −0 Original line number Original line Diff line number Diff line Loading @@ -347,6 +347,7 @@ void SkiaRenderEngine::useProtectedContext(bool useProtectedContext) { if (useProtectedContextImpl( if (useProtectedContextImpl( useProtectedContext ? GrProtected::kYes : GrProtected::kNo)) { useProtectedContext ? GrProtected::kYes : GrProtected::kNo)) { mInProtectedContext = useProtectedContext; mInProtectedContext = useProtectedContext; SFTRACE_INT("RE inProtectedContext", mInProtectedContext); // given that we are sharing the same thread between two contexts we need to // given that we are sharing the same thread between two contexts we need to // make sure that the thread state is reset when switching between the two. // make sure that the thread state is reset when switching between the two. if (getActiveContext()) { if (getActiveContext()) { Loading