Updated signature of GPUCanvasContext.getSwapChainPreferredFormat
Changes the function to accept a GPUAdapter instead of a GPUDevice and return a GPUTextureFormat synchronously rather than via a Promise. The previous function signature is left in place with a deprecation warning. Bug: 1154326 Change-Id: I0593d04933b5bf6d91c6428239fd04a32170210b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2566885Reviewed-by:Kai Ninomiya <kainino@chromium.org> Reviewed-by:
Corentin Wallez <cwallez@chromium.org> Commit-Queue: Brandon Jones <bajones@chromium.org> Cr-Commit-Position: refs/heads/master@{#833099}
Showing
Please register or sign in to comment