Austin Eng | c7f416c | 2019-01-15 20:49:53 +0000 | [diff] [blame] | 1 | { |
| 2 | "_comment": [ |
| 3 | "Copyright 2019 The Dawn Authors", |
| 4 | "", |
| 5 | "Licensed under the Apache License, Version 2.0 (the \"License\");", |
| 6 | "you may not use this file except in compliance with the License.", |
| 7 | "You may obtain a copy of the License at", |
| 8 | "", |
| 9 | " http://www.apache.org/licenses/LICENSE-2.0", |
| 10 | "", |
| 11 | "Unless required by applicable law or agreed to in writing, software", |
| 12 | "distributed under the License is distributed on an \"AS IS\" BASIS,", |
| 13 | "WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.", |
| 14 | "See the License for the specific language governing permissions and", |
| 15 | "limitations under the License." |
| 16 | ], |
Corentin Wallez | 6d0438c | 2021-03-24 20:29:42 +0000 | [diff] [blame] | 17 | |
Ben Clayton | 26c31f6 | 2022-01-27 18:33:47 +0000 | [diff] [blame] | 18 | "_doc": "See docs/dawn/codegen.md", |
Corentin Wallez | 6d0438c | 2021-03-24 20:29:42 +0000 | [diff] [blame] | 19 | |
Austin Eng | c7f416c | 2019-01-15 20:49:53 +0000 | [diff] [blame] | 20 | "commands": { |
| 21 | "buffer map async": [ |
Brendon Tiszka | 27521c6 | 2023-05-15 22:22:07 +0000 | [diff] [blame] | 22 | { "name": "buffer id", "type": "ObjectId", "id_type": "buffer" }, |
Loko Kung | a923921 | 2023-09-27 21:36:28 +0000 | [diff] [blame] | 23 | { "name": "future", "type": "future" }, |
Corentin Wallez | c15c6eb | 2020-07-16 17:07:05 +0000 | [diff] [blame] | 24 | { "name": "mode", "type": "map mode" }, |
Austin Eng | f104fea | 2021-02-18 22:36:19 +0000 | [diff] [blame] | 25 | { "name": "offset", "type": "uint64_t"}, |
shrekshao | 6e680fc | 2021-07-08 22:48:57 +0000 | [diff] [blame] | 26 | { "name": "size", "type": "uint64_t"} |
Austin Eng | c7f416c | 2019-01-15 20:49:53 +0000 | [diff] [blame] | 27 | ], |
| 28 | "buffer update mapped data": [ |
Brendon Tiszka | 27521c6 | 2023-05-15 22:22:07 +0000 | [diff] [blame] | 29 | { "name": "buffer id", "type": "ObjectId", "id_type": "buffer" }, |
shrekshao | 6e680fc | 2021-07-08 22:48:57 +0000 | [diff] [blame] | 30 | { "name": "write data update info length", "type": "uint64_t" }, |
| 31 | { "name": "write data update info", "type": "uint8_t", "annotation": "const*", "length": "write data update info length", "skip_serialize": true}, |
| 32 | { "name": "offset", "type": "uint64_t"}, |
| 33 | { "name": "size", "type": "uint64_t"} |
Austin Eng | c7f416c | 2019-01-15 20:49:53 +0000 | [diff] [blame] | 34 | ], |
Corentin Wallez | f93fa6a | 2020-07-29 17:01:11 +0000 | [diff] [blame] | 35 | "device create buffer": [ |
Brendon Tiszka | 27521c6 | 2023-05-15 22:22:07 +0000 | [diff] [blame] | 36 | { "name": "device id", "type": "ObjectId", "id_type": "device" }, |
Austin Eng | 76e3de4 | 2019-05-22 18:49:59 +0000 | [diff] [blame] | 37 | { "name": "descriptor", "type": "buffer descriptor", "annotation": "const*" }, |
Austin Eng | 6a5418a | 2019-07-19 16:01:48 +0000 | [diff] [blame] | 38 | { "name": "result", "type": "ObjectHandle", "handle_type": "buffer" }, |
shrekshao | 6e680fc | 2021-07-08 22:48:57 +0000 | [diff] [blame] | 39 | { "name": "read handle create info length", "type": "uint64_t" }, |
| 40 | { "name": "read handle create info", "type": "uint8_t", "annotation": "const*", "length": "read handle create info length", "skip_serialize": true}, |
| 41 | { "name": "write handle create info length", "type": "uint64_t" }, |
| 42 | { "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] | 43 | ], |
Corentin Wallez | 2d3c2e3 | 2021-02-22 18:27:36 +0000 | [diff] [blame] | 44 | "device create compute pipeline async": [ |
Brendon Tiszka | 27521c6 | 2023-05-15 22:22:07 +0000 | [diff] [blame] | 45 | { "name": "device id", "type": "ObjectId", "id_type": "device"}, |
Jiawei Shao | ae5f950 | 2020-10-19 01:56:08 +0000 | [diff] [blame] | 46 | { "name": "request serial", "type": "uint64_t" }, |
| 47 | { "name": "pipeline object handle", "type": "ObjectHandle", "handle_type": "compute pipeline"}, |
| 48 | { "name": "descriptor", "type": "compute pipeline descriptor", "annotation": "const*"} |
| 49 | ], |
Corentin Wallez | 2d3c2e3 | 2021-02-22 18:27:36 +0000 | [diff] [blame] | 50 | "device create render pipeline async": [ |
Brendon Tiszka | 27521c6 | 2023-05-15 22:22:07 +0000 | [diff] [blame] | 51 | { "name": "device id", "type": "ObjectId", "id_type": "device" }, |
Jiawei Shao | 03e1400 | 2020-10-21 04:37:41 +0000 | [diff] [blame] | 52 | { "name": "request serial", "type": "uint64_t" }, |
| 53 | { "name": "pipeline object handle", "type": "ObjectHandle", "handle_type": "render pipeline"}, |
Brandon Jones | 41c87d9 | 2021-05-21 05:01:38 +0000 | [diff] [blame] | 54 | { "name": "descriptor", "type": "render pipeline descriptor", "annotation": "const*"} |
Jiawei Shao | 03e1400 | 2020-10-21 04:37:41 +0000 | [diff] [blame] | 55 | ], |
Austin Eng | 45238d7 | 2019-09-04 22:54:03 +0000 | [diff] [blame] | 56 | "device pop error scope": [ |
Brendon Tiszka | 27521c6 | 2023-05-15 22:22:07 +0000 | [diff] [blame] | 57 | { "name": "device id", "type": "ObjectId", "id_type": "device" }, |
Austin Eng | 45238d7 | 2019-09-04 22:54:03 +0000 | [diff] [blame] | 58 | { "name": "request serial", "type": "uint64_t" } |
| 59 | ], |
Austin Eng | c7f416c | 2019-01-15 20:49:53 +0000 | [diff] [blame] | 60 | "destroy object": [ |
| 61 | { "name": "object type", "type": "ObjectType" }, |
| 62 | { "name": "object id", "type": "ObjectId" } |
Corentin Wallez | 47a3341 | 2020-06-02 09:24:39 +0000 | [diff] [blame] | 63 | ], |
Corentin Wallez | c093db2 | 2021-02-25 13:17:01 +0000 | [diff] [blame] | 64 | "queue on submitted work done": [ |
Brendon Tiszka | 27521c6 | 2023-05-15 22:22:07 +0000 | [diff] [blame] | 65 | { "name": "queue id", "type": "ObjectId", "id_type": "queue" }, |
Corentin Wallez | c093db2 | 2021-02-25 13:17:01 +0000 | [diff] [blame] | 66 | { "name": "signal value", "type": "uint64_t" }, |
Loko Kung | a923921 | 2023-09-27 21:36:28 +0000 | [diff] [blame] | 67 | { "name": "future", "type": "future" } |
Corentin Wallez | c093db2 | 2021-02-25 13:17:01 +0000 | [diff] [blame] | 68 | ], |
Jiawei Shao | b6d80e0 | 2021-12-09 02:42:47 +0000 | [diff] [blame] | 69 | "queue write buffer": [ |
Brendon Tiszka | 27521c6 | 2023-05-15 22:22:07 +0000 | [diff] [blame] | 70 | {"name": "queue id", "type": "ObjectId", "id_type": "queue" }, |
| 71 | {"name": "buffer id", "type": "ObjectId", "id_type": "buffer" }, |
Corentin Wallez | 47a3341 | 2020-06-02 09:24:39 +0000 | [diff] [blame] | 72 | {"name": "buffer offset", "type": "uint64_t"}, |
Jiawei Shao | 1f25ea9 | 2021-12-10 02:05:28 +0000 | [diff] [blame] | 73 | {"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] | 74 | {"name": "size", "type": "uint64_t"} |
Tomek Ponitka | a9c7d64 | 2020-07-08 18:42:30 +0000 | [diff] [blame] | 75 | ], |
Jiawei Shao | b6d80e0 | 2021-12-09 02:42:47 +0000 | [diff] [blame] | 76 | "queue write texture": [ |
Brendon Tiszka | 27521c6 | 2023-05-15 22:22:07 +0000 | [diff] [blame] | 77 | {"name": "queue id", "type": "ObjectId", "id_type": "queue" }, |
Corentin Wallez | 8091584 | 2021-03-04 18:13:45 +0000 | [diff] [blame] | 78 | {"name": "destination", "type": "image copy texture", "annotation": "const*"}, |
Jiawei Shao | 1f25ea9 | 2021-12-10 02:05:28 +0000 | [diff] [blame] | 79 | {"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] | 80 | {"name": "data size", "type": "uint64_t"}, |
Tomek Ponitka | a9c7d64 | 2020-07-08 18:42:30 +0000 | [diff] [blame] | 81 | {"name": "data layout", "type": "texture data layout", "annotation": "const*"}, |
| 82 | {"name": "writeSize", "type": "extent 3D", "annotation": "const*"} |
Brandon Jones | 6f2bbe9 | 2021-04-05 23:34:17 +0000 | [diff] [blame] | 83 | ], |
| 84 | "shader module get compilation info": [ |
Brendon Tiszka | 27521c6 | 2023-05-15 22:22:07 +0000 | [diff] [blame] | 85 | { "name": "shader module id", "type": "ObjectId", "id_type": "shader module" }, |
Brandon Jones | 6f2bbe9 | 2021-04-05 23:34:17 +0000 | [diff] [blame] | 86 | { "name": "request serial", "type": "uint64_t" } |
Austin Eng | 07e7667 | 2021-12-15 21:52:17 +0000 | [diff] [blame] | 87 | ], |
| 88 | "instance request adapter": [ |
Brendon Tiszka | 27521c6 | 2023-05-15 22:22:07 +0000 | [diff] [blame] | 89 | { "name": "instance id", "type": "ObjectId", "id_type": "instance" }, |
Austin Eng | 07e7667 | 2021-12-15 21:52:17 +0000 | [diff] [blame] | 90 | { "name": "request serial", "type": "uint64_t" }, |
| 91 | { "name": "adapter object handle", "type": "ObjectHandle", "handle_type": "adapter"}, |
Gregg Tavares | 0bdf2da | 2023-05-24 12:39:46 +0000 | [diff] [blame] | 92 | { "name": "options", "type": "request adapter options", "annotation": "const*", "optional": true } |
Austin Eng | 07e7667 | 2021-12-15 21:52:17 +0000 | [diff] [blame] | 93 | ], |
| 94 | "adapter request device": [ |
Brendon Tiszka | 27521c6 | 2023-05-15 22:22:07 +0000 | [diff] [blame] | 95 | { "name": "adapter id", "type": "ObjectId", "id_type": "adapter" }, |
Austin Eng | 07e7667 | 2021-12-15 21:52:17 +0000 | [diff] [blame] | 96 | { "name": "request serial", "type": "uint64_t" }, |
| 97 | { "name": "device object handle", "type": "ObjectHandle", "handle_type": "device"}, |
| 98 | { "name": "descriptor", "type": "device descriptor", "annotation": "const*" } |
Austin Eng | c7f416c | 2019-01-15 20:49:53 +0000 | [diff] [blame] | 99 | ] |
| 100 | }, |
| 101 | "return commands": { |
Corentin Wallez | 450b6f4 | 2020-07-17 07:38:36 +0000 | [diff] [blame] | 102 | "buffer map async callback": [ |
Austin Eng | 1139d1c | 2019-01-30 03:00:17 +0000 | [diff] [blame] | 103 | { "name": "buffer", "type": "ObjectHandle", "handle_type": "buffer" }, |
Loko Kung | a923921 | 2023-09-27 21:36:28 +0000 | [diff] [blame] | 104 | { "name": "future", "type": "future" }, |
Austin Eng | c7f416c | 2019-01-15 20:49:53 +0000 | [diff] [blame] | 105 | { "name": "status", "type": "uint32_t" }, |
shrekshao | 6e680fc | 2021-07-08 22:48:57 +0000 | [diff] [blame] | 106 | { "name": "read data update info length", "type": "uint64_t" }, |
| 107 | { "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] | 108 | ], |
Corentin Wallez | 2d3c2e3 | 2021-02-22 18:27:36 +0000 | [diff] [blame] | 109 | "device create compute pipeline async callback": [ |
Austin Eng | 4d66fb2 | 2021-01-25 08:38:47 +0000 | [diff] [blame] | 110 | { "name": "device", "type": "ObjectHandle", "handle_type": "device" }, |
Jiawei Shao | ae5f950 | 2020-10-19 01:56:08 +0000 | [diff] [blame] | 111 | { "name": "request serial", "type": "uint64_t" }, |
Corentin Wallez | 2d3c2e3 | 2021-02-22 18:27:36 +0000 | [diff] [blame] | 112 | { "name": "status", "type": "create pipeline async status" }, |
Jiawei Shao | 03e1400 | 2020-10-21 04:37:41 +0000 | [diff] [blame] | 113 | { "name": "message", "type": "char", "annotation": "const*", "length": "strlen" } |
| 114 | ], |
Corentin Wallez | 2d3c2e3 | 2021-02-22 18:27:36 +0000 | [diff] [blame] | 115 | "device create render pipeline async callback": [ |
Austin Eng | 4d66fb2 | 2021-01-25 08:38:47 +0000 | [diff] [blame] | 116 | { "name": "device", "type": "ObjectHandle", "handle_type": "device" }, |
Jiawei Shao | 03e1400 | 2020-10-21 04:37:41 +0000 | [diff] [blame] | 117 | { "name": "request serial", "type": "uint64_t" }, |
Corentin Wallez | 2d3c2e3 | 2021-02-22 18:27:36 +0000 | [diff] [blame] | 118 | { "name": "status", "type": "create pipeline async status" }, |
Jiawei Shao | 03e1400 | 2020-10-21 04:37:41 +0000 | [diff] [blame] | 119 | { "name": "message", "type": "char", "annotation": "const*", "length": "strlen" } |
Jiawei Shao | ae5f950 | 2020-10-19 01:56:08 +0000 | [diff] [blame] | 120 | ], |
Austin Eng | 45ea7e6 | 2019-08-27 21:43:56 +0000 | [diff] [blame] | 121 | "device uncaptured error callback": [ |
Austin Eng | 4d66fb2 | 2021-01-25 08:38:47 +0000 | [diff] [blame] | 122 | { "name": "device", "type": "ObjectHandle", "handle_type": "device" }, |
Austin Eng | cb0cb65 | 2019-08-27 21:41:56 +0000 | [diff] [blame] | 123 | { "name": "type", "type": "error type"}, |
Austin Eng | c7f416c | 2019-01-15 20:49:53 +0000 | [diff] [blame] | 124 | { "name": "message", "type": "char", "annotation": "const*", "length": "strlen" } |
| 125 | ], |
Zhaoming Jiang | b44000e | 2021-06-04 07:10:56 +0000 | [diff] [blame] | 126 | "device logging callback": [ |
| 127 | { "name": "device", "type": "ObjectHandle", "handle_type": "device" }, |
| 128 | { "name": "type", "type": "logging type"}, |
| 129 | { "name": "message", "type": "char", "annotation": "const*", "length": "strlen" } |
| 130 | ], |
Natasha Lee | 9bba4a9 | 2019-12-18 18:59:20 +0000 | [diff] [blame] | 131 | "device lost callback" : [ |
Austin Eng | 4d66fb2 | 2021-01-25 08:38:47 +0000 | [diff] [blame] | 132 | { "name": "device", "type": "ObjectHandle", "handle_type": "device" }, |
Kai Ninomiya | 51791e0 | 2021-09-28 11:52:17 +0000 | [diff] [blame] | 133 | { "name": "reason", "type": "device lost reason" }, |
Natasha Lee | 9bba4a9 | 2019-12-18 18:59:20 +0000 | [diff] [blame] | 134 | { "name": "message", "type": "char", "annotation": "const*", "length": "strlen" } |
| 135 | ], |
Austin Eng | 45238d7 | 2019-09-04 22:54:03 +0000 | [diff] [blame] | 136 | "device pop error scope callback": [ |
Austin Eng | 4d66fb2 | 2021-01-25 08:38:47 +0000 | [diff] [blame] | 137 | { "name": "device", "type": "ObjectHandle", "handle_type": "device" }, |
Austin Eng | 45238d7 | 2019-09-04 22:54:03 +0000 | [diff] [blame] | 138 | { "name": "request serial", "type": "uint64_t" }, |
| 139 | { "name": "type", "type": "error type" }, |
| 140 | { "name": "message", "type": "char", "annotation": "const*", "length": "strlen" } |
| 141 | ], |
Corentin Wallez | c093db2 | 2021-02-25 13:17:01 +0000 | [diff] [blame] | 142 | "queue work done callback": [ |
| 143 | { "name": "queue", "type": "ObjectHandle", "handle_type": "queue" }, |
Loko Kung | a923921 | 2023-09-27 21:36:28 +0000 | [diff] [blame] | 144 | { "name": "future", "type": "future" }, |
Corentin Wallez | c093db2 | 2021-02-25 13:17:01 +0000 | [diff] [blame] | 145 | { "name": "status", "type": "queue work done status" } |
Brandon Jones | 6f2bbe9 | 2021-04-05 23:34:17 +0000 | [diff] [blame] | 146 | ], |
| 147 | "shader module get compilation info callback": [ |
| 148 | { "name": "shader module", "type": "ObjectHandle", "handle_type": "shader module" }, |
| 149 | { "name": "request serial", "type": "uint64_t" }, |
| 150 | { "name": "status", "type": "compilation info request status" }, |
| 151 | { "name": "info", "type": "compilation info", "annotation": "const*", "optional": true } |
Austin Eng | 07e7667 | 2021-12-15 21:52:17 +0000 | [diff] [blame] | 152 | ], |
| 153 | "instance request adapter callback": [ |
| 154 | { "name": "instance", "type": "ObjectHandle", "handle_type": "instance" }, |
| 155 | { "name": "request serial", "type": "uint64_t" }, |
| 156 | { "name": "status", "type": "request adapter status" }, |
| 157 | { "name": "message", "type": "char", "annotation": "const*", "length": "strlen", "optional": true }, |
| 158 | { "name": "properties", "type": "adapter properties", "annotation": "const*", "optional": "true" }, |
| 159 | { "name": "limits", "type": "supported limits", "annotation": "const*", "optional": "true" }, |
| 160 | { "name": "features count", "type": "uint32_t"}, |
| 161 | { "name": "features", "type": "feature name", "annotation": "const*", "length": "features count"} |
| 162 | ], |
| 163 | "adapter request device callback": [ |
| 164 | { "name": "adapter", "type": "ObjectHandle", "handle_type": "adapter" }, |
| 165 | { "name": "request serial", "type": "uint64_t" }, |
| 166 | { "name": "status", "type": "request device status" }, |
| 167 | { "name": "message", "type": "char", "annotation": "const*", "length": "strlen", "optional": true }, |
| 168 | { "name": "limits", "type": "supported limits", "annotation": "const*", "optional": "true" }, |
| 169 | { "name": "features count", "type": "uint32_t"}, |
| 170 | { "name": "features", "type": "feature name", "annotation": "const*", "length": "features count"} |
Austin Eng | c7f416c | 2019-01-15 20:49:53 +0000 | [diff] [blame] | 171 | ] |
| 172 | }, |
| 173 | "special items": { |
Corentin Wallez | 67ab1ea | 2019-06-06 16:19:15 +0000 | [diff] [blame] | 174 | "client_side_structures": [ |
Kai Ninomiya | be98f27 | 2023-09-11 20:47:26 +0000 | [diff] [blame] | 175 | "FutureWaitInfo", |
Corentin Wallez | 3a1746e | 2020-01-15 13:14:12 +0000 | [diff] [blame] | 176 | "SurfaceDescriptorFromMetalLayer", |
| 177 | "SurfaceDescriptorFromWindowsHWND", |
Shrek Shao | 5b9b986 | 2022-03-09 19:04:21 +0000 | [diff] [blame] | 178 | "SurfaceDescriptorFromXlibWindow", |
陈俊嘉 | 11379a3 | 2021-06-09 08:44:07 +0000 | [diff] [blame] | 179 | "SurfaceDescriptorFromWindowsCoreWindow", |
Alexander Vestin | f2556ab | 2022-03-25 13:18:46 +0000 | [diff] [blame] | 180 | "SurfaceDescriptorFromWindowsSwapChainPanel", |
| 181 | "SurfaceDescriptorFromAndroidNativeWindow" |
Corentin Wallez | 67ab1ea | 2019-06-06 16:19:15 +0000 | [diff] [blame] | 182 | ], |
Austin Eng | c7f416c | 2019-01-15 20:49:53 +0000 | [diff] [blame] | 183 | "client_side_commands": [ |
Austin Eng | 2f218e2 | 2021-12-22 19:02:23 +0000 | [diff] [blame] | 184 | "AdapterCreateDevice", |
Austin Eng | 5397f9f | 2021-12-14 23:22:46 +0000 | [diff] [blame] | 185 | "AdapterGetProperties", |
| 186 | "AdapterGetLimits", |
| 187 | "AdapterHasFeature", |
Austin Eng | 89ddadc | 2021-12-15 00:12:30 +0000 | [diff] [blame] | 188 | "AdapterEnumerateFeatures", |
Austin Eng | 5397f9f | 2021-12-14 23:22:46 +0000 | [diff] [blame] | 189 | "AdapterRequestDevice", |
Corentin Wallez | 0d52f80 | 2020-07-14 12:30:14 +0000 | [diff] [blame] | 190 | "BufferMapAsync", |
Loko Kung | a923921 | 2023-09-27 21:36:28 +0000 | [diff] [blame] | 191 | "BufferMapAsyncF", |
Corentin Wallez | 1325ab1 | 2020-06-30 11:51:14 +0000 | [diff] [blame] | 192 | "BufferGetConstMappedRange", |
| 193 | "BufferGetMappedRange", |
Takahiro | 915e55a | 2022-12-19 19:06:51 +0000 | [diff] [blame] | 194 | "BufferGetMapState", |
Corentin Wallez | d428187 | 2022-06-08 14:46:41 +0000 | [diff] [blame] | 195 | "BufferGetSize", |
| 196 | "BufferGetUsage", |
Corentin Wallez | f93fa6a | 2020-07-29 17:01:11 +0000 | [diff] [blame] | 197 | "DeviceCreateBuffer", |
Corentin Wallez | 2d3c2e3 | 2021-02-22 18:27:36 +0000 | [diff] [blame] | 198 | "DeviceCreateComputePipelineAsync", |
| 199 | "DeviceCreateRenderPipelineAsync", |
Austin Eng | bffc966 | 2021-09-17 15:36:00 +0000 | [diff] [blame] | 200 | "DeviceGetLimits", |
Austin Eng | 89ddadc | 2021-12-15 00:12:30 +0000 | [diff] [blame] | 201 | "DeviceHasFeature", |
| 202 | "DeviceEnumerateFeatures", |
Corentin Wallez | 540abab | 2019-11-22 13:18:22 +0000 | [diff] [blame] | 203 | "DevicePopErrorScope", |
Natasha Lee | 9bba4a9 | 2019-12-18 18:59:20 +0000 | [diff] [blame] | 204 | "DeviceSetDeviceLostCallback", |
Corentin Wallez | 540abab | 2019-11-22 13:18:22 +0000 | [diff] [blame] | 205 | "DeviceSetUncapturedErrorCallback", |
Zhaoming Jiang | b44000e | 2021-06-04 07:10:56 +0000 | [diff] [blame] | 206 | "DeviceSetLoggingCallback", |
Austin Eng | 5397f9f | 2021-12-14 23:22:46 +0000 | [diff] [blame] | 207 | "InstanceRequestAdapter", |
Brandon Jones | 6f2bbe9 | 2021-04-05 23:34:17 +0000 | [diff] [blame] | 208 | "ShaderModuleGetCompilationInfo", |
Corentin Wallez | 45820ae | 2022-06-09 10:12:13 +0000 | [diff] [blame] | 209 | "QuerySetGetType", |
| 210 | "QuerySetGetCount", |
Corentin Wallez | c093db2 | 2021-02-25 13:17:01 +0000 | [diff] [blame] | 211 | "QueueOnSubmittedWorkDone", |
Kai Ninomiya | be98f27 | 2023-09-11 20:47:26 +0000 | [diff] [blame] | 212 | "QueueOnSubmittedWorkDoneF", |
Tomek Ponitka | a9c7d64 | 2020-07-08 18:42:30 +0000 | [diff] [blame] | 213 | "QueueWriteBuffer", |
Corentin Wallez | 736e97c | 2022-06-08 18:14:02 +0000 | [diff] [blame] | 214 | "QueueWriteTexture", |
| 215 | "TextureGetWidth", |
| 216 | "TextureGetHeight", |
| 217 | "TextureGetDepthOrArrayLayers", |
| 218 | "TextureGetMipLevelCount", |
| 219 | "TextureGetSampleCount", |
| 220 | "TextureGetDimension", |
| 221 | "TextureGetFormat", |
| 222 | "TextureGetUsage" |
Austin Eng | c7f416c | 2019-01-15 20:49:53 +0000 | [diff] [blame] | 223 | ], |
Austin Eng | 1139d1c | 2019-01-30 03:00:17 +0000 | [diff] [blame] | 224 | "client_handwritten_commands": [ |
Le Hoang Quyen | 99b8081 | 2023-03-24 15:50:50 +0000 | [diff] [blame] | 225 | "AdapterGetInstance", |
Corentin Wallez | 36cd174 | 2020-04-08 10:23:35 +0000 | [diff] [blame] | 226 | "BufferDestroy", |
Austin Eng | c7f416c | 2019-01-15 20:49:53 +0000 | [diff] [blame] | 227 | "BufferUnmap", |
Austin Eng | bf32435 | 2022-08-18 18:02:00 +0000 | [diff] [blame] | 228 | "DeviceGetAdapter", |
Corentin Wallez | 6d315da | 2021-02-04 15:33:42 +0000 | [diff] [blame] | 229 | "DeviceGetQueue", |
Le Hoang Quyen | 3355731 | 2023-04-20 20:42:05 +0000 | [diff] [blame] | 230 | "DeviceGetSupportedSurfaceUsage", |
Corentin Wallez | 943a1a2 | 2023-05-26 10:32:17 +0000 | [diff] [blame] | 231 | "DeviceInjectError", |
Kai Ninomiya | be98f27 | 2023-09-11 20:47:26 +0000 | [diff] [blame] | 232 | "InstanceProcessEvents", |
| 233 | "InstanceWaitAny", |
Corentin Wallez | 943a1a2 | 2023-05-26 10:32:17 +0000 | [diff] [blame] | 234 | "SwapChainGetCurrentTexture" |
Austin Eng | c7f416c | 2019-01-15 20:49:53 +0000 | [diff] [blame] | 235 | ], |
| 236 | "client_special_objects": [ |
Austin Eng | 5397f9f | 2021-12-14 23:22:46 +0000 | [diff] [blame] | 237 | "Adapter", |
Austin Eng | c7f416c | 2019-01-15 20:49:53 +0000 | [diff] [blame] | 238 | "Buffer", |
| 239 | "Device", |
Austin Eng | 5397f9f | 2021-12-14 23:22:46 +0000 | [diff] [blame] | 240 | "Instance", |
Corentin Wallez | 45820ae | 2022-06-09 10:12:13 +0000 | [diff] [blame] | 241 | "QuerySet", |
Brandon Jones | 6f2bbe9 | 2021-04-05 23:34:17 +0000 | [diff] [blame] | 242 | "Queue", |
Corentin Wallez | 736e97c | 2022-06-08 18:14:02 +0000 | [diff] [blame] | 243 | "ShaderModule", |
Corentin Wallez | 943a1a2 | 2023-05-26 10:32:17 +0000 | [diff] [blame] | 244 | "SwapChain", |
Corentin Wallez | 736e97c | 2022-06-08 18:14:02 +0000 | [diff] [blame] | 245 | "Texture" |
Austin Eng | c7f416c | 2019-01-15 20:49:53 +0000 | [diff] [blame] | 246 | ], |
| 247 | "server_custom_pre_handler_commands": [ |
Corentin Wallez | 36cd174 | 2020-04-08 10:23:35 +0000 | [diff] [blame] | 248 | "BufferDestroy", |
Austin Eng | c7f416c | 2019-01-15 20:49:53 +0000 | [diff] [blame] | 249 | "BufferUnmap" |
| 250 | ], |
Austin Eng | 62e8397 | 2019-02-11 19:39:46 +0000 | [diff] [blame] | 251 | "server_handwritten_commands": [ |
Austin Eng | c7f416c | 2019-01-15 20:49:53 +0000 | [diff] [blame] | 252 | "QueueSignal" |
| 253 | ], |
| 254 | "server_reverse_lookup_objects": [ |
Austin Eng | c7f416c | 2019-01-15 20:49:53 +0000 | [diff] [blame] | 255 | ] |
| 256 | } |
| 257 | } |