Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(629)

Unified Diff: components/exo/display.cc

Issue 2160113002: exo: Fullscreen overlay candidates support. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | components/exo/surface.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « no previous file | components/exo/surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698