| 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..b09c27cb43214888d77cae0d2dc71f04d66b4d33 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());
|
| }
|
|
|
| +int GbmPixmap::GetPixelFormat() {
|
| + return buffer_->GetFramebufferPixelFormat();
|
| +}
|
| +
|
| bool GbmPixmap::ScheduleOverlayPlane(gfx::AcceleratedWidget widget,
|
| int plane_z_order,
|
| gfx::OverlayTransform plane_transform,
|
|
|