Anthony Eid
fb38178d74
gpui: Fix native object accumulation in headless Metal rendering ( #64099 )
...
# Objective
Heavy headless rendering benchmarks accumulated native temporary objects
across frames because they could run for a long time without an
autorelease pool draining.
This PR adds a scoped autorelease pool around each headless rendering
call so those temporary objects are released promptly. GPU submission
remains asynchronous, and image readback retains its existing completion
wait.
Release Notes:
- N/A
2026-09-11 21:09:33 +00:00
..
2026-09-09 13:49:13 +00:00
2026-09-04 10:39:14 +00:00
2026-09-09 13:49:13 +00:00
2026-09-11 11:10:44 +00:00
2026-09-09 13:49:13 +00:00
2026-09-07 16:34:18 +00:00
2026-09-11 17:11:33 +00:00
2026-09-09 14:50:23 +00:00
2026-09-10 14:33:24 +00:00
2026-09-09 14:31:14 +00:00
2026-08-26 14:33:13 +00:00
2026-09-03 14:38:23 +00:00
2026-09-09 09:30:38 +00:00
2026-09-03 14:38:23 +00:00
2026-09-04 22:54:09 +00:00
2026-09-11 09:13:44 +00:00
2026-09-07 19:01:41 +00:00
2026-09-01 18:58:47 +00:00
2026-09-08 07:12:28 +00:00
2026-09-04 03:02:13 +00:00
2026-09-11 09:13:44 +00:00
2026-09-07 19:01:41 +00:00
2026-09-07 16:23:05 +00:00
2026-09-11 15:19:53 +00:00
2026-09-02 18:21:25 +00:00
2026-09-11 09:13:44 +00:00
2026-09-02 18:21:25 +00:00
2026-09-09 15:16:15 +00:00
2026-09-07 19:01:41 +00:00
2026-09-07 19:01:41 +00:00
2026-09-09 12:27:32 +00:00
2026-09-11 04:13:07 +00:00
2026-09-07 15:18:49 +00:00
2026-09-03 11:14:41 +00:00
2026-09-11 09:13:44 +00:00
2026-09-07 16:23:05 +00:00
2026-09-04 16:24:18 +00:00
2026-09-11 17:14:29 +00:00
2026-09-11 21:09:33 +00:00
2026-09-09 13:49:13 +00:00
2026-09-10 14:52:46 +00:00
2026-09-07 15:18:49 +00:00
2026-09-01 21:39:47 +00:00
2026-09-07 15:18:49 +00:00
2026-09-10 16:28:39 +00:00
2026-09-11 17:14:29 +00:00
2026-09-09 13:49:13 +00:00
2026-09-09 08:27:12 +00:00
2026-09-07 15:18:49 +00:00
2026-09-07 16:23:05 +00:00
2026-09-09 14:31:14 +00:00
2026-09-09 14:31:14 +00:00
2026-09-02 18:23:27 +00:00
2026-09-10 10:53:30 +00:00
2026-09-09 09:30:38 +00:00
2026-09-09 14:50:23 +00:00
2026-09-02 15:41:05 +00:00
2026-09-09 14:31:14 +00:00
2026-09-09 14:31:14 +00:00
2026-09-09 13:49:13 +00:00
2026-09-02 15:41:05 +00:00
2026-09-02 15:41:05 +00:00
2026-09-09 14:55:56 +00:00
2026-09-09 13:47:28 +00:00
2026-09-09 14:31:14 +00:00
2026-09-04 10:54:29 +00:00
2026-09-02 18:21:25 +00:00
2026-09-02 18:21:25 +00:00
2026-09-04 10:54:29 +00:00
2026-09-04 11:09:15 +00:00
2026-09-08 21:44:06 +00:00
2026-09-07 15:18:49 +00:00
2026-09-02 15:41:05 +00:00
2026-09-02 13:50:06 +00:00
2026-09-11 09:13:44 +00:00
2026-09-07 15:18:49 +00:00
2026-09-11 09:16:11 +00:00
2026-09-07 19:01:41 +00:00
2026-09-10 21:42:22 +00:00
2026-09-09 14:55:56 +00:00
2026-09-10 17:54:38 +00:00
2026-09-07 15:18:49 +00:00
2026-09-10 08:27:36 +00:00
2026-09-07 19:01:41 +00:00
2026-09-11 09:13:44 +00:00
2026-09-02 18:21:25 +00:00
2026-09-04 13:48:58 +00:00
2026-09-11 15:19:53 +00:00
2026-09-04 15:28:40 +00:00
2026-09-09 13:49:13 +00:00
2026-09-03 18:29:10 +00:00
2026-09-09 15:11:24 +00:00
2026-09-09 09:09:25 +00:00
2026-09-07 15:18:49 +00:00
2026-09-11 15:19:53 +00:00
2026-09-11 15:19:53 +00:00
2026-09-04 17:19:04 +00:00
2026-09-07 16:23:05 +00:00
2026-09-11 15:39:49 +00:00
2026-09-11 09:13:44 +00:00
2026-09-10 06:33:43 +00:00
2026-09-03 09:35:53 +00:00
2026-09-09 13:48:50 +00:00
2026-09-07 19:01:41 +00:00
2026-09-07 19:01:41 +00:00
2026-09-11 15:39:49 +00:00
2026-09-03 09:35:53 +00:00
2026-09-01 21:39:47 +00:00
2026-09-01 21:39:47 +00:00
2026-09-01 21:39:47 +00:00