| Index: ui/ozone/platform/drm/gpu/gbm_surface_factory.h
|
| diff --git a/ui/ozone/platform/drm/gpu/gbm_surface_factory.h b/ui/ozone/platform/drm/gpu/gbm_surface_factory.h
|
| index 1e8c00385bcbab5cc747195c5eadb9d3afe67b87..7298476c3ef4a6da37cd9ae6b1c593ed99cf305c 100644
|
| --- a/ui/ozone/platform/drm/gpu/gbm_surface_factory.h
|
| +++ b/ui/ozone/platform/drm/gpu/gbm_surface_factory.h
|
| @@ -15,6 +15,7 @@
|
| #include "base/threading/thread_checker.h"
|
| #include "ui/gl/gl_implementation.h"
|
| #include "ui/gl/gl_surface.h"
|
| +#include "ui/ozone/common/gl_ozone_egl.h"
|
| #include "ui/ozone/public/surface_factory_ozone.h"
|
|
|
| namespace ui {
|
| @@ -33,20 +34,11 @@ class GbmSurfaceFactory : public SurfaceFactoryOzone {
|
| GbmSurfaceless* GetSurface(gfx::AcceleratedWidget widget) const;
|
|
|
| // SurfaceFactoryOzone:
|
| - scoped_refptr<gl::GLSurface> CreateViewGLSurface(
|
| - gl::GLImplementation implementation,
|
| - gfx::AcceleratedWidget widget) override;
|
| - scoped_refptr<gl::GLSurface> CreateSurfacelessViewGLSurface(
|
| - gl::GLImplementation implementation,
|
| - gfx::AcceleratedWidget widget) override;
|
| - scoped_refptr<gl::GLSurface> CreateOffscreenGLSurface(
|
| - gl::GLImplementation implementation,
|
| - const gfx::Size& size) override;
|
| + std::vector<gl::GLImplementation> GetAllowedGLImplementations() override;
|
| + GLOzone* GetGLOzone(gl::GLImplementation implementation) override;
|
|
|
| - intptr_t GetNativeDisplay() override;
|
| std::vector<gfx::BufferFormat> GetScanoutFormats(
|
| gfx::AcceleratedWidget widget) override;
|
| - bool LoadEGLGLES2Bindings() override;
|
| std::unique_ptr<SurfaceOzoneCanvas> CreateCanvasForWidget(
|
| gfx::AcceleratedWidget widget) override;
|
| scoped_refptr<ui::NativePixmap> CreateNativePixmap(
|
| @@ -61,6 +53,8 @@ class GbmSurfaceFactory : public SurfaceFactoryOzone {
|
| const gfx::NativePixmapHandle& handle) override;
|
|
|
| private:
|
| + std::unique_ptr<GLOzone> egl_implementation_;
|
| +
|
| base::ThreadChecker thread_checker_;
|
|
|
| DrmThreadProxy* drm_thread_;
|
|
|