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>
1 file changed