| Index: ui/ozone/platform/drm/gpu/drm_thread.cc
|
| diff --git a/ui/ozone/platform/drm/gpu/drm_thread.cc b/ui/ozone/platform/drm/gpu/drm_thread.cc
|
| index 6e173b553f2bc8c12608a96f1fb746d898314cdd..16af819caa34da026429ec4a80a00f40b6a00374 100644
|
| --- a/ui/ozone/platform/drm/gpu/drm_thread.cc
|
| +++ b/ui/ozone/platform/drm/gpu/drm_thread.cc
|
| @@ -110,17 +110,17 @@ void DrmThread::CreateBuffer(gfx::AcceleratedWidget widget,
|
| *buffer = GbmBuffer::CreateBuffer(gbm, format, size, usage);
|
| }
|
|
|
| -void DrmThread::CreateBufferFromFds(const gfx::Size& size,
|
| - gfx::BufferFormat format,
|
| - std::vector<base::ScopedFD>&& fds,
|
| - std::vector<int> strides,
|
| - std::vector<int> offsets,
|
| - scoped_refptr<GbmBuffer>* buffer) {
|
| +void DrmThread::CreateBufferFromFds(
|
| + const gfx::Size& size,
|
| + gfx::BufferFormat format,
|
| + std::vector<base::ScopedFD>&& fds,
|
| + const std::vector<gfx::GbmBufferPlane>& planes,
|
| + scoped_refptr<GbmBuffer>* buffer) {
|
| scoped_refptr<GbmDevice> gbm =
|
| static_cast<GbmDevice*>(device_manager_->GetPrimaryDrmDevice().get());
|
| DCHECK(gbm);
|
| - *buffer = GbmBuffer::CreateBufferFromFds(gbm, format, size, std::move(fds),
|
| - strides, offsets);
|
| + *buffer =
|
| + GbmBuffer::CreateBufferFromFds(gbm, format, size, std::move(fds), planes);
|
| }
|
|
|
| void DrmThread::GetScanoutFormats(
|
|
|