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 4e223bf1fc8b8abc9252978c29a53e7aaf5179ff..e97452daea10f88e3a4058bd47df5cc5af59153d 100644 |
--- a/ui/ozone/public/surface_factory_ozone.h |
+++ b/ui/ozone/public/surface_factory_ozone.h |
@@ -11,6 +11,7 @@ |
#include "ui/gfx/geometry/point.h" |
#include "ui/gfx/geometry/rect.h" |
#include "ui/gfx/geometry/rect.h" |
+#include "ui/gfx/gpu_memory_buffer.h" |
#include "ui/gfx/native_widget_types.h" |
#include "ui/gfx/overlay_transform.h" |
#include "ui/ozone/ozone_base_export.h" |
@@ -63,7 +64,7 @@ class OZONE_BASE_EXPORT SurfaceFactoryOzone { |
// formats once we know what sorts of content, video, etc. we can support. |
enum BufferFormat { |
UNKNOWN, |
- RGBA_8888, |
+ BGRA_8888, |
RGBX_8888, |
RGB_888, |
}; |
@@ -137,7 +138,8 @@ class OZONE_BASE_EXPORT SurfaceFactoryOzone { |
gfx::AcceleratedWidget widget, |
gfx::Size size, |
BufferFormat format, |
- BufferUsage usage); |
+ BufferUsage usage, |
+ gfx::GpuMemoryBufferHandle* handle); |
// Sets the overlay plane to switch to at the next page flip. |
// |w| specifies the screen to display this overlay plane on. |