| Index: ui/ozone/platform/drm/gpu/gbm_buffer.cc
|
| diff --git a/ui/ozone/platform/drm/gpu/gbm_buffer.cc b/ui/ozone/platform/drm/gpu/gbm_buffer.cc
|
| index 117a52f7c1bb145828cc6132d9dcb074c35962ce..2ce969dac6d7cf32620b7d692e356a98c92f8afc 100644
|
| --- a/ui/ozone/platform/drm/gpu/gbm_buffer.cc
|
| +++ b/ui/ozone/platform/drm/gpu/gbm_buffer.cc
|
| @@ -113,6 +113,10 @@ int GbmPixmap::GetDmaBufPitch() {
|
| return gbm_bo_get_stride(buffer_->bo());
|
| }
|
|
|
| +gfx::BufferFormat GbmPixmap::GetBufferFormat() {
|
| + return GetBufferFormatFromFourCCFormat(buffer_->GetFramebufferPixelFormat());
|
| +}
|
| +
|
| bool GbmPixmap::ScheduleOverlayPlane(gfx::AcceleratedWidget widget,
|
| int plane_z_order,
|
| gfx::OverlayTransform plane_transform,
|
|
|