summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorSuren Baghdasaryan <surenb@google.com>2021-02-10 10:38:03 -0800
committerSuren Baghdasaryan <surenb@google.com>2021-02-12 01:16:25 +0000
commit9785b9a84bf445dee43d4f566f6dcd274e5cb09b (patch)
tree7865082877160a5f09aa0900309e797f423d2dd3 /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parentf30df7e62e33e14f842c686302e7008663b9c3b8 (diff)
Eliminate memtrack variability from the lost RAM calculation
Modify lost RAM calculation to use total mapped dmabuf and private GPU allocations instead of memtrack HAL's reported Graphics and GL values. All of memtrack HAL's reported Graphics should be accounted for as part of mapped dmabufs. In order to not count it twice and not to depend on memtrack HAL's reported value we exclude it from total PSS calculation and replace it with mapped dmabufs. All of memtrack HAL's reported GL should be accounted for as part of private GPU allocations. In order to not count it twice and not to depend on memtrack HAL's reported value we exclude it from total PSS calculation and add GPU private allocations to total kernel memory usage. Bug: 165832481 Test: dumpsys meminfo Signed-off-by: Suren Baghdasaryan <surenb@google.com> Change-Id: I631488d95cfd91d5428c877b3a004215031dd223
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions