Shaobo Yan
c40f04b85b
Support *-srgb format as dst formats in CopyTextureForBrowser
...
Dawn allows texture-to-texture copy happens between the textures that
formats only have diff on srgb-ness.
CopyTextureForBrowser could align on this rule to achieve copying to
*-srgb dst texture and keep the bytes the same as copying to non-srgb
formats.
This CL add support for *-srgb textures as dst textures and using an
extra gamma decoding step for this.
Bug: dawn:1195
Change-Id: I665dbca473aa84b9d87b7a35c4f90ce1897ade7b
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/74580
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Kai Ninomiya <kainino@chromium.org>
Commit-Queue: Shaobo Yan <shaobo.yan@intel.com>
2022-01-07 03:05:27 +00:00
..
2021-12-06 20:58:56 +00:00
2021-05-21 02:26:58 +00:00
2021-12-15 13:13:26 +00:00
2021-10-18 05:30:39 +00:00
2021-12-22 19:04:33 +00:00
2021-06-17 21:36:11 +00:00
2022-01-06 09:17:57 +00:00
2021-09-20 19:25:05 +00:00
2021-12-22 19:04:33 +00:00
2021-12-15 13:13:26 +00:00
2021-12-15 13:13:26 +00:00
2021-12-15 13:13:26 +00:00
2021-12-15 13:13:26 +00:00
2021-12-15 13:13:26 +00:00
2022-01-06 09:01:58 +00:00
2022-01-07 03:05:27 +00:00
2021-12-15 13:13:26 +00:00
2021-06-17 21:36:11 +00:00
2021-12-15 13:13:26 +00:00
2021-12-22 19:04:33 +00:00
2020-12-01 21:52:37 +00:00
2021-11-15 08:15:34 +00:00
2021-07-09 02:47:49 +00:00
2022-01-05 01:31:16 +00:00
2022-01-05 01:31:16 +00:00
2022-01-05 01:31:16 +00:00
2022-01-06 09:17:57 +00:00
2021-12-08 20:27:14 +00:00
2021-12-22 19:04:33 +00:00
2021-12-15 13:13:26 +00:00
2021-12-15 13:13:26 +00:00
2021-07-16 03:22:58 +00:00
2021-05-21 05:01:38 +00:00
2021-05-21 05:01:38 +00:00
2021-12-15 13:13:26 +00:00
2021-12-15 13:13:26 +00:00
2021-10-29 13:17:27 +00:00
2021-12-15 13:13:26 +00:00
2022-01-06 09:14:17 +00:00
2021-05-21 05:01:38 +00:00
2021-08-10 04:07:37 +00:00
2021-12-15 13:13:26 +00:00
2021-06-25 08:10:42 +00:00
2021-12-15 13:13:26 +00:00
2021-12-15 13:13:26 +00:00
2021-05-26 01:04:32 +00:00
2021-12-22 19:04:33 +00:00
2021-07-26 19:43:19 +00:00
2021-12-15 13:13:26 +00:00
2020-12-12 02:09:56 +00:00
2021-12-22 19:04:33 +00:00
2021-05-21 05:01:38 +00:00
2021-12-22 19:04:33 +00:00
2021-12-07 01:33:36 +00:00
2021-10-18 05:30:39 +00:00
2021-12-22 19:04:33 +00:00
2021-07-07 23:30:00 +00:00
2021-12-15 13:13:26 +00:00
2021-09-13 20:35:49 +00:00
2021-07-26 19:43:19 +00:00
2021-12-15 13:13:26 +00:00
2021-08-10 04:07:37 +00:00
2021-06-17 21:36:11 +00:00
2021-12-22 19:04:33 +00:00
2021-12-15 13:13:26 +00:00
2021-09-17 17:07:43 +00:00
2021-09-10 14:56:09 +00:00
2021-11-25 01:11:27 +00:00
2021-10-13 18:57:18 +00:00
2021-08-10 04:07:37 +00:00
2021-08-10 04:07:37 +00:00
2021-08-10 04:07:37 +00:00
2021-08-10 04:07:37 +00:00
2022-01-07 00:02:57 +00:00
2021-07-06 10:49:50 +00:00
2021-09-15 03:17:42 +00:00
2021-08-23 10:10:11 +00:00
2021-12-13 02:38:44 +00:00
2021-12-13 02:38:44 +00:00
2021-12-22 19:04:33 +00:00
2021-12-22 19:04:33 +00:00
2021-05-21 05:01:38 +00:00
2021-06-17 21:36:11 +00:00
2022-01-06 09:10:00 +00:00