| Index: ui/ozone/platform/wayland/wayland_surface_factory.h
|
| diff --git a/ui/ozone/platform/wayland/wayland_surface_factory.h b/ui/ozone/platform/wayland/wayland_surface_factory.h
|
| index 2bd8682b0fc0d61f1b577169cbb82353da0f8ad7..e8c056661a75f2eec35c5a006644a5e087b4d63a 100644
|
| --- a/ui/ozone/platform/wayland/wayland_surface_factory.h
|
| +++ b/ui/ozone/platform/wayland/wayland_surface_factory.h
|
| @@ -5,6 +5,9 @@
|
| #ifndef UI_OZONE_PLATFORM_WAYLAND_WAYLAND_SURFACE_FACTORY_H_
|
| #define UI_OZONE_PLATFORM_WAYLAND_WAYLAND_SURFACE_FACTORY_H_
|
|
|
| +#include "base/macros.h"
|
| +#include "base/memory/ref_counted.h"
|
| +#include "ui/gl/gl_surface.h"
|
| #include "ui/ozone/public/surface_factory_ozone.h"
|
|
|
| namespace ui {
|
| @@ -16,14 +19,19 @@ class WaylandSurfaceFactory : public SurfaceFactoryOzone {
|
| explicit WaylandSurfaceFactory(WaylandConnection* connection);
|
| ~WaylandSurfaceFactory() override;
|
|
|
| + // SurfaceFactoryOzone:
|
| + scoped_refptr<gl::GLSurface> CreateViewGLSurface(
|
| + gl::GLImplementation implementation,
|
| + gfx::AcceleratedWidget widget) override;
|
| + scoped_refptr<gl::GLSurface> CreateOffscreenGLSurface(
|
| + gl::GLImplementation implementation,
|
| + const gfx::Size& size) override;
|
| intptr_t GetNativeDisplay() override;
|
| bool LoadEGLGLES2Bindings(
|
| AddGLLibraryCallback add_gl_library,
|
| SetGLGetProcAddressProcCallback set_gl_get_proc_address) override;
|
| std::unique_ptr<SurfaceOzoneCanvas> CreateCanvasForWidget(
|
| gfx::AcceleratedWidget widget) override;
|
| - std::unique_ptr<SurfaceOzoneEGL> CreateEGLSurfaceForWidget(
|
| - gfx::AcceleratedWidget w) override;
|
| scoped_refptr<NativePixmap> CreateNativePixmap(
|
| gfx::AcceleratedWidget widget,
|
| gfx::Size size,
|
|
|