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

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

Issue 741253002: Add AcceleratedWidget to native pixmap allocation to specify which display controller to create the… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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/platform/dri/gbm_surface_factory.cc ('k') | ui/ozone/public/surface_factory_ozone.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/public/surface_factory_ozone.h
diff --git a/ui/ozone/public/surface_factory_ozone.h b/ui/ozone/public/surface_factory_ozone.h
index d130de0575e2bcf9bb06a3fc173572ab949fdf4a..c508db25aa344b3ae3415b6be0c0a01b9a0c8d6b 100644
--- a/ui/ozone/public/surface_factory_ozone.h
+++ b/ui/ozone/public/surface_factory_ozone.h
@@ -126,10 +126,14 @@ class OZONE_BASE_EXPORT SurfaceFactoryOzone {
virtual OverlayCandidatesOzone* GetOverlayCandidates(
gfx::AcceleratedWidget w);
- // Cleate a single native buffer to be used for overlay planes or zero copy.
- virtual scoped_refptr<NativePixmap> CreateNativePixmap(gfx::Size size,
- BufferFormat format,
- BufferUsage usage);
+ // Create a single native buffer to be used for overlay planes or zero copy
+ // for |widget| representing a particular display controller or default
+ // display controller for kNullAcceleratedWidget.
+ virtual scoped_refptr<NativePixmap> CreateNativePixmap(
+ gfx::AcceleratedWidget widget,
+ gfx::Size size,
+ BufferFormat format,
+ BufferUsage usage);
// Sets the overlay plane to switch to at the next page flip.
// |w| specifies the screen to display this overlay plane on.
« no previous file with comments | « ui/ozone/platform/dri/gbm_surface_factory.cc ('k') | ui/ozone/public/surface_factory_ozone.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698