| 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.
|
|
|