| Index: ui/ozone/platform/drm/gpu/hardware_display_controller.cc
|
| diff --git a/ui/ozone/platform/drm/gpu/hardware_display_controller.cc b/ui/ozone/platform/drm/gpu/hardware_display_controller.cc
|
| index c45ed81146759ef83c64fe507846e9ef399d2ea8..3f0db8d94f0670e1a3a691dc46a6c61868eee553 100644
|
| --- a/ui/ozone/platform/drm/gpu/hardware_display_controller.cc
|
| +++ b/ui/ozone/platform/drm/gpu/hardware_display_controller.cc
|
| @@ -143,6 +143,16 @@ bool HardwareDisplayController::IsFormatSupported(uint32_t fourcc_format,
|
| return true;
|
| }
|
|
|
| +uint32_t HardwareDisplayController::GetFormatModifiers(uint32_t format,
|
| + uint64_t *modifiers, uint32_t count) {
|
| + // TODO(hoegsberg): We need to intersect modifiers from different
|
| + // controllers here.
|
| + for (const auto& controller : crtc_controllers_)
|
| + count = controller->GetFormatModifiers(format, modifiers, count);
|
| +
|
| + return count;
|
| +}
|
| +
|
| bool HardwareDisplayController::SetCursor(
|
| const scoped_refptr<ScanoutBuffer>& buffer) {
|
| bool status = true;
|
|
|