Cleanup includes in hwc3/ per IWYU style
Change-Id: I7a700723f495b24cd91524d0dae99177e35e447e
This commit is contained in:
parent
d2d2b7375b
commit
a9ff98d59f
5 changed files with 30 additions and 16 deletions
|
|
@ -17,17 +17,19 @@
|
|||
#include <unordered_map>
|
||||
#include <vector>
|
||||
|
||||
#include <aidl/android/hardware/graphics/composer3/CommandError.h>
|
||||
#include <aidl/android/hardware/graphics/composer3/CommandResultPayload.h>
|
||||
#include <aidl/android/hardware/graphics/composer3/PresentFence.h>
|
||||
#include <aidl/android/hardware/graphics/composer3/PresentOrValidate.h>
|
||||
#include <aidl/android/hardware/graphics/composer3/ReleaseFences.h>
|
||||
#include <android-base/unique_fd.h>
|
||||
|
||||
#include "Utils.h"
|
||||
#include "aidl/android/hardware/graphics/composer3/CommandError.h"
|
||||
#include "aidl/android/hardware/graphics/composer3/CommandResultPayload.h"
|
||||
#include "aidl/android/hardware/graphics/composer3/PresentFence.h"
|
||||
#include "aidl/android/hardware/graphics/composer3/PresentOrValidate.h"
|
||||
#include "aidl/android/hardware/graphics/composer3/ReleaseFences.h"
|
||||
|
||||
namespace aidl::android::hardware::graphics::composer3 {
|
||||
|
||||
namespace hwc3 {
|
||||
enum class Error;
|
||||
} // namespace hwc3
|
||||
|
||||
struct DisplayChanges {
|
||||
std::optional<ChangedCompositionTypes> composition_changes;
|
||||
std::optional<DisplayRequest> display_request_changes;
|
||||
|
|
|
|||
|
|
@ -41,15 +41,19 @@
|
|||
#include <utils/Trace.h>
|
||||
|
||||
#include "bufferinfo/BufferInfo.h"
|
||||
#include "bufferinfo/BufferInfoGetter.h"
|
||||
#include "compositor/DisplayInfo.h"
|
||||
#include "hwc/HwcDisplay.h"
|
||||
#include "hwc/HwcDisplayConfigs.h"
|
||||
#include "hwc/HwcLayer.h"
|
||||
#include "hwc3/CommandResultWriter.h"
|
||||
#include "hwc3/DrmHwcThree.h"
|
||||
#include "hwc3/Utils.h"
|
||||
#include "stats/CompositionStatsAtomReporter.h"
|
||||
#include "stats/CompositionStatsPoller.h"
|
||||
#include "utils/fd.h"
|
||||
#include "utils/log.h"
|
||||
#include "utils/properties.h"
|
||||
|
||||
using ::android::drm_hwcomposer::BufferBlendMode;
|
||||
using ::android::drm_hwcomposer::BufferColorSpace;
|
||||
|
|
|
|||
|
|
@ -18,12 +18,10 @@
|
|||
|
||||
#include <memory>
|
||||
|
||||
#include "aidl/android/hardware/graphics/composer3/BnComposerClient.h"
|
||||
#include "aidl/android/hardware/graphics/composer3/LayerCommand.h"
|
||||
#include <aidl/android/hardware/graphics/composer3/BnComposerClient.h>
|
||||
#include <aidl/android/hardware/graphics/composer3/LayerCommand.h>
|
||||
|
||||
#include "hwc/HwcLayer.h"
|
||||
#include "hwc3/CommandResultWriter.h"
|
||||
#include "hwc3/Utils.h"
|
||||
#include "utils/Mutex.h"
|
||||
|
||||
using AidlPixelFormat = aidl::android::hardware::graphics::common::PixelFormat;
|
||||
using AidlNativeHandle = aidl::android::hardware::common::NativeHandle;
|
||||
|
|
@ -33,6 +31,14 @@ class CompositionStatsPoller;
|
|||
class HwcDisplay;
|
||||
} // namespace android::drm_hwcomposer
|
||||
|
||||
namespace aidl::android::hardware::graphics::composer3 {
|
||||
class CommandResultWriter;
|
||||
|
||||
namespace hwc3 {
|
||||
enum class Error;
|
||||
} // namespace hwc3
|
||||
} // namespace aidl::android::hardware::graphics::composer3
|
||||
|
||||
namespace aidl::android::hardware::graphics::composer3::impl {
|
||||
using AidlColorMode = ColorMode;
|
||||
|
||||
|
|
|
|||
|
|
@ -20,9 +20,11 @@
|
|||
|
||||
#include <cinttypes>
|
||||
|
||||
#include "Utils.h"
|
||||
#include "aidl/android/hardware/graphics/common/Dataspace.h"
|
||||
#include "aidl/android/hardware/graphics/common/DisplayHotplugEvent.h"
|
||||
#include <aidl/android/hardware/graphics/common/Dataspace.h>
|
||||
#include <aidl/android/hardware/graphics/common/DisplayHotplugEvent.h>
|
||||
|
||||
#include "drm/DrmHwc.h"
|
||||
#include "hwc/HwcDisplay.h"
|
||||
|
||||
namespace aidl::android::hardware::graphics::composer3::impl {
|
||||
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@
|
|||
#include <android/binder_process.h>
|
||||
#include <sched.h>
|
||||
|
||||
#include "Composer.h"
|
||||
#include "hwc3/Composer.h"
|
||||
#include "utils/log.h"
|
||||
|
||||
using aidl::android::hardware::graphics::composer3::impl::Composer;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue