Cleanup includes in compositor/ per IWYU style
Change-Id: I4362a5ff4228b1a30812ec564f6a0c81e1f5cf08
This commit is contained in:
parent
5337905df6
commit
185f909299
11 changed files with 18 additions and 12 deletions
|
|
@ -16,6 +16,7 @@
|
||||||
|
|
||||||
#include "CompositionPlanner.h"
|
#include "CompositionPlanner.h"
|
||||||
|
|
||||||
|
#include "compositor/LayerData.h"
|
||||||
#include "hwc/HwcLayer.h"
|
#include "hwc/HwcLayer.h"
|
||||||
|
|
||||||
namespace android::drm_hwcomposer {
|
namespace android::drm_hwcomposer {
|
||||||
|
|
|
||||||
|
|
@ -21,13 +21,12 @@
|
||||||
#include <optional>
|
#include <optional>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
#include "compositor/LayerData.h"
|
|
||||||
|
|
||||||
namespace android::drm_hwcomposer {
|
namespace android::drm_hwcomposer {
|
||||||
|
|
||||||
struct LayerToPlaneJoiningPlan;
|
enum class CompositionType;
|
||||||
class HwcDisplay;
|
class HwcDisplay;
|
||||||
class HwcLayer;
|
class HwcLayer;
|
||||||
|
struct LayerToPlaneJoiningPlan;
|
||||||
|
|
||||||
// CompositionPlanner is responsible for determining the mapping between
|
// CompositionPlanner is responsible for determining the mapping between
|
||||||
// HwcLayer and drm planes. This includes deciding which HwcLayers should be
|
// HwcLayer and drm planes. This includes deciding which HwcLayers should be
|
||||||
|
|
|
||||||
|
|
@ -82,7 +82,7 @@ enum class Colorspace : int32_t {
|
||||||
/**
|
/**
|
||||||
* Display panel orientation property values.
|
* Display panel orientation property values.
|
||||||
*/
|
*/
|
||||||
enum PanelOrientation {
|
enum class PanelOrientation {
|
||||||
kModePanelOrientationNormal = 0,
|
kModePanelOrientationNormal = 0,
|
||||||
kModePanelOrientationBottomUp,
|
kModePanelOrientationBottomUp,
|
||||||
kModePanelOrientationLeftUp,
|
kModePanelOrientationLeftUp,
|
||||||
|
|
|
||||||
|
|
@ -20,11 +20,12 @@
|
||||||
#include <tuple>
|
#include <tuple>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
#include "backend/BackendManager.h"
|
|
||||||
#include "compositor/FlatteningController.h"
|
#include "compositor/FlatteningController.h"
|
||||||
#include "compositor/LayerData.h"
|
#include "compositor/LayerData.h"
|
||||||
|
#include "drm/DrmPlane.h"
|
||||||
#include "hwc/HwcDisplay.h"
|
#include "hwc/HwcDisplay.h"
|
||||||
#include "hwc/HwcLayer.h"
|
#include "hwc/HwcLayer.h"
|
||||||
|
#include "utils/log.h"
|
||||||
|
|
||||||
namespace android::drm_hwcomposer {
|
namespace android::drm_hwcomposer {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -16,11 +16,11 @@
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "CompositionPlanner.h"
|
#include "compositor/CompositionPlanner.h"
|
||||||
|
|
||||||
namespace android::drm_hwcomposer {
|
namespace android::drm_hwcomposer {
|
||||||
|
|
||||||
struct LayerToPlaneJoiningPlan;
|
enum class CompositionType;
|
||||||
class HwcDisplay;
|
class HwcDisplay;
|
||||||
class HwcLayer;
|
class HwcLayer;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,6 @@
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
#include "bufferinfo/BufferInfo.h"
|
#include "bufferinfo/BufferInfo.h"
|
||||||
#include "drm/DrmFbImporter.h"
|
|
||||||
#include "utils/fd.h"
|
#include "utils/fd.h"
|
||||||
|
|
||||||
namespace android::drm_hwcomposer {
|
namespace android::drm_hwcomposer {
|
||||||
|
|
|
||||||
|
|
@ -18,9 +18,9 @@
|
||||||
|
|
||||||
#include "LayerToPlaneJoiningPlan.h"
|
#include "LayerToPlaneJoiningPlan.h"
|
||||||
|
|
||||||
#include "drm/DrmDevice.h"
|
#include "compositor/LayerData.h"
|
||||||
|
#include "drm/DrmDisplayPipeline.h"
|
||||||
#include "drm/DrmPlane.h"
|
#include "drm/DrmPlane.h"
|
||||||
#include "utils/log.h"
|
|
||||||
|
|
||||||
namespace android::drm_hwcomposer {
|
namespace android::drm_hwcomposer {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,10 @@
|
||||||
|
|
||||||
namespace android::drm_hwcomposer {
|
namespace android::drm_hwcomposer {
|
||||||
|
|
||||||
class DrmDevice;
|
class DrmPlane;
|
||||||
|
struct DrmDisplayPipeline;
|
||||||
|
template <typename T>
|
||||||
|
class BindingOwner;
|
||||||
|
|
||||||
struct LayerToPlaneJoiningPlan {
|
struct LayerToPlaneJoiningPlan {
|
||||||
struct LayerToPlaneJoining {
|
struct LayerToPlaneJoining {
|
||||||
|
|
|
||||||
|
|
@ -26,6 +26,7 @@
|
||||||
#include "DrmDevice.h"
|
#include "DrmDevice.h"
|
||||||
#include "bufferinfo/BufferInfoGetter.h"
|
#include "bufferinfo/BufferInfoGetter.h"
|
||||||
#include "compositor/LayerData.h"
|
#include "compositor/LayerData.h"
|
||||||
|
#include "drm/DrmFbImporter.h"
|
||||||
#include "utils/log.h"
|
#include "utils/log.h"
|
||||||
|
|
||||||
namespace android::drm_hwcomposer {
|
namespace android::drm_hwcomposer {
|
||||||
|
|
|
||||||
|
|
@ -16,6 +16,7 @@
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#include <map>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
#include "bufferinfo/BufferInfo.h"
|
#include "bufferinfo/BufferInfo.h"
|
||||||
|
|
|
||||||
|
|
@ -1091,7 +1091,8 @@ ndk::ScopedAStatus ComposerClient::getDisplayPhysicalOrientation(
|
||||||
*orientation = common::Transform::ROT_90;
|
*orientation = common::Transform::ROT_90;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
ALOGE("Unknown panel orientation value: %d", drm_orientation);
|
ALOGE("Unknown panel orientation value: %d",
|
||||||
|
static_cast<int>(drm_orientation));
|
||||||
return ToBinderStatus(hwc3::Error::kBadDisplay);
|
return ToBinderStatus(hwc3::Error::kBadDisplay);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue