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

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

Issue 2122243002: Add new Ozone surface API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gl_egl
Patch Set: Even more deps. Created 4 years, 5 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 93b9aa2d91522b25fce7f2fced8d19c77e616c4a..70782bb4497d1f1da38ed8790131d0cb1554fef8 100644
--- a/ui/ozone/public/surface_factory_ozone.cc
+++ b/ui/ozone/public/surface_factory_ozone.cc
@@ -23,6 +23,29 @@ intptr_t SurfaceFactoryOzone::GetNativeDisplay() {
return 0;
}
+bool SurfaceFactoryOzone::UseNewSurfaceAPI() {
+ return false;
+}
+
+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<SurfaceOzoneEGL> SurfaceFactoryOzone::CreateEGLSurfaceForWidget(
gfx::AcceleratedWidget widget) {
return nullptr;
« 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