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

Commit 7024d834 authored by Leon Scroggins III's avatar Leon Scroggins III
Browse files

HWUI: Turn on Skia tracing by default

This can provide useful information when diagnosing jank. It also
introduces a little bit of overhead, which is why we haven't turned it
on before. That said, the overhead is only relevant during tracing.

Bug: 221813628
Test: perfetto
Change-Id: I311d902797e0b9ecf53631f2f9f2df6cf4860635
parent 4207fcf3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -135,7 +135,7 @@ bool Properties::load() {
    skpCaptureEnabled = debuggingEnabled && base::GetBoolProperty(PROPERTY_CAPTURE_SKP_ENABLED, false);

    SkAndroidFrameworkTraceUtil::setEnableTracing(
            base::GetBoolProperty(PROPERTY_SKIA_ATRACE_ENABLED, false));
            base::GetBoolProperty(PROPERTY_SKIA_ATRACE_ENABLED, true));

    runningInEmulator = base::GetBoolProperty(PROPERTY_IS_EMULATOR, false);