Add support for windows SwapChainPanel in SwapChain and Surface

Add SurfaceDescriptorFromWindowsSwapChainPanel structure in codegen.
Add WindowsSwapChainPanel surface type.
Add support for WindowsSwapChainPanel surface in SwapChain.

Bug: dawn:766
Change-Id: I1d59262b912ee445c90a7ec6e22b442f2fb1bf00
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/53840
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
This commit is contained in:
陈俊嘉
2021-06-09 08:44:07 +00:00
committed by Dawn LUCI CQ
parent 9c375faf4c
commit 11379a3b59
6 changed files with 67 additions and 3 deletions

View File

@@ -32,4 +32,7 @@
// Macros defined to produce compiler intrinsics
#undef MemoryBarrier
// Macro defined as an alias of GetTickCount
#undef GetCurrentTime
#endif // COMMON_WINDOWS_WITH_UNDEFS_H_