| 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 3728412a0ecc9b0853ae1b1dd7e67d2db98dd1bb..6c564e2e6d4482007a521f0b5fa6e2a7f0e09e40 100644
|
| --- a/ui/ozone/public/surface_factory_ozone.h
|
| +++ b/ui/ozone/public/surface_factory_ozone.h
|
| @@ -92,6 +92,13 @@ class OZONE_BASE_EXPORT SurfaceFactoryOzone {
|
| AddGLLibraryCallback add_gl_library,
|
| SetGLGetProcAddressProcCallback set_gl_get_proc_address) = 0;
|
|
|
| + // Returns an array of EGL properties, which can be used in any EGL function
|
| + // used to select a display configuration. Note that all properties should be
|
| + // immediately followed by the corresponding desired value and array should be
|
| + // terminated with EGL_NONE. Ownership of the array is not transferred to
|
| + // caller. desired_list contains list of desired EGL properties and values.
|
| + virtual const int32_t* GetEGLSurfaceProperties(const int32_t* desired_list);
|
| +
|
| // Returns all scanout formats for |widget| representing a particular display
|
| // controller or default display controller for kNullAcceleratedWidget.
|
| virtual std::vector<gfx::BufferFormat> GetScanoutFormats(
|
|
|