summaryrefslogtreecommitdiff
path: root/vulkan/libvulkan/driver.cpp
diff options
context:
space:
mode:
author Kean Mariotti <keanmariotti@google.com> 2023-09-20 12:53:33 +0000
committer Kean Mariotti <keanmariotti@google.com> 2023-09-21 06:51:06 +0000
commit29aad4e36143d3d88b48a21e2d1971c5309d93ed (patch)
tree12d16b464c96f040a9eba0f7175e4ffaf4318b36 /vulkan/libvulkan/driver.cpp
parent8c5abc81c38480ccd1e71178ca5c0cff8d9e6cff (diff)
Do not create new LayerTracing instance within LayerTraceGenerator
LayerDataSource holds a reference to LayerTracing in order to notify LayerTracing about perfetto events (OnSetup, OnStart, OnFlush, OnStop). Having multiple instances of LayerTracing complicates things, as it arises the question of which instance(s) should be referenced and notified by LayerDataSource. This commit eliminates the problem at its root, by avoiding to create an extra LayerTracing instance within LayerTraceGenerator. Bug: b/293429094 Test: atest transactiontrace_testsuite && atest SurfaceFlinger_test Change-Id: Id2cf232d1198f9470b476d9a9d9eb86c21246c61
Diffstat (limited to 'vulkan/libvulkan/driver.cpp')
0 files changed, 0 insertions, 0 deletions