summaryrefslogtreecommitdiff
path: root/libs/gui/BufferQueueThreadState.cpp
diff options
context:
space:
mode:
author Yichi Chen <yichichen@google.com> 2018-10-01 22:32:30 +0800
committer Yichi Chen <yichichen@google.com> 2018-11-19 20:25:04 +0800
commit9c696ed651e4a3d7ac17ab84ad49b59706b13e8a (patch)
treeacf922081cfb5bdeab4c8722a8e4ca7dd022a26d /libs/gui/BufferQueueThreadState.cpp
parent6ab82a83384567d3389296a6193b6561da63aaf7 (diff)
SF: Import ring buffer with size control in SurfaceTracing
Instead of disabling SurfaceTracing when its size exceeds the limitation, we import the ring buffer as its storage and records the latest status. The size of the ring buffer can be controlled when layer trace is enabled. Bug: b/115920963 Test: layer trace can keep at most 100MB without increasing memory usage in heap after 10 minutes. Test: layer trace can keep last result in layers_trace.pb Test: mTrace.enable can control the size of ring buffer Change-Id: I8ce4b235b657429b7f1d9229befd509e976329fd
Diffstat (limited to 'libs/gui/BufferQueueThreadState.cpp')
0 files changed, 0 insertions, 0 deletions