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

Unified Diff: components/exo/display.cc

Issue 2278803003: exo: Disable RGBX fullscreen overlays. (Closed)
Patch Set: Created 4 years, 4 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 | no next file » | 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 4d51b34c49e0b5566f2ef760f2480a542d2c319d..76f5df3517cf39b5bdf51a4a5f0946217350c453 100644
--- a/components/exo/display.cc
+++ b/components/exo/display.cc
@@ -90,8 +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::RGBA_8888,
- gfx::BufferFormat::RGBX_8888};
+ // TODO(dcastagna): Re-add RGBX_8888 format.
+ const gfx::BufferFormat kOverlayFormats[] = {gfx::BufferFormat::RGBA_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 | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698