| Index: components/exo/wayland/clients/client_base.cc
|
| diff --git a/components/exo/wayland/clients/client_base.cc b/components/exo/wayland/clients/client_base.cc
|
| index 4e347ead7964fae43e5c6f69dd63919d545e9810..e0e0f697d9de20927b0801c065c53c7bb252798d 100644
|
| --- a/components/exo/wayland/clients/client_base.cc
|
| +++ b/components/exo/wayland/clients/client_base.cc
|
| @@ -33,6 +33,8 @@
|
| #include <drm_fourcc.h>
|
| #include <gbm.h>
|
| #include <xf86drm.h>
|
| +
|
| +#include "ui/ozone/public/ozone_platform.h"
|
| #endif
|
|
|
| namespace exo {
|
| @@ -273,6 +275,9 @@ bool ClientBase::Init(const InitParams& params) {
|
| return false;
|
| }
|
|
|
| + ui::OzonePlatform::InitParams params;
|
| + params.single_process = true;
|
| + ui::OzonePlatform::InitializeForGPU(params);
|
| bool gl_initialized = gl::init::InitializeGLOneOff();
|
| DCHECK(gl_initialized);
|
| gl_surface_ = gl::init::CreateOffscreenGLSurface(gfx::Size());
|
|
|