| 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..ce18406a5bfacafe59d4c5a9911cfd40acf4d0c5 100644
|
| --- a/ui/ozone/platform/dri/dri_buffer.h
|
| +++ b/ui/ozone/platform/dri/dri_buffer.h
|
| @@ -23,8 +23,9 @@ class OZONE_EXPORT DriBuffer : public ScanoutBuffer {
|
| DriBuffer(const scoped_refptr<DriWrapper>& dri);
|
|
|
| // 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);
|
| + // to describe the buffer characteristics (size, color format). |is_scanout|
|
| + // is used to distinguish the buffers that are used for modesetting.
|
| + bool Initialize(const SkImageInfo& info, bool is_scanout);
|
|
|
| SkCanvas* GetCanvas() const;
|
|
|
|
|