diff --git a/include/aquamarine/backend/DRM.hpp b/include/aquamarine/backend/DRM.hpp index 6d36bef..7bb441d 100644 --- a/include/aquamarine/backend/DRM.hpp +++ b/include/aquamarine/backend/DRM.hpp @@ -7,7 +7,6 @@ #include #include #include -#include "FormatUtils.hpp" namespace Aquamarine { class CDRMBackend; diff --git a/include/aquamarine/backend/Misc.hpp b/include/aquamarine/backend/Misc.hpp index bce8847..0bdd960 100644 --- a/include/aquamarine/backend/Misc.hpp +++ b/include/aquamarine/backend/Misc.hpp @@ -4,6 +4,12 @@ #include namespace Aquamarine { + struct SGLFormat { + uint32_t drmFormat = 0; + uint64_t modifier = 0; + bool external = false; + }; + struct SDRMFormat { uint32_t drmFormat = 0; /* DRM_FORMAT_INVALID */ std::vector modifiers; diff --git a/src/include/FormatUtils.hpp b/src/include/FormatUtils.hpp index a49df90..212e01a 100644 --- a/src/include/FormatUtils.hpp +++ b/src/include/FormatUtils.hpp @@ -3,10 +3,4 @@ #include #include -struct SGLFormat { - uint32_t drmFormat = 0; - uint64_t modifier = 0; - bool external = false; -}; - std::string fourccToName(uint32_t drmFormat); \ No newline at end of file