Remove CanvasColorParams from WebGPU
Some WebGPU ImageBitmap helper functions use CanvasColorParams to determine the pixel format and color space of an ImageBitmap. But ImageBitmap already has a SkImageInfo, which specifies these things. So we're specifying the same thing twice, in two potentially incompatible ways. Remove one. Bug: 1119507 Change-Id: Iadeedb9bb09831d69e6012763eb5039cd8840a0a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2373450Reviewed-by:Fernando Serboncini <fserb@chromium.org> Reviewed-by:
Kai Ninomiya <kainino@chromium.org> Reviewed-by:
Yi Xu <yiyix@chromium.org> Commit-Queue: ccameron <ccameron@chromium.org> Cr-Commit-Position: refs/heads/master@{#803963}
Showing
Please register or sign in to comment