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..b4ef484c6b42fe0542f34430aa833b92291b43f2 100644 |
| --- a/ui/ozone/public/surface_factory_ozone.h |
| +++ b/ui/ozone/public/surface_factory_ozone.h |
| @@ -100,6 +100,9 @@ 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. |
| + virtual void GetSupportedFormats(std::vector<uint32_t>* support_formats); |
|
kalyank
2016/01/19 07:34:22
We want to pass in the usage too i.e. BufferUsage
william.xie
2016/01/19 10:07:07
Done.
|
| + |
| // 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. |