Chromium Code Reviews| 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 eaa353b4bf8db598168199960735463547cf7420..ae87c0f7ff88315ccc37f98720b5ebddc81e18ea 100644 |
| --- a/ui/ozone/public/surface_factory_ozone.h |
| +++ b/ui/ozone/public/surface_factory_ozone.h |
| @@ -100,6 +100,12 @@ class OZONE_BASE_EXPORT SurfaceFactoryOzone { |
| // caller. desired_list contains list of desired EGL properties and values. |
| virtual const int32_t* GetEGLSurfaceProperties(const int32_t* desired_list); |
| + // Returns all formats which can be scanned out by this PlaneManager for the |
| + // specified gfx::AcceleratedWidget. Be careful that secondary device may not |
| + // have all the formats of the primary device. |
|
kalyank
2016/01/22 06:41:25
Nit: I think you can remove the comment about seco
william.xie
2016/01/23 01:51:53
Done.
|
| + virtual std::vector<gfx::BufferFormat> GetScanoutFormats( |
| + gfx::AcceleratedWidget widget); |
| + |
| // 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. |