Add internal usage for copyTextureForBrowser
Add an internal usage option for copyTextureForBrowserOption
allowing internal calls from call to use canvas context
texture as source/destination.
Bug: chromium:1331139
Change-Id: Ida8421b3962a6434e8ef57c581c7a2e1d607954c
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/94985
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Shrek Shao <shrekshao@google.com>
Reviewed-by: Loko Kung <lokokung@google.com>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
diff --git a/dawn.json b/dawn.json
index ec3cb28..1fa746a 100644
--- a/dawn.json
+++ b/dawn.json
@@ -922,7 +922,8 @@
"length": 9, "optional": true},
{"name": "dst transfer function parameters", "type": "float", "annotation": "const*",
"length": 7, "optional": true},
- {"name": "dst alpha mode", "type": "alpha mode", "default": "unpremultiplied"}
+ {"name": "dst alpha mode", "type": "alpha mode", "default": "unpremultiplied"},
+ {"name": "internal usage", "type": "bool", "default": "false"}
]
},
"create compute pipeline async callback": {