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

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

Issue 1738973004: Fix EGL configs with GLSurfaceOzoneSurfaceless. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add back factory method. Created 4 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
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 1548cef699f1d39e72d6d659e33edbd0f373753c..59d6d4f5591efc0c9990fdb80e9586a2be71619e 100644
--- a/ui/ozone/public/surface_factory_ozone.cc
+++ b/ui/ozone/public/surface_factory_ozone.cc
@@ -39,6 +39,11 @@ scoped_ptr<SurfaceOzoneCanvas> SurfaceFactoryOzone::CreateCanvasForWidget(
return nullptr;
}
+const int32_t* SurfaceFactoryOzone::GetEGLSurfaceProperties(
+ const int32_t* desired_attributes) {
+ return desired_attributes;
+}
+
std::vector<gfx::BufferFormat> SurfaceFactoryOzone::GetScanoutFormats(
gfx::AcceleratedWidget widget) {
return std::vector<gfx::BufferFormat>();
« ui/ozone/platform/drm/gpu/gbm_surface_factory.cc ('K') | « 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