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..5fa98c9c7813e10d277bf9616c2b7f61ea0acc14 100644 |
--- a/ui/ozone/public/native_pixmap.h |
+++ b/ui/ozone/public/native_pixmap.h |
@@ -27,6 +27,8 @@ class NativePixmap : public base::RefCountedThreadSafe<NativePixmap> { |
virtual void* /* EGLClientBuffer */ GetEGLClientBuffer() = 0; |
virtual int GetDmaBufFd() = 0; |
virtual int GetDmaBufPitch() = 0; |
+ // Returns FourCC format of pixmap. |
+ virtual int GetPixelFormat() = 0; |
spang
2015/10/21 18:27:01
This should return gfx::BufferFormat, not the inte
william.xie1
2015/10/22 07:35:42
Done.
|
// Sets the overlay plane to switch to at the next page flip. |
// |w| specifies the screen to display this overlay plane on. |