| Index: ui/ozone/public/surface_factory_ozone.h
|
| diff --git a/ui/ozone/public/surface_factory_ozone.h b/ui/ozone/public/surface_factory_ozone.h
|
| index 05f6691c167662afc8a4a943ccfb84d2f8fcff85..853a71ac109909cf23d71733490093c3aae2ee53 100644
|
| --- a/ui/ozone/public/surface_factory_ozone.h
|
| +++ b/ui/ozone/public/surface_factory_ozone.h
|
| @@ -6,6 +6,7 @@
|
| #define UI_OZONE_PUBLIC_SURFACE_FACTORY_OZONE_H_
|
|
|
| #include "base/callback.h"
|
| +#include "base/file_descriptor_posix.h"
|
| #include "base/memory/scoped_ptr.h"
|
| #include "base/native_library.h"
|
| #include "ui/gfx/geometry/rect.h"
|
| @@ -121,6 +122,10 @@ class OZONE_BASE_EXPORT SurfaceFactoryOzone {
|
| BufferFormat format,
|
| BufferUsage usage);
|
|
|
| + // Export GpuMemoryBufferHandle from |pixmap|.
|
| + virtual base::FileDescriptor ExportDmaBuf(gfx::AcceleratedWidget widget,
|
| + scoped_refptr<NativePixmap> pixmap);
|
| +
|
| // 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
|
|
|