| Index: ui/ozone/public/surface_factory_ozone.cc
|
| diff --git a/ui/ozone/public/surface_factory_ozone.cc b/ui/ozone/public/surface_factory_ozone.cc
|
| index 8031177854e24175b63274c14f2c4b5a398fe3a1..98d51a5a5edbd72b10d1d091a503d31c4490277a 100644
|
| --- a/ui/ozone/public/surface_factory_ozone.cc
|
| +++ b/ui/ozone/public/surface_factory_ozone.cc
|
| @@ -16,6 +16,20 @@ SurfaceFactoryOzone::SurfaceFactoryOzone() {}
|
|
|
| SurfaceFactoryOzone::~SurfaceFactoryOzone() {}
|
|
|
| +std::vector<gl::GLImplementation>
|
| +SurfaceFactoryOzone::GetAllowedGLImplementations() {
|
| + std::vector<gl::GLImplementation> impls;
|
| + // TODO(kylechar): Remove EGL from this list once every Ozone platform that
|
| + // uses EGL overrides this method.
|
| + impls.push_back(gl::kGLImplementationEGLGLES2);
|
| + impls.push_back(gl::kGLImplementationOSMesaGL);
|
| + return impls;
|
| +}
|
| +
|
| +GLOzone* SurfaceFactoryOzone::GetGLOzone(gl::GLImplementation implemenation) {
|
| + return nullptr;
|
| +}
|
| +
|
| intptr_t SurfaceFactoryOzone::GetNativeDisplay() {
|
| return 0;
|
| }
|
|
|