1
0
Fork 0

drm_hwcomposer: Migrate to android::drm_hwcomposer namespace

Change-Id: I2859aa8f55532d88231389724956fc77b0625339
This commit is contained in:
Andrew Wolfers 2025-09-04 20:20:44 +00:00
parent d4ab368f7f
commit 9255d0d10b
88 changed files with 281 additions and 241 deletions

View file

@ -19,7 +19,7 @@
#include <array>
#include <cstdint>
namespace android {
namespace android::drm_hwcomposer {
/*
* 4x4 Identity matrix used for color transformations.
@ -103,4 +103,4 @@ struct QueuedConfigTiming {
int64_t new_vsync_time_ns;
};
} // namespace android
} // namespace android::drm_hwcomposer

View file

@ -22,7 +22,8 @@
#include "drm/DrmPlane.h"
#include "utils/log.h"
namespace android {
namespace android::drm_hwcomposer {
auto DrmKmsPlan::CreateDrmKmsPlan(const DrmDisplayPipeline &pipe,
std::vector<LayerData> composition,
std::optional<LayerData> cursor_layer)
@ -71,4 +72,4 @@ auto DrmKmsPlan::CreateDrmKmsPlan(const DrmDisplayPipeline &pipe,
return plan;
}
} // namespace android
} // namespace android::drm_hwcomposer

View file

@ -21,7 +21,7 @@
#include "LayerData.h"
namespace android {
namespace android::drm_hwcomposer {
class DrmDevice;
@ -40,4 +40,4 @@ struct DrmKmsPlan {
-> std::unique_ptr<DrmKmsPlan>;
};
} // namespace android
} // namespace android::drm_hwcomposer

View file

@ -35,7 +35,7 @@
#include "utils/log.h"
namespace android {
namespace android::drm_hwcomposer {
auto FlatteningController::CreateInstance(FlatConCallbacks &cbks)
-> std::shared_ptr<FlatteningController> {
@ -98,4 +98,4 @@ void FlatteningController::ThreadFn() {
}
}
} // namespace android
} // namespace android::drm_hwcomposer

View file

@ -21,7 +21,7 @@
#include <functional>
#include <thread>
namespace android {
namespace android::drm_hwcomposer {
// NOLINTNEXTLINE(misc-unused-using-decls): False positive
using std::chrono_literals::operator""s;
@ -73,4 +73,4 @@ class FlatteningController {
FlatConCallbacks cbks_;
};
} // namespace android
} // namespace android::drm_hwcomposer

View file

@ -26,7 +26,7 @@
#include "drm/DrmFbImporter.h"
#include "utils/fd.h"
namespace android {
namespace android::drm_hwcomposer {
class DrmFbIdHandle;
@ -107,4 +107,4 @@ struct LayerData {
SharedFd acquire_fence;
};
} // namespace android
} // namespace android::drm_hwcomposer