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

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

Issue 2800653003: SurfaceFactoryOzone: expose scanout supported GpuMemoryBufferAttribs
Patch Set: use uint64_t modifiers, get modifiers for primary plane Created 3 years, 8 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 527aa29c5d795fac5094e1806c0a14d5f30e67f9..cd860a292e8ad4ebad3042d6eae98660eec5bb45 100644
--- a/ui/ozone/public/surface_factory_ozone.cc
+++ b/ui/ozone/public/surface_factory_ozone.cc
@@ -35,6 +35,12 @@ std::vector<gfx::BufferFormat> SurfaceFactoryOzone::GetScanoutFormats(
return std::vector<gfx::BufferFormat>();
}
+gfx::GpuMemoryBufferAttribVector
+SurfaceFactoryOzone::GetScanoutFormatsWithModifiers(
+ gfx::AcceleratedWidget widget) {
+ return gfx::GpuMemoryBufferAttribVector();
+}
+
scoped_refptr<gfx::NativePixmap> SurfaceFactoryOzone::CreateNativePixmap(
gfx::AcceleratedWidget widget,
gfx::Size size,
« 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