Austin Eng
0c66bcd13a
Reland "Metal: Add CommandRecordingContext"
...
This is a reland of 2b3975f808fd6f5afc5a52e58a3dcd5e73984b17
The previous CL failed to retain autoreleased ObjC objects which
should live longer than the autoreleasepool block. This reland fixes
the issue and adds tests for it.
Original change's description:
> Metal: Add CommandRecordingContext
>
> Introduces the idea of a CommandRecordingContext to the Metal backend,
> similar to other backends. This is a class to track which Metal encoder
> is open on the device-global pending MTLCommandBuffer.
> It will be needed to open/close encoders for lazy clearing.
>
> Bug: dawn:145
> Change-Id: Ief6b71a079d73943677d2b61382d1c36b88a4f87
> Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/14780
> Reviewed-by: Corentin Wallez <cwallez@chromium.org>
> Reviewed-by: Kai Ninomiya <kainino@chromium.org>
> Commit-Queue: Austin Eng <enga@chromium.org>
Bug: dawn:145
Change-Id: I67494b35225ce8f6443a3fa9787d054522e5d422
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/15042
Commit-Queue: Austin Eng <enga@chromium.org>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
2020-01-15 18:22:53 +00:00
..
2020-01-15 16:58:23 +00:00
2020-01-15 18:22:53 +00:00
2020-01-15 14:56:22 +00:00
2020-01-15 16:58:23 +00:00
2020-01-15 16:58:23 +00:00
2020-01-10 13:28:18 +00:00
2020-01-10 13:28:18 +00:00
2019-10-30 00:20:03 +00:00
2019-10-30 00:20:03 +00:00
2020-01-10 13:28:18 +00:00
2020-01-10 13:28:18 +00:00
2019-11-07 07:09:07 +00:00
2019-11-05 15:44:05 +00:00
2019-11-01 15:51:01 +00:00
2019-12-19 18:50:18 +00:00
2019-10-30 00:20:03 +00:00
2019-11-01 15:51:01 +00:00
2019-09-27 15:11:52 +00:00
2019-09-27 15:11:52 +00:00
2019-10-24 21:28:16 +00:00
2019-10-29 18:40:12 +00:00
2019-11-21 22:09:41 +00:00
2019-11-07 07:09:07 +00:00
2019-10-30 00:20:03 +00:00
2019-10-30 00:20:03 +00:00
2019-12-10 01:10:27 +00:00
2019-12-10 01:10:27 +00:00
2019-11-13 17:00:37 +00:00
2019-11-13 17:00:37 +00:00
2019-11-07 22:23:29 +00:00
2019-11-07 22:23:29 +00:00
2019-12-12 01:29:01 +00:00
2019-11-21 22:09:41 +00:00
2019-11-18 23:09:38 +00:00
2019-10-23 11:57:41 +00:00
2019-11-21 22:09:41 +00:00
2019-11-21 22:09:41 +00:00
2019-11-21 22:09:41 +00:00
2019-11-13 17:00:37 +00:00
2019-11-22 17:02:22 +00:00
2019-10-30 00:20:03 +00:00
2019-10-23 11:57:41 +00:00
2020-01-10 13:28:18 +00:00
2020-01-10 17:58:28 +00:00
2020-01-10 17:58:28 +00:00
2019-10-29 22:49:43 +00:00
2019-10-29 22:49:43 +00:00
2019-11-21 22:09:41 +00:00
2020-01-10 17:58:28 +00:00
2020-01-10 17:58:28 +00:00
2020-01-10 17:58:28 +00:00
2020-01-10 17:58:28 +00:00
2020-01-06 19:56:17 +00:00
2020-01-06 19:56:17 +00:00
2019-10-23 11:57:41 +00:00
2019-10-23 11:57:41 +00:00
2019-09-25 19:32:01 +00:00
2019-09-17 18:24:07 +00:00
2019-11-13 01:53:25 +00:00
2019-11-13 01:53:25 +00:00
2019-11-13 17:00:37 +00:00
2019-11-13 17:00:37 +00:00
2019-11-13 17:00:37 +00:00
2019-11-13 17:00:37 +00:00
2020-01-15 00:09:42 +00:00
2020-01-15 00:09:42 +00:00
2019-11-13 17:00:37 +00:00
2020-01-15 13:14:12 +00:00
2020-01-15 13:14:12 +00:00
2019-11-19 14:35:10 +00:00
2019-11-19 14:35:10 +00:00
2019-11-21 22:09:41 +00:00
2019-11-21 22:09:41 +00:00
2019-11-21 22:09:41 +00:00
2019-10-23 11:57:41 +00:00
2019-10-23 11:57:41 +00:00
2019-11-22 17:02:22 +00:00
2019-11-22 17:02:22 +00:00
2019-12-19 18:50:18 +00:00
2019-11-22 17:02:22 +00:00
2019-11-21 22:09:41 +00:00
2019-11-21 22:09:41 +00:00
2019-11-21 22:09:41 +00:00
2019-11-13 17:00:37 +00:00
2019-12-12 10:40:22 +00:00
2019-11-19 14:35:10 +00:00
2019-11-13 17:00:37 +00:00
2019-11-13 17:00:37 +00:00
2019-11-21 22:09:41 +00:00
2019-11-21 22:09:41 +00:00
2020-01-06 19:36:07 +00:00
2019-10-10 07:29:58 +00:00
2019-11-21 22:09:41 +00:00
2019-11-21 22:09:41 +00:00
2019-12-12 11:41:02 +00:00
2019-11-13 17:00:37 +00:00
2019-10-03 18:17:31 +00:00
2019-10-30 00:19:43 +00:00
2019-10-03 18:17:31 +00:00
2019-11-08 21:47:00 +00:00
2019-10-18 16:19:00 +00:00
2019-10-18 16:19:00 +00:00
2019-12-12 11:41:02 +00:00
2019-10-30 00:20:03 +00:00
2020-01-15 14:56:22 +00:00
2020-01-15 16:58:23 +00:00
2019-01-29 00:10:07 +00:00
2019-01-29 00:10:07 +00:00
2020-01-15 13:14:12 +00:00
2020-01-15 13:14:12 +00:00
2020-01-15 13:14:12 +00:00
2019-11-12 18:30:11 +00:00
2019-11-12 18:30:11 +00:00
2020-01-15 00:09:42 +00:00
2019-10-23 11:57:41 +00:00
2019-08-27 23:36:26 +00:00
2019-12-05 14:02:11 +00:00
2019-12-05 14:02:11 +00:00