Cleanup includes in hwc/ per IWYU style
Change-Id: Ib5b29020b673c939e80d7a716eec25be12d9131d
This commit is contained in:
parent
185f909299
commit
e5e417b11c
5 changed files with 27 additions and 14 deletions
|
|
@ -30,10 +30,18 @@
|
|||
#include "compositor/CompositionPlanner.h"
|
||||
#include "compositor/DisplayInfo.h"
|
||||
#include "compositor/FlatteningController.h"
|
||||
#include "compositor/LayerToPlaneJoiningPlan.h"
|
||||
#include "drm/DrmAtomicStateManager.h"
|
||||
#include "drm/DrmConnector.h"
|
||||
#include "drm/DrmCrtc.h"
|
||||
#include "drm/DrmDevice.h"
|
||||
#include "drm/DrmDisplayPipeline.h"
|
||||
#include "drm/DrmHwc.h"
|
||||
#include "drm/VSyncWorker.h"
|
||||
#include "hwc/HwcLayer.h"
|
||||
#include "stats/CompositionStats.h"
|
||||
#include "utils/EdidWrapper.h"
|
||||
#include "utils/log.h"
|
||||
#include "utils/properties.h"
|
||||
|
||||
using ColorGamut = ::android::ColorSpace;
|
||||
|
|
|
|||
|
|
@ -18,15 +18,11 @@
|
|||
|
||||
#include <optional>
|
||||
|
||||
#include "HwcDisplayConfigs.h"
|
||||
#include "HwcLayer.h"
|
||||
#include "compositor/CompositionPlanner.h"
|
||||
#include "compositor/DisplayInfo.h"
|
||||
#include "compositor/LayerData.h"
|
||||
#include "drm/DrmAtomicStateManager.h"
|
||||
#include "drm/VSyncWorker.h"
|
||||
#include "stats/CompositionStats.h"
|
||||
#include "utils/EdidWrapper.h"
|
||||
#include "hwc/HwcDisplayConfigs.h"
|
||||
#include "hwc/HwcLayer.h"
|
||||
|
||||
namespace aidl::android::hardware::graphics::common {
|
||||
enum class Hdr;
|
||||
|
|
@ -38,13 +34,20 @@ using aidl::android::hardware::graphics::common::Hdr;
|
|||
|
||||
namespace android::drm_hwcomposer {
|
||||
|
||||
class ChangedLayer;
|
||||
class DrmHwc;
|
||||
class EdidWrapper;
|
||||
class FlatteningController;
|
||||
class VSyncWorker;
|
||||
|
||||
struct AtomicCommitArgs;
|
||||
struct CompositionAttributes;
|
||||
struct CompositionStats;
|
||||
struct DrmDisplayPipeline;
|
||||
|
||||
using DisplayHandle = int64_t;
|
||||
using EdidWrapperUnique = std::unique_ptr<EdidWrapper>;
|
||||
|
||||
class CompositionPlanner;
|
||||
class DrmHwc;
|
||||
class FlatteningController;
|
||||
|
||||
class FrontendDisplayBase {
|
||||
public:
|
||||
virtual ~FrontendDisplayBase() = default;
|
||||
|
|
|
|||
|
|
@ -21,8 +21,9 @@
|
|||
#include <cmath>
|
||||
#include <cstring>
|
||||
|
||||
#include "compositor/DisplayInfo.h"
|
||||
#include "drm/DrmConnector.h"
|
||||
#include "drm/DrmMode.h"
|
||||
#include "utils/log.h"
|
||||
|
||||
constexpr uint32_t kHeadlessModeDisplayWidthMm = 163;
|
||||
constexpr uint32_t kHeadlessModeDisplayHeightMm = 122;
|
||||
|
|
|
|||
|
|
@ -18,8 +18,10 @@
|
|||
|
||||
#include "HwcLayer.h"
|
||||
|
||||
#include "HwcDisplay.h"
|
||||
#include "bufferinfo/BufferInfoGetter.h"
|
||||
#include "drm/DrmDevice.h"
|
||||
#include "drm/DrmDisplayPipeline.h"
|
||||
#include "drm/DrmFbImporter.h"
|
||||
#include "hwc/HwcDisplay.h"
|
||||
#include "utils/log.h"
|
||||
|
||||
namespace android::drm_hwcomposer {
|
||||
|
|
|
|||
|
|
@ -20,7 +20,6 @@
|
|||
#include <memory>
|
||||
|
||||
#include "bufferinfo/BufferInfo.h"
|
||||
#include "bufferinfo/BufferInfoGetter.h"
|
||||
#include "compositor/LayerData.h"
|
||||
#include "utils/fd.h"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue