Kevin Haslett
af5724b69b
Destroy BufferQueue buffers when delegating.
...
This CL enables destroying buffers on Lacros, and adds support for destroying buffers on Mac (which is currently a no-op because BQ is not enabled on Mac).
Records a metric to make sure we aren't destroying buffers and recreating them immediately.
I've confirmed with local testing that destroying buffers works as
expected. Buffers are destroyed when delegating and recreated without problem when delegation fails (like Poster Circle).
Memory benchmarks also confirm that primary plane buffers are no longer
present, and memory savings of ~25MB for 3 1080p buffers is observed.
Change-Id: I51e33dbd9c0b80ae0e2536dfa45bb055ec84220b
Bug: 1322528
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4163533
Reviewed-by: Jonathan Ross <jonross@chromium.org >
Reviewed-by: Peter McNeeley <petermcneeley@chromium.org >
Commit-Queue: Kevin Haslett <khaslett@chromium.org >
Cr-Commit-Position: refs/heads/main@{#1094616}
2023-01-19 19:48:22 +00:00
..
2023-01-12 01:51:49 +00:00
2023-01-12 01:51:49 +00:00
2023-01-17 18:30:25 +00:00
2023-01-13 21:00:59 +00:00
2023-01-18 20:41:01 +00:00
2022-09-15 20:11:09 +00:00
2022-09-15 20:11:09 +00:00
2022-11-28 21:49:17 +00:00
2022-09-15 20:11:09 +00:00
2022-12-08 22:15:46 +00:00
2022-09-15 20:11:09 +00:00
2022-09-15 20:11:09 +00:00
2022-09-15 20:11:09 +00:00
2022-09-15 20:11:09 +00:00
2022-09-15 20:11:09 +00:00
2022-09-15 20:11:09 +00:00
2023-01-19 10:17:09 +00:00
2023-01-19 19:45:48 +00:00
2022-09-15 20:11:09 +00:00
2022-09-15 20:11:09 +00:00
2023-01-04 20:00:39 +00:00
2022-09-15 20:11:09 +00:00
2022-09-15 20:11:09 +00:00
2022-10-28 13:15:27 +00:00
2022-12-05 01:53:13 +00:00
2022-09-15 20:11:09 +00:00
2022-12-09 21:15:30 +00:00
2022-09-15 20:11:09 +00:00
2022-11-17 03:35:02 +00:00
2022-09-15 20:11:09 +00:00
2022-09-15 20:11:09 +00:00
2023-01-03 00:34:12 +00:00
2022-11-22 16:35:47 +00:00
2022-09-27 18:54:51 +00:00
2022-12-15 19:13:58 +00:00
2022-09-15 20:11:09 +00:00
2022-09-15 20:11:09 +00:00
2022-09-15 20:11:09 +00:00
2022-09-15 20:11:09 +00:00
2022-09-15 20:11:09 +00:00
2022-11-28 22:15:34 +00:00
2023-01-07 02:49:54 +00:00
2023-01-19 17:03:31 +00:00
2023-01-16 16:04:58 +00:00
2022-11-30 13:49:02 +00:00
2022-09-15 20:11:09 +00:00
2022-10-12 17:52:09 +00:00
2023-01-12 01:51:49 +00:00
2022-09-15 20:11:09 +00:00
2022-09-15 20:11:09 +00:00
2023-01-10 07:48:43 +00:00
2022-09-15 20:11:09 +00:00
2022-09-15 20:11:09 +00:00
2022-12-14 22:19:34 +00:00
2022-10-14 01:12:00 +00:00
2022-09-15 20:11:09 +00:00
2023-01-12 01:51:49 +00:00
2023-01-19 18:40:05 +00:00
2022-12-16 21:07:11 +00:00
2022-09-15 20:11:09 +00:00
2023-01-19 09:45:12 +00:00
2023-01-19 19:48:22 +00:00
2022-09-15 20:11:09 +00:00
2022-10-04 18:01:18 +00:00
2022-09-15 20:11:09 +00:00
2023-01-19 19:48:07 +00:00
2022-09-15 20:11:09 +00:00
2022-12-16 02:00:11 +00:00
2023-01-18 02:38:54 +00:00
2023-01-12 01:51:49 +00:00
2022-09-15 20:11:09 +00:00
2023-01-18 02:24:48 +00:00
2022-09-15 20:11:09 +00:00
2022-09-15 20:11:09 +00:00
2022-11-11 03:56:15 +00:00
2023-01-19 03:35:45 +00:00
2022-09-15 20:11:09 +00:00
2022-09-15 20:11:09 +00:00
2022-09-15 20:11:09 +00:00
2022-09-15 20:11:09 +00:00
2022-11-28 00:08:39 +00:00
2022-11-28 13:58:29 +00:00
2022-10-13 18:50:52 +00:00
2022-09-15 20:11:09 +00:00
2022-09-15 20:11:09 +00:00
2023-01-18 21:22:12 +00:00
2022-11-23 23:53:37 +00:00
2023-01-18 14:40:19 +00:00
2022-11-30 17:48:23 +00:00
2023-01-14 11:54:24 +00:00
2022-09-15 20:11:09 +00:00
2022-09-19 22:05:26 +00:00
2022-09-15 20:11:09 +00:00
2023-01-10 18:05:35 +00:00
2022-11-08 21:45:00 +00:00
2022-09-15 20:11:09 +00:00
2022-12-02 00:39:07 +00:00
2023-01-10 18:23:33 +00:00
2022-09-15 20:11:09 +00:00
2022-09-15 20:11:09 +00:00
2022-09-15 20:11:09 +00:00
2022-09-15 20:11:09 +00:00
2023-01-05 19:59:30 +00:00
2022-09-15 20:11:09 +00:00
2022-11-24 01:25:07 +00:00
2022-11-16 08:09:36 +00:00
2022-10-20 00:15:13 +00:00
2022-09-15 20:11:09 +00:00
2022-09-15 20:11:09 +00:00
2022-09-15 20:11:09 +00:00
2022-11-18 21:05:38 +00:00
2022-10-18 00:46:16 +00:00
2022-09-15 20:11:09 +00:00
2022-09-15 20:11:09 +00:00
2022-09-15 20:11:09 +00:00
2022-09-15 20:11:09 +00:00
2022-09-15 20:11:09 +00:00
2022-10-12 13:47:30 +00:00
2022-09-15 20:11:09 +00:00
2022-09-15 20:11:09 +00:00
2022-09-15 20:11:09 +00:00
2022-11-11 16:38:42 +00:00
2022-09-15 20:11:09 +00:00
2022-11-10 19:01:24 +00:00
2022-09-15 20:11:09 +00:00
2022-09-15 20:11:09 +00:00
2022-09-15 20:11:09 +00:00
2022-09-15 20:11:09 +00:00
2022-09-15 20:11:09 +00:00
2022-09-15 20:11:09 +00:00
2022-09-15 20:11:09 +00:00
2022-09-15 20:11:09 +00:00
2022-09-15 20:11:09 +00:00