| Index: components/exo/display.cc
|
| diff --git a/components/exo/display.cc b/components/exo/display.cc
|
| index f2ec5de5c0241e5335a6fce98a5a27e67d738ae5..4d51b34c49e0b5566f2ef760f2480a542d2c319d 100644
|
| --- a/components/exo/display.cc
|
| +++ b/components/exo/display.cc
|
| @@ -90,7 +90,8 @@ std::unique_ptr<Buffer> Display::CreateLinuxDMABufBuffer(
|
|
|
| // List of overlay formats that are known to be supported.
|
| // TODO(reveman): Determine this at runtime.
|
| - const gfx::BufferFormat kOverlayFormats[] = {gfx::BufferFormat::BGRX_8888};
|
| + const gfx::BufferFormat kOverlayFormats[] = {gfx::BufferFormat::RGBA_8888,
|
| + gfx::BufferFormat::RGBX_8888};
|
| bool is_overlay_candidate =
|
| std::find(std::begin(kOverlayFormats), std::end(kOverlayFormats),
|
| format) != std::end(kOverlayFormats);
|
|
|