summaryrefslogtreecommitdiff
path: root/libs/ui/DebugUtils.cpp
diff options
context:
space:
mode:
author Leon Scroggins III <scroggo@google.com> 2021-03-22 10:42:47 -0400
committer Leon Scroggins <scroggo@google.com> 2021-03-23 17:44:45 +0000
commit9f3072c7ae6ff575811e35fd5248b2396c878b3d (patch)
treed47bcdc5690693982feaf291237a5b0bbb1f4a76 /libs/ui/DebugUtils.cpp
parentb552167471c48a22eec834b6c0ad0d5d623ab4e5 (diff)
SkiaGLRE caching: monitor the caching of shaders
Bug: 178661709 Test: adb shell setprop debug.renderengine.backend skiagl adb shell stop && adb shell start adb shell dumpsys SurfaceFlinger Add an implementation of PersistentCache that allows us to monitor whether a shader was generated when we expected one to be. This can be repurposed in the future (i.e. once we've generated all the shaders we expect) to verify that we do *not* generate shaders after primeCache finishes. Add the number of recently cached shaders (i.e. since the last call, or primeCache, if this is the first call) to the output of dumpsys. Change-Id: I6f177b7ad78fef166d529e918447395629673f47
Diffstat (limited to 'libs/ui/DebugUtils.cpp')
0 files changed, 0 insertions, 0 deletions