| Index: ui/ozone/gl/gl_image_ozone_native_pixmap.cc
|
| diff --git a/ui/ozone/gl/gl_image_ozone_native_pixmap.cc b/ui/ozone/gl/gl_image_ozone_native_pixmap.cc
|
| index 0c0470e90f74136a17509060e7938e1ad400e142..4df05e7348cc099538fc1943941d0fc9d82527f5 100644
|
| --- a/ui/ozone/gl/gl_image_ozone_native_pixmap.cc
|
| +++ b/ui/ozone/gl/gl_image_ozone_native_pixmap.cc
|
| @@ -295,13 +295,14 @@ unsigned GLImageOzoneNativePixmap::GetInternalFormatForTesting(
|
| return GL_RGBA;
|
| case gfx::BufferFormat::BGRA_8888:
|
| return GL_BGRA_EXT;
|
| + case gfx::BufferFormat::YVU_420:
|
| + return GL_RGB_YCRCB_420_CHROMIUM;
|
| case gfx::BufferFormat::ATC:
|
| case gfx::BufferFormat::ATCIA:
|
| case gfx::BufferFormat::DXT1:
|
| case gfx::BufferFormat::DXT5:
|
| case gfx::BufferFormat::ETC1:
|
| case gfx::BufferFormat::RGBA_4444:
|
| - case gfx::BufferFormat::YVU_420:
|
| case gfx::BufferFormat::YUV_420_BIPLANAR:
|
| case gfx::BufferFormat::UYVY_422:
|
| NOTREACHED();
|
|
|