Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fc767eec authored by Noelle Scobie's avatar Noelle Scobie
Browse files

Trace whether RenderEngine is in a protected context or not

Note: this track will not appear when protected content is not supported
by the device, which is an intentional signal.

Bug: N/A
Flag: EXEMPT trivial debug tracing
Test: presubmit
Change-Id: I60075590a0bd218b207bc9fe6d523b7c095355f9
parent 6075c6ae
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -347,6 +347,7 @@ void SkiaRenderEngine::useProtectedContext(bool useProtectedContext) {
    if (useProtectedContextImpl(
            useProtectedContext ? GrProtected::kYes : GrProtected::kNo)) {
        mInProtectedContext = useProtectedContext;
        SFTRACE_INT("RE inProtectedContext", mInProtectedContext);
        // 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.
        if (getActiveContext()) {