diff options
Diffstat (limited to 'src/core/ozone/gl_ozone_egl_qt.h')
-rw-r--r-- | src/core/ozone/gl_ozone_egl_qt.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/core/ozone/gl_ozone_egl_qt.h b/src/core/ozone/gl_ozone_egl_qt.h index 4619fc714..7ac55979a 100644 --- a/src/core/ozone/gl_ozone_egl_qt.h +++ b/src/core/ozone/gl_ozone_egl_qt.h @@ -12,7 +12,9 @@ namespace ui { class GLOzoneEGLQt : public GLOzoneEGL { public: - gl::GLDisplay *InitializeGLOneOffPlatform(uint64_t system_device_id) override; + gl::GLDisplay *InitializeGLOneOffPlatform(bool supports_angle, + std::vector<gl::DisplayType> init_displays, + gl::GpuPreference gpu_preference) override; bool InitializeExtensionSettingsOneOffPlatform(gl::GLDisplay *display) override; scoped_refptr<gl::GLSurface> CreateViewGLSurface( gl::GLDisplay *display, @@ -20,6 +22,15 @@ public: scoped_refptr<gl::GLSurface> CreateOffscreenGLSurface( gl::GLDisplay *display, const gfx::Size &size) override; + bool CanImportNativePixmap() override; + std::unique_ptr<NativePixmapGLBinding> ImportNativePixmap( + scoped_refptr<gfx::NativePixmap> pixmap, + gfx::BufferFormat plane_format, + gfx::BufferPlane plane, + gfx::Size plane_size, + const gfx::ColorSpace &color_space, + GLenum target, + GLuint texture_id) override; protected: // Returns native platform display handle. This is used to obtain the EGL |