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

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

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/DEPS ('k') | ui/display/types/display_snapshot.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/display/types/display_snapshot.h
diff --git a/ui/display/types/display_snapshot.h b/ui/display/types/display_snapshot.h
index a4654e2f750b07f529624935e8c1c24c3633dbe5..58cdb398b2a41a55213b634493b42ee7ca4ec28e 100644
--- a/ui/display/types/display_snapshot.h
+++ b/ui/display/types/display_snapshot.h
@@ -13,6 +13,7 @@
#include "base/macros.h"
#include "ui/display/types/display_constants.h"
#include "ui/display/types/display_mode.h"
+#include "ui/gfx/buffer_types.h"
#include "ui/gfx/geometry/point.h"
#include "ui/gfx/geometry/size.h"
@@ -77,6 +78,9 @@ class DISPLAY_TYPES_EXPORT DisplaySnapshot {
// Used when no product id known.
static const int64_t kInvalidProductID = -1;
+ // Return the buffer format to be used for the primary plane buffer.
+ static gfx::BufferFormat PrimaryFormat();
+
protected:
// Display id for this output.
int64_t display_id_;
« no previous file with comments | « ui/display/types/DEPS ('k') | ui/display/types/display_snapshot.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698