| Index: ui/ozone/platform/dri/dri_buffer.h
|
| diff --git a/ui/ozone/platform/dri/dri_buffer.h b/ui/ozone/platform/dri/dri_buffer.h
|
| index a558ac1462edb5d9a7e16fa1df6fafad86e24ac2..7bcca1ba1bd154d520bcafe16372a48fb488f914 100644
|
| --- a/ui/ozone/platform/dri/dri_buffer.h
|
| +++ b/ui/ozone/platform/dri/dri_buffer.h
|
| @@ -24,7 +24,9 @@ class OZONE_EXPORT DriBuffer : public ScanoutBuffer {
|
|
|
| // Allocates the backing pixels and wraps them in |surface_|. |info| is used
|
| // to describe the buffer characteristics (size, color format).
|
| - bool Initialize(const SkImageInfo& info);
|
| + // |should_register_framebuffer| is used to distinguish the buffers that are
|
| + // used for modesetting.
|
| + bool Initialize(const SkImageInfo& info, bool should_register_framebuffer);
|
|
|
| SkCanvas* GetCanvas() const;
|
|
|
|
|