dawn.json: remove leftovers from implementation-based swapchains.
This also removes the need for special casing the swapchain creation
proc in the fuzzers because it is no longer possible to have a valid
CreateSwapChain call since the wire can't create a surface (which is no
longer optional).
Bug: dawn:269
Change-Id: Icc6ed5e82c1d5382628d71d212640d238cfba348
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/126425
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Loko Kung <lokokung@google.com>
diff --git a/dawn.json b/dawn.json
index 6b4804f..d0dd885 100644
--- a/dawn.json
+++ b/dawn.json
@@ -1124,16 +1124,6 @@
},
{
"name": "create swap chain",
- "tags": ["dawn"],
- "returns": "swap chain",
- "args": [
- {"name": "surface", "type": "surface", "optional": true},
- {"name": "descriptor", "type": "swap chain descriptor", "annotation": "const*"}
- ]
- },
- {
- "name": "create swap chain",
- "tags": ["upstream", "emscripten"],
"returns": "swap chain",
"args": [
{"name": "surface", "type": "surface"},
@@ -2599,16 +2589,6 @@
"swap chain": {
"category": "object",
"methods": [
- {
- "name": "configure",
- "tags": ["dawn"],
- "args": [
- {"name": "format", "type": "texture format"},
- {"name": "allowed usage", "type": "texture usage"},
- {"name": "width", "type": "uint32_t"},
- {"name": "height", "type": "uint32_t"}
- ]
- },
{"name": "get current texture view", "returns": "texture view"},
{"name": "present"}
]
@@ -2622,8 +2602,7 @@
{"name": "format", "type": "texture format"},
{"name": "width", "type": "uint32_t"},
{"name": "height", "type": "uint32_t"},
- {"name": "present mode", "type": "present mode"},
- {"name": "implementation", "type": "uint64_t", "default": 0, "tags": ["deprecated"]}
+ {"name": "present mode", "type": "present mode"}
]
},
"s type": {