| 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..8427a4a51fa5f1098c137f7862b99f284e8d3ad9 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);
|
|
|
| + // Get supported formats for given buffer usage. Return true if get
|
| + // successfully.
|
| + virtual bool GetSupportedFormats(
|
| + gfx::BufferUsage buffer_usage,
|
| + std::vector<gfx::BufferFormat>* support_formats);
|
| +
|
| // 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.
|
|
|