summaryrefslogtreecommitdiff
path: root/libs/gui/ISurfaceComposer.cpp
diff options
context:
space:
mode:
author Leon Scroggins III <scroggo@google.com> 2022-02-02 18:08:20 -0500
committer Leon Scroggins III <scroggo@google.com> 2022-02-08 14:48:16 -0500
commita37ca99ff4068972ad308484cea8f7f156a48f69 (patch)
treef43abfab0819e911c1baf8371b86ed267348d146 /libs/gui/ISurfaceComposer.cpp
parent484873c9f26358d0e94b5b8298310c3ff8c093a1 (diff)
Read prop for Skia tracing after boot
Mendel sets the sysprop after RenderEngine has been created, but before boot finishes. Delay reading the sysprop until boot has finished so it will get the correct value. Rather thatn calling into Skia directly from SurfaceFlinger, pass the boolean to RenderEngine, which now has an API that is implemented by SkiaRenderEngine to turn on tracing inside Skia. This also allows us to call the thread-unsafe method from the right thread. Use FlagManager, which follows the normal path for setting Mendel flags in SurfaceFlinger. Bug: 204205165 Test: manual Change-Id: Iba93ad6a4b51e336019a1c91dbfd10baafb6576f
Diffstat (limited to 'libs/gui/ISurfaceComposer.cpp')
0 files changed, 0 insertions, 0 deletions