| Index: chrome/gpu/gpu_arc_video_service.cc
|
| diff --git a/chrome/gpu/gpu_arc_video_service.cc b/chrome/gpu/gpu_arc_video_service.cc
|
| index 0ab69c736c3dbaebe6a5650be310538dacd0cb11..d7f666837c33916699c94a79ba3898fb8baa40fe 100644
|
| --- a/chrome/gpu/gpu_arc_video_service.cc
|
| +++ b/chrome/gpu/gpu_arc_video_service.cc
|
| @@ -187,7 +187,8 @@ class GpuArcVideoService::AcceleratorStub
|
|
|
| void BindDmabuf(::arc::mojom::PortType port,
|
| uint32_t index,
|
| - mojo::ScopedHandle dmabuf_handle) override {
|
| + mojo::ScopedHandle dmabuf_handle,
|
| + int32_t stride) override {
|
| DVLOG(2) << "BindDmabuf port=" << port << ", index=" << index;
|
| mojo::edk::ScopedPlatformHandle scoped_platform_handle;
|
| MojoResult mojo_result = mojo::edk::PassWrappedPlatformHandle(
|
| @@ -195,7 +196,8 @@ class GpuArcVideoService::AcceleratorStub
|
| DCHECK_EQ(mojo_result, MOJO_RESULT_OK);
|
|
|
| auto fd = base::ScopedFD(scoped_platform_handle.release().handle);
|
| - accelerator_->BindDmabuf(static_cast<PortType>(port), index, std::move(fd));
|
| + accelerator_->BindDmabuf(static_cast<PortType>(port), index, std::move(fd),
|
| + stride);
|
| }
|
|
|
| void UseBuffer(::arc::mojom::PortType port,
|
|
|