Austin Eng | c7f416c | 2019-01-15 20:49:53 +0000 | [diff] [blame] | 1 | { |
| 2 | "_comment": [ |
Austin Eng | cc2516a | 2023-10-17 20:57:54 +0000 | [diff] [blame] | 3 | "Copyright 2019 The Dawn & Tint Authors", |
Austin Eng | c7f416c | 2019-01-15 20:49:53 +0000 | [diff] [blame] | 4 | "", |
Austin Eng | cc2516a | 2023-10-17 20:57:54 +0000 | [diff] [blame] | 5 | "Redistribution and use in source and binary forms, with or without", |
| 6 | "modification, are permitted provided that the following conditions are met:", |
Austin Eng | c7f416c | 2019-01-15 20:49:53 +0000 | [diff] [blame] | 7 | "", |
Austin Eng | cc2516a | 2023-10-17 20:57:54 +0000 | [diff] [blame] | 8 | " 1. Redistributions of source code must retain the above copyright notice, this", |
| 9 | " list of conditions and the following disclaimer.", |
Austin Eng | c7f416c | 2019-01-15 20:49:53 +0000 | [diff] [blame] | 10 | "", |
Austin Eng | cc2516a | 2023-10-17 20:57:54 +0000 | [diff] [blame] | 11 | " 2. Redistributions in binary form must reproduce the above copyright notice,", |
| 12 | " this list of conditions and the following disclaimer in the documentation", |
| 13 | " and/or other materials provided with the distribution.", |
| 14 | "", |
| 15 | " 3. Neither the name of the copyright holder nor the names of its", |
| 16 | " contributors may be used to endorse or promote products derived from", |
| 17 | " this software without specific prior written permission.", |
| 18 | " ", |
| 19 | "THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"", |
| 20 | "AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE", |
| 21 | "IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE", |
| 22 | "DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE", |
| 23 | "FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL", |
| 24 | "DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR", |
| 25 | "SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER", |
| 26 | "CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,", |
| 27 | "OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE", |
| 28 | "OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." |
Austin Eng | c7f416c | 2019-01-15 20:49:53 +0000 | [diff] [blame] | 29 | ], |
Corentin Wallez | 6d0438c | 2021-03-24 20:29:42 +0000 | [diff] [blame] | 30 | |
Ben Clayton | 26c31f6 | 2022-01-27 18:33:47 +0000 | [diff] [blame] | 31 | "_doc": "See docs/dawn/codegen.md", |
Corentin Wallez | 6d0438c | 2021-03-24 20:29:42 +0000 | [diff] [blame] | 32 | |
Austin Eng | c7f416c | 2019-01-15 20:49:53 +0000 | [diff] [blame] | 33 | "commands": { |
| 34 | "buffer map async": [ |
Brendon Tiszka | 27521c6 | 2023-05-15 22:22:07 +0000 | [diff] [blame] | 35 | { "name": "buffer id", "type": "ObjectId", "id_type": "buffer" }, |
Loko Kung | a923921 | 2023-09-27 21:36:28 +0000 | [diff] [blame] | 36 | { "name": "future", "type": "future" }, |
Corentin Wallez | c15c6eb | 2020-07-16 17:07:05 +0000 | [diff] [blame] | 37 | { "name": "mode", "type": "map mode" }, |
Austin Eng | f104fea | 2021-02-18 22:36:19 +0000 | [diff] [blame] | 38 | { "name": "offset", "type": "uint64_t"}, |
shrekshao | 6e680fc | 2021-07-08 22:48:57 +0000 | [diff] [blame] | 39 | { "name": "size", "type": "uint64_t"} |
Austin Eng | c7f416c | 2019-01-15 20:49:53 +0000 | [diff] [blame] | 40 | ], |
| 41 | "buffer update mapped data": [ |
Brendon Tiszka | 27521c6 | 2023-05-15 22:22:07 +0000 | [diff] [blame] | 42 | { "name": "buffer id", "type": "ObjectId", "id_type": "buffer" }, |
shrekshao | 6e680fc | 2021-07-08 22:48:57 +0000 | [diff] [blame] | 43 | { "name": "write data update info length", "type": "uint64_t" }, |
| 44 | { "name": "write data update info", "type": "uint8_t", "annotation": "const*", "length": "write data update info length", "skip_serialize": true}, |
| 45 | { "name": "offset", "type": "uint64_t"}, |
| 46 | { "name": "size", "type": "uint64_t"} |
Austin Eng | c7f416c | 2019-01-15 20:49:53 +0000 | [diff] [blame] | 47 | ], |
Corentin Wallez | f93fa6a | 2020-07-29 17:01:11 +0000 | [diff] [blame] | 48 | "device create buffer": [ |
Brendon Tiszka | 27521c6 | 2023-05-15 22:22:07 +0000 | [diff] [blame] | 49 | { "name": "device id", "type": "ObjectId", "id_type": "device" }, |
Austin Eng | 76e3de4 | 2019-05-22 18:49:59 +0000 | [diff] [blame] | 50 | { "name": "descriptor", "type": "buffer descriptor", "annotation": "const*" }, |
Austin Eng | 6a5418a | 2019-07-19 16:01:48 +0000 | [diff] [blame] | 51 | { "name": "result", "type": "ObjectHandle", "handle_type": "buffer" }, |
shrekshao | 6e680fc | 2021-07-08 22:48:57 +0000 | [diff] [blame] | 52 | { "name": "read handle create info length", "type": "uint64_t" }, |
| 53 | { "name": "read handle create info", "type": "uint8_t", "annotation": "const*", "length": "read handle create info length", "skip_serialize": true}, |
| 54 | { "name": "write handle create info length", "type": "uint64_t" }, |
| 55 | { "name": "write handle create info", "type": "uint8_t", "annotation": "const*", "length": "write handle create info length", "skip_serialize": true} |
Austin Eng | 76e3de4 | 2019-05-22 18:49:59 +0000 | [diff] [blame] | 56 | ], |
Corentin Wallez | 2d3c2e3 | 2021-02-22 18:27:36 +0000 | [diff] [blame] | 57 | "device create compute pipeline async": [ |
Brendon Tiszka | 27521c6 | 2023-05-15 22:22:07 +0000 | [diff] [blame] | 58 | { "name": "device id", "type": "ObjectId", "id_type": "device"}, |
Jiawei Shao | ae5f950 | 2020-10-19 01:56:08 +0000 | [diff] [blame] | 59 | { "name": "request serial", "type": "uint64_t" }, |
| 60 | { "name": "pipeline object handle", "type": "ObjectHandle", "handle_type": "compute pipeline"}, |
| 61 | { "name": "descriptor", "type": "compute pipeline descriptor", "annotation": "const*"} |
| 62 | ], |
Corentin Wallez | 2d3c2e3 | 2021-02-22 18:27:36 +0000 | [diff] [blame] | 63 | "device create render pipeline async": [ |
Brendon Tiszka | 27521c6 | 2023-05-15 22:22:07 +0000 | [diff] [blame] | 64 | { "name": "device id", "type": "ObjectId", "id_type": "device" }, |
Jiawei Shao | 03e1400 | 2020-10-21 04:37:41 +0000 | [diff] [blame] | 65 | { "name": "request serial", "type": "uint64_t" }, |
| 66 | { "name": "pipeline object handle", "type": "ObjectHandle", "handle_type": "render pipeline"}, |
Brandon Jones | 41c87d9 | 2021-05-21 05:01:38 +0000 | [diff] [blame] | 67 | { "name": "descriptor", "type": "render pipeline descriptor", "annotation": "const*"} |
Jiawei Shao | 03e1400 | 2020-10-21 04:37:41 +0000 | [diff] [blame] | 68 | ], |
Austin Eng | 45238d7 | 2019-09-04 22:54:03 +0000 | [diff] [blame] | 69 | "device pop error scope": [ |
Brendon Tiszka | 27521c6 | 2023-05-15 22:22:07 +0000 | [diff] [blame] | 70 | { "name": "device id", "type": "ObjectId", "id_type": "device" }, |
Austin Eng | 45238d7 | 2019-09-04 22:54:03 +0000 | [diff] [blame] | 71 | { "name": "request serial", "type": "uint64_t" } |
| 72 | ], |
Austin Eng | c7f416c | 2019-01-15 20:49:53 +0000 | [diff] [blame] | 73 | "destroy object": [ |
| 74 | { "name": "object type", "type": "ObjectType" }, |
| 75 | { "name": "object id", "type": "ObjectId" } |
Corentin Wallez | 47a3341 | 2020-06-02 09:24:39 +0000 | [diff] [blame] | 76 | ], |
Corentin Wallez | c093db2 | 2021-02-25 13:17:01 +0000 | [diff] [blame] | 77 | "queue on submitted work done": [ |
Brendon Tiszka | 27521c6 | 2023-05-15 22:22:07 +0000 | [diff] [blame] | 78 | { "name": "queue id", "type": "ObjectId", "id_type": "queue" }, |
Loko Kung | a923921 | 2023-09-27 21:36:28 +0000 | [diff] [blame] | 79 | { "name": "future", "type": "future" } |
Corentin Wallez | c093db2 | 2021-02-25 13:17:01 +0000 | [diff] [blame] | 80 | ], |
Jiawei Shao | b6d80e0 | 2021-12-09 02:42:47 +0000 | [diff] [blame] | 81 | "queue write buffer": [ |
Brendon Tiszka | 27521c6 | 2023-05-15 22:22:07 +0000 | [diff] [blame] | 82 | {"name": "queue id", "type": "ObjectId", "id_type": "queue" }, |
| 83 | {"name": "buffer id", "type": "ObjectId", "id_type": "buffer" }, |
Corentin Wallez | 47a3341 | 2020-06-02 09:24:39 +0000 | [diff] [blame] | 84 | {"name": "buffer offset", "type": "uint64_t"}, |
Jiawei Shao | 1f25ea9 | 2021-12-10 02:05:28 +0000 | [diff] [blame] | 85 | {"name": "data", "type": "uint8_t", "annotation": "const*", "length": "size", "wire_is_data_only": true}, |
Austin Eng | f104fea | 2021-02-18 22:36:19 +0000 | [diff] [blame] | 86 | {"name": "size", "type": "uint64_t"} |
Tomek Ponitka | a9c7d64 | 2020-07-08 18:42:30 +0000 | [diff] [blame] | 87 | ], |
Jiawei Shao | b6d80e0 | 2021-12-09 02:42:47 +0000 | [diff] [blame] | 88 | "queue write texture": [ |
Brendon Tiszka | 27521c6 | 2023-05-15 22:22:07 +0000 | [diff] [blame] | 89 | {"name": "queue id", "type": "ObjectId", "id_type": "queue" }, |
Corentin Wallez | 8091584 | 2021-03-04 18:13:45 +0000 | [diff] [blame] | 90 | {"name": "destination", "type": "image copy texture", "annotation": "const*"}, |
Jiawei Shao | 1f25ea9 | 2021-12-10 02:05:28 +0000 | [diff] [blame] | 91 | {"name": "data", "type": "uint8_t", "annotation": "const*", "length": "data size", "wire_is_data_only": true}, |
Austin Eng | f104fea | 2021-02-18 22:36:19 +0000 | [diff] [blame] | 92 | {"name": "data size", "type": "uint64_t"}, |
Tomek Ponitka | a9c7d64 | 2020-07-08 18:42:30 +0000 | [diff] [blame] | 93 | {"name": "data layout", "type": "texture data layout", "annotation": "const*"}, |
| 94 | {"name": "writeSize", "type": "extent 3D", "annotation": "const*"} |
Brandon Jones | 6f2bbe9 | 2021-04-05 23:34:17 +0000 | [diff] [blame] | 95 | ], |
| 96 | "shader module get compilation info": [ |
Brendon Tiszka | 27521c6 | 2023-05-15 22:22:07 +0000 | [diff] [blame] | 97 | { "name": "shader module id", "type": "ObjectId", "id_type": "shader module" }, |
Brandon Jones | 6f2bbe9 | 2021-04-05 23:34:17 +0000 | [diff] [blame] | 98 | { "name": "request serial", "type": "uint64_t" } |
Austin Eng | 07e7667 | 2021-12-15 21:52:17 +0000 | [diff] [blame] | 99 | ], |
| 100 | "instance request adapter": [ |
Brendon Tiszka | 27521c6 | 2023-05-15 22:22:07 +0000 | [diff] [blame] | 101 | { "name": "instance id", "type": "ObjectId", "id_type": "instance" }, |
Loko Kung | 6f2cbf6 | 2023-11-07 03:22:42 +0000 | [diff] [blame] | 102 | { "name": "future", "type": "future" }, |
Austin Eng | 07e7667 | 2021-12-15 21:52:17 +0000 | [diff] [blame] | 103 | { "name": "adapter object handle", "type": "ObjectHandle", "handle_type": "adapter"}, |
Gregg Tavares | 0bdf2da | 2023-05-24 12:39:46 +0000 | [diff] [blame] | 104 | { "name": "options", "type": "request adapter options", "annotation": "const*", "optional": true } |
Austin Eng | 07e7667 | 2021-12-15 21:52:17 +0000 | [diff] [blame] | 105 | ], |
| 106 | "adapter request device": [ |
Brendon Tiszka | 27521c6 | 2023-05-15 22:22:07 +0000 | [diff] [blame] | 107 | { "name": "adapter id", "type": "ObjectId", "id_type": "adapter" }, |
Austin Eng | 07e7667 | 2021-12-15 21:52:17 +0000 | [diff] [blame] | 108 | { "name": "request serial", "type": "uint64_t" }, |
| 109 | { "name": "device object handle", "type": "ObjectHandle", "handle_type": "device"}, |
| 110 | { "name": "descriptor", "type": "device descriptor", "annotation": "const*" } |
Austin Eng | c7f416c | 2019-01-15 20:49:53 +0000 | [diff] [blame] | 111 | ] |
| 112 | }, |
| 113 | "return commands": { |
Corentin Wallez | 450b6f4 | 2020-07-17 07:38:36 +0000 | [diff] [blame] | 114 | "buffer map async callback": [ |
Austin Eng | 1139d1c | 2019-01-30 03:00:17 +0000 | [diff] [blame] | 115 | { "name": "buffer", "type": "ObjectHandle", "handle_type": "buffer" }, |
Loko Kung | a923921 | 2023-09-27 21:36:28 +0000 | [diff] [blame] | 116 | { "name": "future", "type": "future" }, |
Austin Eng | c7f416c | 2019-01-15 20:49:53 +0000 | [diff] [blame] | 117 | { "name": "status", "type": "uint32_t" }, |
shrekshao | 6e680fc | 2021-07-08 22:48:57 +0000 | [diff] [blame] | 118 | { "name": "read data update info length", "type": "uint64_t" }, |
| 119 | { "name": "read data update info", "type": "uint8_t", "annotation": "const*", "length": "read data update info length", "skip_serialize": true } |
Austin Eng | c7f416c | 2019-01-15 20:49:53 +0000 | [diff] [blame] | 120 | ], |
Corentin Wallez | 2d3c2e3 | 2021-02-22 18:27:36 +0000 | [diff] [blame] | 121 | "device create compute pipeline async callback": [ |
Austin Eng | 4d66fb2 | 2021-01-25 08:38:47 +0000 | [diff] [blame] | 122 | { "name": "device", "type": "ObjectHandle", "handle_type": "device" }, |
Jiawei Shao | ae5f950 | 2020-10-19 01:56:08 +0000 | [diff] [blame] | 123 | { "name": "request serial", "type": "uint64_t" }, |
Corentin Wallez | 2d3c2e3 | 2021-02-22 18:27:36 +0000 | [diff] [blame] | 124 | { "name": "status", "type": "create pipeline async status" }, |
Jiawei Shao | 03e1400 | 2020-10-21 04:37:41 +0000 | [diff] [blame] | 125 | { "name": "message", "type": "char", "annotation": "const*", "length": "strlen" } |
| 126 | ], |
Corentin Wallez | 2d3c2e3 | 2021-02-22 18:27:36 +0000 | [diff] [blame] | 127 | "device create render pipeline async callback": [ |
Austin Eng | 4d66fb2 | 2021-01-25 08:38:47 +0000 | [diff] [blame] | 128 | { "name": "device", "type": "ObjectHandle", "handle_type": "device" }, |
Jiawei Shao | 03e1400 | 2020-10-21 04:37:41 +0000 | [diff] [blame] | 129 | { "name": "request serial", "type": "uint64_t" }, |
Corentin Wallez | 2d3c2e3 | 2021-02-22 18:27:36 +0000 | [diff] [blame] | 130 | { "name": "status", "type": "create pipeline async status" }, |
Jiawei Shao | 03e1400 | 2020-10-21 04:37:41 +0000 | [diff] [blame] | 131 | { "name": "message", "type": "char", "annotation": "const*", "length": "strlen" } |
Jiawei Shao | ae5f950 | 2020-10-19 01:56:08 +0000 | [diff] [blame] | 132 | ], |
Austin Eng | 45ea7e6 | 2019-08-27 21:43:56 +0000 | [diff] [blame] | 133 | "device uncaptured error callback": [ |
Austin Eng | 4d66fb2 | 2021-01-25 08:38:47 +0000 | [diff] [blame] | 134 | { "name": "device", "type": "ObjectHandle", "handle_type": "device" }, |
Austin Eng | cb0cb65 | 2019-08-27 21:41:56 +0000 | [diff] [blame] | 135 | { "name": "type", "type": "error type"}, |
Austin Eng | c7f416c | 2019-01-15 20:49:53 +0000 | [diff] [blame] | 136 | { "name": "message", "type": "char", "annotation": "const*", "length": "strlen" } |
| 137 | ], |
Zhaoming Jiang | b44000e | 2021-06-04 07:10:56 +0000 | [diff] [blame] | 138 | "device logging callback": [ |
| 139 | { "name": "device", "type": "ObjectHandle", "handle_type": "device" }, |
| 140 | { "name": "type", "type": "logging type"}, |
| 141 | { "name": "message", "type": "char", "annotation": "const*", "length": "strlen" } |
| 142 | ], |
Natasha Lee | 9bba4a9 | 2019-12-18 18:59:20 +0000 | [diff] [blame] | 143 | "device lost callback" : [ |
Austin Eng | 4d66fb2 | 2021-01-25 08:38:47 +0000 | [diff] [blame] | 144 | { "name": "device", "type": "ObjectHandle", "handle_type": "device" }, |
Kai Ninomiya | 51791e0 | 2021-09-28 11:52:17 +0000 | [diff] [blame] | 145 | { "name": "reason", "type": "device lost reason" }, |
Natasha Lee | 9bba4a9 | 2019-12-18 18:59:20 +0000 | [diff] [blame] | 146 | { "name": "message", "type": "char", "annotation": "const*", "length": "strlen" } |
| 147 | ], |
Austin Eng | 45238d7 | 2019-09-04 22:54:03 +0000 | [diff] [blame] | 148 | "device pop error scope callback": [ |
Austin Eng | 4d66fb2 | 2021-01-25 08:38:47 +0000 | [diff] [blame] | 149 | { "name": "device", "type": "ObjectHandle", "handle_type": "device" }, |
Austin Eng | 45238d7 | 2019-09-04 22:54:03 +0000 | [diff] [blame] | 150 | { "name": "request serial", "type": "uint64_t" }, |
| 151 | { "name": "type", "type": "error type" }, |
| 152 | { "name": "message", "type": "char", "annotation": "const*", "length": "strlen" } |
| 153 | ], |
Corentin Wallez | c093db2 | 2021-02-25 13:17:01 +0000 | [diff] [blame] | 154 | "queue work done callback": [ |
| 155 | { "name": "queue", "type": "ObjectHandle", "handle_type": "queue" }, |
Loko Kung | a923921 | 2023-09-27 21:36:28 +0000 | [diff] [blame] | 156 | { "name": "future", "type": "future" }, |
Corentin Wallez | c093db2 | 2021-02-25 13:17:01 +0000 | [diff] [blame] | 157 | { "name": "status", "type": "queue work done status" } |
Brandon Jones | 6f2bbe9 | 2021-04-05 23:34:17 +0000 | [diff] [blame] | 158 | ], |
| 159 | "shader module get compilation info callback": [ |
| 160 | { "name": "shader module", "type": "ObjectHandle", "handle_type": "shader module" }, |
| 161 | { "name": "request serial", "type": "uint64_t" }, |
| 162 | { "name": "status", "type": "compilation info request status" }, |
| 163 | { "name": "info", "type": "compilation info", "annotation": "const*", "optional": true } |
Austin Eng | 07e7667 | 2021-12-15 21:52:17 +0000 | [diff] [blame] | 164 | ], |
| 165 | "instance request adapter callback": [ |
| 166 | { "name": "instance", "type": "ObjectHandle", "handle_type": "instance" }, |
Loko Kung | 6f2cbf6 | 2023-11-07 03:22:42 +0000 | [diff] [blame] | 167 | { "name": "future", "type": "future" }, |
Austin Eng | 07e7667 | 2021-12-15 21:52:17 +0000 | [diff] [blame] | 168 | { "name": "status", "type": "request adapter status" }, |
| 169 | { "name": "message", "type": "char", "annotation": "const*", "length": "strlen", "optional": true }, |
| 170 | { "name": "properties", "type": "adapter properties", "annotation": "const*", "optional": "true" }, |
| 171 | { "name": "limits", "type": "supported limits", "annotation": "const*", "optional": "true" }, |
| 172 | { "name": "features count", "type": "uint32_t"}, |
| 173 | { "name": "features", "type": "feature name", "annotation": "const*", "length": "features count"} |
| 174 | ], |
| 175 | "adapter request device callback": [ |
| 176 | { "name": "adapter", "type": "ObjectHandle", "handle_type": "adapter" }, |
| 177 | { "name": "request serial", "type": "uint64_t" }, |
| 178 | { "name": "status", "type": "request device status" }, |
| 179 | { "name": "message", "type": "char", "annotation": "const*", "length": "strlen", "optional": true }, |
| 180 | { "name": "limits", "type": "supported limits", "annotation": "const*", "optional": "true" }, |
| 181 | { "name": "features count", "type": "uint32_t"}, |
| 182 | { "name": "features", "type": "feature name", "annotation": "const*", "length": "features count"} |
Austin Eng | c7f416c | 2019-01-15 20:49:53 +0000 | [diff] [blame] | 183 | ] |
| 184 | }, |
| 185 | "special items": { |
Corentin Wallez | 67ab1ea | 2019-06-06 16:19:15 +0000 | [diff] [blame] | 186 | "client_side_structures": [ |
Kai Ninomiya | be98f27 | 2023-09-11 20:47:26 +0000 | [diff] [blame] | 187 | "FutureWaitInfo", |
Corentin Wallez | 3a1746e | 2020-01-15 13:14:12 +0000 | [diff] [blame] | 188 | "SurfaceDescriptorFromMetalLayer", |
| 189 | "SurfaceDescriptorFromWindowsHWND", |
Shrek Shao | 5b9b986 | 2022-03-09 19:04:21 +0000 | [diff] [blame] | 190 | "SurfaceDescriptorFromXlibWindow", |
陈俊嘉 | 11379a3 | 2021-06-09 08:44:07 +0000 | [diff] [blame] | 191 | "SurfaceDescriptorFromWindowsCoreWindow", |
Alexander Vestin | f2556ab | 2022-03-25 13:18:46 +0000 | [diff] [blame] | 192 | "SurfaceDescriptorFromWindowsSwapChainPanel", |
| 193 | "SurfaceDescriptorFromAndroidNativeWindow" |
Corentin Wallez | 67ab1ea | 2019-06-06 16:19:15 +0000 | [diff] [blame] | 194 | ], |
Austin Eng | c7f416c | 2019-01-15 20:49:53 +0000 | [diff] [blame] | 195 | "client_side_commands": [ |
Austin Eng | 2f218e2 | 2021-12-22 19:02:23 +0000 | [diff] [blame] | 196 | "AdapterCreateDevice", |
Austin Eng | 5397f9f | 2021-12-14 23:22:46 +0000 | [diff] [blame] | 197 | "AdapterGetProperties", |
| 198 | "AdapterGetLimits", |
| 199 | "AdapterHasFeature", |
Austin Eng | 89ddadc | 2021-12-15 00:12:30 +0000 | [diff] [blame] | 200 | "AdapterEnumerateFeatures", |
Austin Eng | 5397f9f | 2021-12-14 23:22:46 +0000 | [diff] [blame] | 201 | "AdapterRequestDevice", |
Corentin Wallez | 0d52f80 | 2020-07-14 12:30:14 +0000 | [diff] [blame] | 202 | "BufferMapAsync", |
Loko Kung | a923921 | 2023-09-27 21:36:28 +0000 | [diff] [blame] | 203 | "BufferMapAsyncF", |
Corentin Wallez | 1325ab1 | 2020-06-30 11:51:14 +0000 | [diff] [blame] | 204 | "BufferGetConstMappedRange", |
| 205 | "BufferGetMappedRange", |
Takahiro | 915e55a | 2022-12-19 19:06:51 +0000 | [diff] [blame] | 206 | "BufferGetMapState", |
Corentin Wallez | d428187 | 2022-06-08 14:46:41 +0000 | [diff] [blame] | 207 | "BufferGetSize", |
| 208 | "BufferGetUsage", |
Corentin Wallez | f93fa6a | 2020-07-29 17:01:11 +0000 | [diff] [blame] | 209 | "DeviceCreateBuffer", |
Corentin Wallez | 2d3c2e3 | 2021-02-22 18:27:36 +0000 | [diff] [blame] | 210 | "DeviceCreateComputePipelineAsync", |
| 211 | "DeviceCreateRenderPipelineAsync", |
Austin Eng | bffc966 | 2021-09-17 15:36:00 +0000 | [diff] [blame] | 212 | "DeviceGetLimits", |
Austin Eng | 89ddadc | 2021-12-15 00:12:30 +0000 | [diff] [blame] | 213 | "DeviceHasFeature", |
| 214 | "DeviceEnumerateFeatures", |
Corentin Wallez | 540abab | 2019-11-22 13:18:22 +0000 | [diff] [blame] | 215 | "DevicePopErrorScope", |
Natasha Lee | 9bba4a9 | 2019-12-18 18:59:20 +0000 | [diff] [blame] | 216 | "DeviceSetDeviceLostCallback", |
Corentin Wallez | 540abab | 2019-11-22 13:18:22 +0000 | [diff] [blame] | 217 | "DeviceSetUncapturedErrorCallback", |
Zhaoming Jiang | b44000e | 2021-06-04 07:10:56 +0000 | [diff] [blame] | 218 | "DeviceSetLoggingCallback", |
Corentin Wallez | 7d256c7 | 2023-12-01 16:27:15 +0000 | [diff] [blame] | 219 | "InstanceEnumerateWGSLLanguageFeatures", |
| 220 | "InstanceHasWGSLLanguageFeature", |
Austin Eng | 5397f9f | 2021-12-14 23:22:46 +0000 | [diff] [blame] | 221 | "InstanceRequestAdapter", |
Loko Kung | 6f2cbf6 | 2023-11-07 03:22:42 +0000 | [diff] [blame] | 222 | "InstanceRequestAdapterF", |
Brandon Jones | 6f2bbe9 | 2021-04-05 23:34:17 +0000 | [diff] [blame] | 223 | "ShaderModuleGetCompilationInfo", |
Corentin Wallez | 45820ae | 2022-06-09 10:12:13 +0000 | [diff] [blame] | 224 | "QuerySetGetType", |
| 225 | "QuerySetGetCount", |
Corentin Wallez | c093db2 | 2021-02-25 13:17:01 +0000 | [diff] [blame] | 226 | "QueueOnSubmittedWorkDone", |
Kai Ninomiya | be98f27 | 2023-09-11 20:47:26 +0000 | [diff] [blame] | 227 | "QueueOnSubmittedWorkDoneF", |
Tomek Ponitka | a9c7d64 | 2020-07-08 18:42:30 +0000 | [diff] [blame] | 228 | "QueueWriteBuffer", |
Corentin Wallez | 736e97c | 2022-06-08 18:14:02 +0000 | [diff] [blame] | 229 | "QueueWriteTexture", |
| 230 | "TextureGetWidth", |
| 231 | "TextureGetHeight", |
| 232 | "TextureGetDepthOrArrayLayers", |
| 233 | "TextureGetMipLevelCount", |
| 234 | "TextureGetSampleCount", |
| 235 | "TextureGetDimension", |
| 236 | "TextureGetFormat", |
| 237 | "TextureGetUsage" |
Austin Eng | c7f416c | 2019-01-15 20:49:53 +0000 | [diff] [blame] | 238 | ], |
Austin Eng | 1139d1c | 2019-01-30 03:00:17 +0000 | [diff] [blame] | 239 | "client_handwritten_commands": [ |
Le Hoang Quyen | 99b8081 | 2023-03-24 15:50:50 +0000 | [diff] [blame] | 240 | "AdapterGetInstance", |
Corentin Wallez | 36cd174 | 2020-04-08 10:23:35 +0000 | [diff] [blame] | 241 | "BufferDestroy", |
Austin Eng | c7f416c | 2019-01-15 20:49:53 +0000 | [diff] [blame] | 242 | "BufferUnmap", |
Austin Eng | bf32435 | 2022-08-18 18:02:00 +0000 | [diff] [blame] | 243 | "DeviceGetAdapter", |
Corentin Wallez | 6d315da | 2021-02-04 15:33:42 +0000 | [diff] [blame] | 244 | "DeviceGetQueue", |
Le Hoang Quyen | 3355731 | 2023-04-20 20:42:05 +0000 | [diff] [blame] | 245 | "DeviceGetSupportedSurfaceUsage", |
Corentin Wallez | 943a1a2 | 2023-05-26 10:32:17 +0000 | [diff] [blame] | 246 | "DeviceInjectError", |
Kai Ninomiya | be98f27 | 2023-09-11 20:47:26 +0000 | [diff] [blame] | 247 | "InstanceProcessEvents", |
| 248 | "InstanceWaitAny", |
Corentin Wallez | 943a1a2 | 2023-05-26 10:32:17 +0000 | [diff] [blame] | 249 | "SwapChainGetCurrentTexture" |
Austin Eng | c7f416c | 2019-01-15 20:49:53 +0000 | [diff] [blame] | 250 | ], |
| 251 | "client_special_objects": [ |
Austin Eng | 5397f9f | 2021-12-14 23:22:46 +0000 | [diff] [blame] | 252 | "Adapter", |
Austin Eng | c7f416c | 2019-01-15 20:49:53 +0000 | [diff] [blame] | 253 | "Buffer", |
| 254 | "Device", |
Austin Eng | 5397f9f | 2021-12-14 23:22:46 +0000 | [diff] [blame] | 255 | "Instance", |
Corentin Wallez | 45820ae | 2022-06-09 10:12:13 +0000 | [diff] [blame] | 256 | "QuerySet", |
Brandon Jones | 6f2bbe9 | 2021-04-05 23:34:17 +0000 | [diff] [blame] | 257 | "Queue", |
Corentin Wallez | 736e97c | 2022-06-08 18:14:02 +0000 | [diff] [blame] | 258 | "ShaderModule", |
Corentin Wallez | 943a1a2 | 2023-05-26 10:32:17 +0000 | [diff] [blame] | 259 | "SwapChain", |
Corentin Wallez | 736e97c | 2022-06-08 18:14:02 +0000 | [diff] [blame] | 260 | "Texture" |
Austin Eng | c7f416c | 2019-01-15 20:49:53 +0000 | [diff] [blame] | 261 | ], |
| 262 | "server_custom_pre_handler_commands": [ |
Corentin Wallez | 36cd174 | 2020-04-08 10:23:35 +0000 | [diff] [blame] | 263 | "BufferDestroy", |
Austin Eng | c7f416c | 2019-01-15 20:49:53 +0000 | [diff] [blame] | 264 | "BufferUnmap" |
| 265 | ], |
Austin Eng | 62e8397 | 2019-02-11 19:39:46 +0000 | [diff] [blame] | 266 | "server_handwritten_commands": [ |
Austin Eng | c7f416c | 2019-01-15 20:49:53 +0000 | [diff] [blame] | 267 | "QueueSignal" |
| 268 | ], |
| 269 | "server_reverse_lookup_objects": [ |
Austin Eng | c7f416c | 2019-01-15 20:49:53 +0000 | [diff] [blame] | 270 | ] |
| 271 | } |
| 272 | } |