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

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

Issue 1598573002: Propagate supported scanout formats from driver to SurfaceFactoryOzone. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 b493045353ce56b117b2f91a11b6e6728707cdb8..0f6c28e965dc0fbe01f3c33f0d1232affedf3bc8 100644
--- a/ui/ozone/public/surface_factory_ozone.cc
+++ b/ui/ozone/public/surface_factory_ozone.cc
@@ -44,6 +44,12 @@ const int32_t* SurfaceFactoryOzone::GetEGLSurfaceProperties(
return desired_attributes;
}
+bool SurfaceFactoryOzone::GetSupportedFormats(
+ gfx::BufferUsage buffer_usage,
+ std::vector<gfx::BufferFormat>* support_formats) {
+ return false;
+}
+
scoped_refptr<ui::NativePixmap> SurfaceFactoryOzone::CreateNativePixmap(
gfx::AcceleratedWidget widget,
gfx::Size size,
« 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