| Index: ui/ozone/platform/drm/gpu/hardware_display_plane_manager_atomic.cc
|
| diff --git a/ui/ozone/platform/drm/gpu/hardware_display_plane_manager_atomic.cc b/ui/ozone/platform/drm/gpu/hardware_display_plane_manager_atomic.cc
|
| index 17bdd2acf7df475c8e880ba41e1c08dbfa7b5771..a71335ec54cca6bb06b646d9248cb45f90723b51 100644
|
| --- a/ui/ozone/platform/drm/gpu/hardware_display_plane_manager_atomic.cc
|
| +++ b/ui/ozone/platform/drm/gpu/hardware_display_plane_manager_atomic.cc
|
| @@ -46,7 +46,8 @@ bool HardwareDisplayPlaneManagerAtomic::Commit(
|
| HardwareDisplayPlaneAtomic* atomic_plane =
|
| static_cast<HardwareDisplayPlaneAtomic*>(plane);
|
| atomic_plane->SetPlaneData(plane_list->atomic_property_set.get(), 0, 0,
|
| - gfx::Rect(), gfx::Rect());
|
| + gfx::Rect(), gfx::Rect(),
|
| + gfx::OVERLAY_TRANSFORM_NONE);
|
| }
|
| }
|
|
|
| @@ -98,9 +99,9 @@ bool HardwareDisplayPlaneManagerAtomic::SetPlaneData(
|
| uint32_t framebuffer_id = overlay.z_order
|
| ? overlay.buffer->GetFramebufferId()
|
| : overlay.buffer->GetOpaqueFramebufferId();
|
| - if (!atomic_plane->SetPlaneData(plane_list->atomic_property_set.get(),
|
| - crtc_id, framebuffer_id,
|
| - overlay.display_bounds, src_rect)) {
|
| + if (!atomic_plane->SetPlaneData(
|
| + plane_list->atomic_property_set.get(), crtc_id, framebuffer_id,
|
| + overlay.display_bounds, src_rect, overlay.plane_transform)) {
|
| LOG(ERROR) << "Failed to set plane properties";
|
| return false;
|
| }
|
|
|