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

Unified Diff: ui/ozone/public/native_pixmap.h

Issue 1422563002: [Ozone] Enables overlay render format setting path and by default use UYVY (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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
Index: ui/ozone/public/native_pixmap.h
diff --git a/ui/ozone/public/native_pixmap.h b/ui/ozone/public/native_pixmap.h
index 5bb007ad8d07a551ea17f8e6db5a31eb151b3192..8c0a7d9ff04738d03551487ee9eca6e4592f707d 100644
--- a/ui/ozone/public/native_pixmap.h
+++ b/ui/ozone/public/native_pixmap.h
@@ -27,6 +27,7 @@ class NativePixmap : public base::RefCountedThreadSafe<NativePixmap> {
virtual void* /* EGLClientBuffer */ GetEGLClientBuffer() = 0;
virtual int GetDmaBufFd() = 0;
virtual int GetDmaBufPitch() = 0;
+ virtual gfx::BufferFormat GetPixelFormat() = 0;
// Sets the overlay plane to switch to at the next page flip.
// |w| specifies the screen to display this overlay plane on.
« ui/ozone/platform/drm/gpu/gbm_buffer_base.cc ('K') | « ui/ozone/platform/drm/gpu/gbm_buffer_base.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698