Skip to content

Commit 0c638dc

Browse files
Treehugger RobotAndroid (Google) Code Review
authored andcommitted
Merge "Trace whether RenderEngine is in a protected context or not" into main
2 parents ea29e90 + fc767ee commit 0c638dc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libs/renderengine/skia/SkiaRenderEngine.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,7 @@ void SkiaRenderEngine::useProtectedContext(bool useProtectedContext) {
347347
if (useProtectedContextImpl(
348348
useProtectedContext ? GrProtected::kYes : GrProtected::kNo)) {
349349
mInProtectedContext = useProtectedContext;
350+
SFTRACE_INT("RE inProtectedContext", mInProtectedContext);
350351
// given that we are sharing the same thread between two contexts we need to
351352
// make sure that the thread state is reset when switching between the two.
352353
if (getActiveContext()) {

0 commit comments

Comments
 (0)