Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vaxerski committed Jul 24, 2024
1 parent dd8f312 commit c63080e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
1 change: 0 additions & 1 deletion include/aquamarine/backend/DRM.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
#include <hyprutils/memory/WeakPtr.hpp>
#include <wayland-client.h>
#include <xf86drmMode.h>
#include "FormatUtils.hpp"

namespace Aquamarine {
class CDRMBackend;
Expand Down
6 changes: 6 additions & 0 deletions include/aquamarine/backend/Misc.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
#include <vector>

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<uint64_t> modifiers;
Expand Down
6 changes: 0 additions & 6 deletions src/include/FormatUtils.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,4 @@
#include <string>
#include <cstdint>

struct SGLFormat {
uint32_t drmFormat = 0;
uint64_t modifier = 0;
bool external = false;
};

std::string fourccToName(uint32_t drmFormat);

0 comments on commit c63080e

Please sign in to comment.