Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(78)

Unified Diff: ui/ozone/public/surface_factory_ozone.cc

Issue 2723613003: Remove deprecated SurfaceFactoryOzone methods. (Closed)
Patch Set: Brackets. Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/ozone/public/surface_factory_ozone.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 c38c240afbb8b98e2d3cf4e63f2e9114351c0006..29266251304a6b3684e5e902d00ecd1f9d621a01 100644
--- a/ui/ozone/public/surface_factory_ozone.cc
+++ b/ui/ozone/public/surface_factory_ozone.cc
@@ -18,50 +18,18 @@ 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;
+ return std::vector<gl::GLImplementation>{gl::kGLImplementationOSMesaGL};
}
GLOzone* SurfaceFactoryOzone::GetGLOzone(gl::GLImplementation implementation) {
return nullptr;
}
-intptr_t SurfaceFactoryOzone::GetNativeDisplay() {
- return 0;
-}
-
-scoped_refptr<gl::GLSurface> SurfaceFactoryOzone::CreateViewGLSurface(
- gl::GLImplementation implementation,
- gfx::AcceleratedWidget widget) {
- return nullptr;
-}
-
-scoped_refptr<gl::GLSurface>
-SurfaceFactoryOzone::CreateSurfacelessViewGLSurface(
- gl::GLImplementation implementation,
- gfx::AcceleratedWidget widget) {
- return nullptr;
-}
-
-scoped_refptr<gl::GLSurface> SurfaceFactoryOzone::CreateOffscreenGLSurface(
- gl::GLImplementation implementation,
- const gfx::Size& size) {
- return nullptr;
-}
-
std::unique_ptr<SurfaceOzoneCanvas> SurfaceFactoryOzone::CreateCanvasForWidget(
gfx::AcceleratedWidget widget) {
return nullptr;
}
-bool SurfaceFactoryOzone::LoadEGLGLES2Bindings() {
- return false;
-}
-
std::vector<gfx::BufferFormat> SurfaceFactoryOzone::GetScanoutFormats(
gfx::AcceleratedWidget widget) {
return std::vector<gfx::BufferFormat>();
« no previous file with comments | « ui/ozone/public/surface_factory_ozone.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698