Index: ui/ozone/public/native_pixmap.h |
diff --git a/ui/ozone/public/native_pixmap.h b/ui/ozone/public/native_pixmap.h |
index 38875c358007d52a9f5eedd9017dc6c600645a8e..6c8cd5758ba7a0fb7e7b4647d8a19b49eae364d7 100644 |
--- a/ui/ozone/public/native_pixmap.h |
+++ b/ui/ozone/public/native_pixmap.h |
@@ -28,7 +28,7 @@ class NativePixmap : public base::RefCountedThreadSafe<NativePixmap> { |
virtual int GetDmaBufFd() const = 0; |
virtual int GetDmaBufPitch() const = 0; |
virtual gfx::BufferFormat GetBufferFormat() const = 0; |
- |
+ virtual gfx::Size GetBufferSize() const = 0; |
// Sets the overlay plane to switch to at the next page flip. |
// |w| specifies the screen to display this overlay plane on. |
// |plane_z_order| specifies the stacking order of the plane relative to the |
@@ -49,9 +49,8 @@ class NativePixmap : public base::RefCountedThreadSafe<NativePixmap> { |
// This represents a callback function pointing to processing unit like VPP to |
// do post-processing operations on native pixmap with required size and |
// format. |
Pawel Osciak
2015/12/02 00:49:06
Please update this documentation.
william.xie1
2015/12/02 02:31:13
Done.
|
- typedef base::Callback<scoped_refptr<NativePixmap>(gfx::Size, |
- gfx::BufferFormat)> |
- ProcessingCallback; |
+ typedef base::Callback<bool(const scoped_refptr<NativePixmap>&, |
+ NativePixmap*)> ProcessingCallback; |
// Set callback function for the pixmap used for post processing. |
virtual void SetProcessingCallback( |