summaryrefslogtreecommitdiff
path: root/vulkan/libvulkan/api.cpp
diff options
context:
space:
mode:
author Vishnu Nair <vishnun@google.com> 2019-08-30 08:49:12 -0700
committer Vishnu Nair <vishnun@google.com> 2019-08-30 08:49:12 -0700
commit0f085c6a3e5aa5ffa4619f612c2d3b1244420b31 (patch)
tree515d92a3b6b518b456c0a54e7a199a0e38036962 /vulkan/libvulkan/api.cpp
parentf0aa9016e99a441e2bc2048ddd55b1437b3f6daa (diff)
Dump offscreen layers in dumpsys and winscope trace
Now that clients can keep layers alive by holding a reference to its handle and clients can also create layers, we need to an easier way to keep track of layers that are offscreen but not destroyed. This change keeps track of the calling pid and uid so it is easier to track the creating process. Since the tracing thread will also read from mOffscreenLayers, we want to protect access to it with the tracing lock. Bug:127687760 Test: run dumpsys check for offscreen layers Test: capture sf trace and check for offscreen layers Change-Id: I400f33b11b0a4f78f4c35027c457eb56ff12c22e
Diffstat (limited to 'vulkan/libvulkan/api.cpp')
0 files changed, 0 insertions, 0 deletions