From 5337905df625bb9f3ca5015a9b7cab4f22e3248d Mon Sep 17 00:00:00 2001 From: Andrew Wolfers Date: Tue, 11 Nov 2025 18:14:28 +0000 Subject: [PATCH] Cleanup includes in hwc2_device/ per IWYU style Change-Id: If7440aa7796ea8d48cb2767ae3a57d853d535135 --- hwc2_device/DrmHwcTwo.cpp | 4 ++-- hwc2_device/DrmHwcTwo.h | 1 + hwc2_device/hwc2_device.cpp | 10 ++++++---- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/hwc2_device/DrmHwcTwo.cpp b/hwc2_device/DrmHwcTwo.cpp index 311c2fe..bc86988 100644 --- a/hwc2_device/DrmHwcTwo.cpp +++ b/hwc2_device/DrmHwcTwo.cpp @@ -20,8 +20,8 @@ #include -#include "compositor/CompositionPlanner.h" -#include "utils/log.h" +#include "drm/DrmHwc.h" +#include "hwc/HwcDisplay.h" namespace android::drm_hwcomposer { diff --git a/hwc2_device/DrmHwcTwo.h b/hwc2_device/DrmHwcTwo.h index deb9deb..2ed5ac9 100644 --- a/hwc2_device/DrmHwcTwo.h +++ b/hwc2_device/DrmHwcTwo.h @@ -19,6 +19,7 @@ #include #include "drm/DrmHwc.h" +#include "hwc/HwcDisplay.h" namespace android::drm_hwcomposer { diff --git a/hwc2_device/hwc2_device.cpp b/hwc2_device/hwc2_device.cpp index dac8511..2f8b753 100644 --- a/hwc2_device/hwc2_device.cpp +++ b/hwc2_device/hwc2_device.cpp @@ -25,15 +25,17 @@ #include #include +#include +#include #include -#include "DrmHwcTwo.h" -#include "compositor/CompositionPlanner.h" +#include "bufferinfo/BufferInfoGetter.h" #include "compositor/DisplayInfo.h" -#include "hardware/hwcomposer2.h" +#include "hwc/HwcDisplay.h" #include "hwc/HwcLayer.h" -#include "system/graphics-base-v1.1.h" +#include "hwc2_device/DrmHwcTwo.h" #include "utils/log.h" +#include "utils/properties.h" namespace android::drm_hwcomposer {