diff options
| author | 2025-01-22 12:31:08 +0000 | |
|---|---|---|
| committer | 2025-03-10 23:27:40 -0700 | |
| commit | 3e713107ff026d94a07622ac86196132839593f2 (patch) | |
| tree | 9f7a993de68f333fdb265c82ce146e6f051bf3e9 /libs/androidfw/StringPool.cpp | |
| parent | 2b3e35f793458aa32d2a43c881a7e1c5c7f110db (diff) | |
Use ImageReader to persist task snapshot to disk.
Which can prevent gl_texture being created for SkImage while copy a
hardware bitmap to software bitmap. So the system server won't has to
ask for an extra dmabuf during persist task snapshot.
Flag: com.android.window.flags.reduce_task_snapshot_memory_usage
Bug: 238206323
Test: dump dmabuf everytime after a close task transition finish,
verify the dmabuf won't increase in system server. Also since the task
snapshot will be removed after open transition, verify the snapshot in
the dmabuf will be removed.
Change-Id: I03f25c097bfdda5cc9ca9b6c33a30fc980103c0b
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions