1
0
Fork 0

Cleanup includes in bufferinfo/ per IWYU style

Change-Id: Ibdafec5fe32e235427ae5adf897c46a10e6a35c0
This commit is contained in:
Andrew Wolfers 2025-11-11 17:14:44 +00:00
parent 57d43b853f
commit d2d2b7375b
10 changed files with 20 additions and 8 deletions

View file

@ -17,7 +17,6 @@
#define LOG_TAG "drmhwc" #define LOG_TAG "drmhwc"
#include "BufferInfoGetter.h" #include "BufferInfoGetter.h"
#include "BufferInfoMapperMetadata.h"
#include <sys/stat.h> #include <sys/stat.h>
#include <sys/types.h> #include <sys/types.h>
@ -27,8 +26,8 @@
#include <mutex> #include <mutex>
#include "bufferinfo/BufferInfoMapperMetadata.h"
#include "utils/log.h" #include "utils/log.h"
#include "utils/properties.h"
namespace android::drm_hwcomposer { namespace android::drm_hwcomposer {

View file

@ -21,8 +21,7 @@
#include <optional> #include <optional>
#include "BufferInfo.h" #include "utils/log.h"
#include "drm/DrmDevice.h"
#ifndef DRM_FORMAT_INVALID #ifndef DRM_FORMAT_INVALID
#define DRM_FORMAT_INVALID 0 #define DRM_FORMAT_INVALID 0
@ -32,6 +31,8 @@ namespace android::drm_hwcomposer {
using BufferUniqueId = uint64_t; using BufferUniqueId = uint64_t;
struct BufferInfo;
class BufferInfoGetter { class BufferInfoGetter {
public: public:
virtual ~BufferInfoGetter() = default; virtual ~BufferInfoGetter() = default;

View file

@ -25,6 +25,8 @@
#include <cinttypes> #include <cinttypes>
#include "bufferinfo/BufferInfo.h"
#include "bufferinfo/BufferInfoGetter.h"
#include "utils/log.h" #include "utils/log.h"
namespace android::drm_hwcomposer { namespace android::drm_hwcomposer {

View file

@ -20,6 +20,8 @@
namespace android::drm_hwcomposer { namespace android::drm_hwcomposer {
struct BufferInfo;
class BufferInfoMapperMetadata : public BufferInfoGetter { class BufferInfoMapperMetadata : public BufferInfoGetter {
public: public:
using BufferInfoGetter::BufferInfoGetter; using BufferInfoGetter::BufferInfoGetter;

View file

@ -22,6 +22,8 @@
#include <cerrno> #include <cerrno>
#include "bufferinfo/BufferInfo.h"
#include "bufferinfo/BufferInfoGetter.h"
#include "img_gralloc1_public.h" #include "img_gralloc1_public.h"
#include "utils/log.h" #include "utils/log.h"

View file

@ -25,8 +25,9 @@
#include <mutex> #include <mutex>
#include "bufferinfo/BufferInfo.h"
#include "bufferinfo/BufferInfoGetter.h"
#include "utils/log.h" #include "utils/log.h"
#include "utils/properties.h"
namespace android::drm_hwcomposer { namespace android::drm_hwcomposer {

View file

@ -23,8 +23,9 @@
#include <cinttypes> #include <cinttypes>
#include "bufferinfo/BufferInfo.h"
#include "bufferinfo/BufferInfoGetter.h"
#include "gralloc_priv.h" #include "gralloc_priv.h"
#include "utils/log.h"
#define MALI_ALIGN(value, base) (((value) + ((base)-1)) & ~((base)-1)) #define MALI_ALIGN(value, base) (((value) + ((base)-1)) & ~((base)-1))

View file

@ -25,8 +25,9 @@
#include <cinttypes> #include <cinttypes>
#include "bufferinfo/BufferInfo.h"
#include "bufferinfo/BufferInfoGetter.h"
#include "gralloc_priv.h" #include "gralloc_priv.h"
#include "utils/log.h"
namespace android::drm_hwcomposer { namespace android::drm_hwcomposer {

View file

@ -23,8 +23,9 @@
#include <cinttypes> #include <cinttypes>
#include "bufferinfo/BufferInfo.h"
#include "bufferinfo/BufferInfoGetter.h"
#include "gralloc_priv.h" #include "gralloc_priv.h"
#include "utils/log.h"
namespace android::drm_hwcomposer { namespace android::drm_hwcomposer {

View file

@ -24,6 +24,8 @@
#include <cerrno> #include <cerrno>
#include <cstring> #include <cstring>
#include "bufferinfo/BufferInfo.h"
#include "bufferinfo/BufferInfoGetter.h"
#include "utils/log.h" #include "utils/log.h"
namespace android::drm_hwcomposer { namespace android::drm_hwcomposer {