summaryrefslogtreecommitdiff
path: root/libs/hwui/Properties.cpp
diff options
context:
space:
mode:
author Leon Scroggins III <scroggo@google.com> 2022-03-10 16:12:27 -0500
committer Leon Scroggins III <scroggo@google.com> 2022-03-10 16:12:27 -0500
commit7024d83459ec847b57527332d86fc12022b87227 (patch)
tree551a4115856fda1eb2441be63b691ef59987d812 /libs/hwui/Properties.cpp
parent4207fcf360998d0c6717f430c00aab13e5de80b9 (diff)
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
Diffstat (limited to 'libs/hwui/Properties.cpp')
-rw-r--r--libs/hwui/Properties.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/Properties.cpp b/libs/hwui/Properties.cpp
index bcfe9c3ecab4..30ca7d155c4c 100644
--- a/libs/hwui/Properties.cpp
+++ b/libs/hwui/Properties.cpp
@@ -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);