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

Unified Diff: ui/display/types/display_snapshot.cc

Issue 2213273002: ozone: Consolidate primary plane format. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comment on a single line. 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 | « ui/display/types/display_snapshot.h ('k') | ui/ozone/demo/surfaceless_gl_renderer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/display/types/display_snapshot.cc
diff --git a/ui/display/types/display_snapshot.cc b/ui/display/types/display_snapshot.cc
index eb310a93e3d68a0d079a2fed9f04040148381714..b83323798897f9b85f431b8778664d1da67c8961 100644
--- a/ui/display/types/display_snapshot.cc
+++ b/ui/display/types/display_snapshot.cc
@@ -56,4 +56,9 @@ DisplaySnapshot::DisplaySnapshot(
DisplaySnapshot::~DisplaySnapshot() {}
+// static
+gfx::BufferFormat DisplaySnapshot::PrimaryFormat() {
+ return gfx::BufferFormat::BGRX_8888;
+}
+
} // namespace ui
« no previous file with comments | « ui/display/types/display_snapshot.h ('k') | ui/ozone/demo/surfaceless_gl_renderer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698