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 1ab18b8f1a94af877dce56902371e75863a5dd42..cc7a5f4657feb1eefa31e5686fe941c8221a535d 100644 |
--- a/ui/ozone/public/surface_factory_ozone.h |
+++ b/ui/ozone/public/surface_factory_ozone.h |
@@ -90,6 +90,12 @@ class OZONE_BASE_EXPORT SurfaceFactoryOzone { |
virtual scoped_ptr<SurfaceOzoneEGL> CreateEGLSurfaceForWidget( |
gfx::AcceleratedWidget widget); |
+ // Create an EGL surface that isn't backed by any buffers, and is used |
+ // for overlay-only displays. This will return NULL if this mode is |
+ // not supported. |
+ virtual scoped_ptr<SurfaceOzoneEGL> CreateSurfacelessEGLSurfaceForWidget( |
+ gfx::AcceleratedWidget widget); |
+ |
// Create SurfaceOzoneCanvas for the specified gfx::AcceleratedWidget. |
// |
// Note: The platform must support creation of SurfaceOzoneCanvas from the |