commit | 668e700e849f09ac9e5310d8956ee5c23af13c00 | [log] [tgz] |
---|---|---|
author | Jeongik Cha <jeongik@google.com> | Wed Apr 09 18:19:25 2025 +0900 |
committer | SkCQ <skcq-be@skia-corp.google.com.iam.gserviceaccount.com> | Wed Apr 16 00:08:29 2025 -0700 |
tree | 2d690efa1616b4a36ea98764935fd369810da527 | |
parent | 3d6165b70199c81f0529b510827d96bf8d9c38c6 [diff] |
Support GL texture for BGRA8 format In https://skia-review.googlesource.com/c/skia/+/952216, BGRA8 format is supported, but GL texture for BGRA8 format isn't supported, so it fails to create SkImage due to mismatch(colorType is BGRA8, but GL texture is RGBA8 which is a fall-back type. So add GL texture for BGRA8 as well. Bug: 403528222 Test: surface with BGRA8, and check if it works well. Change-Id: I350ef174e04e666765a24697580d4247234615ad Reviewed-on: https://skia-review.googlesource.com/c/skia/+/977716 Commit-Queue: Jeongik Cha <jeongik@google.com> Reviewed-by: Greg Daniel <egdaniel@google.com> Auto-Submit: Jeongik Cha <jeongik@google.com>