mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-10-05 01:19:39 +00:00
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>