mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-08-23 20:22:08 +00:00
This is a reland of commit f392c38b67ca8456d448076b70dca87db02bb990 The new added structure ImageCopyExternalTexture used in dawn only. Adding tags : ["dawn"] to fix compile error. Original change's description: > Add CopyExternalTextureForBrowser() > > This API accept ExternalTexture object as copy source and a dawn 2D texture > as destination. It has similar functions as CopyTextureForBrowser(). > The API is used to support cases that source images are multi-planar format > and want to do conversion and uploading to a dawn 2D texture. > > Bug: chromium:1361363 > Change-Id: Ie390acfb95b47d417f4a8faa2d1e19163d549154 > Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/105880 > Commit-Queue: Shaobo Yan <shaobo.yan@intel.com> > Reviewed-by: Austin Eng <enga@chromium.org> > Reviewed-by: Corentin Wallez <cwallez@chromium.org> Bug: chromium:1361363 Change-Id: I213c3dc7fe81ccc35050592e491995d0d5425f6e Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/106883 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Shaobo Yan <shaobo.yan@intel.com>