summaryrefslogtreecommitdiff
path: root/opengl/libagl/array.cpp
diff options
context:
space:
mode:
author Yiwei Zhang <zzyiwei@google.com> 2019-05-08 18:29:38 -0700
committer Yiwei Zhang <zzyiwei@google.com> 2019-05-09 11:28:21 -0700
commit5c640c177271a94442bb76ca04b7d45cce5af708 (patch)
treeb1a1430c6a044ab516551850dd8e72ed50745329 /opengl/libagl/array.cpp
parent8e7c4b68ae67dbf274d2d811db358e6bb6799ef2 (diff)
GpuStats: send GpuStats at activity launch hint
USAP preloads the driver in usap pool, and those processes in the pool are not bound with any applications. Previously we send GpuStats based on the completion of driver loading. So with usap enabled, we won't be able to receive stats for system built-in driver. If we send the stats when all the existing stats fields are filled, there will be tons of selinux violations, because those non app processes are trying to send the stats as well. So we end up sending the stats based on the hint of activity launch. Bug: 131866357 Test: dumpsys gpu with enable/disable usap and check the selinux Change-Id: Ib1291f3bb82d4cd1c1a893d8ea1db3090fe587bd
Diffstat (limited to 'opengl/libagl/array.cpp')
0 files changed, 0 insertions, 0 deletions