mirror of
https://github.com/hyprwm/aquamarine.git
synced 2024-11-17 20:06:00 +01:00
Vaxry
f888bfb6e4
Adds the bare basic of DRM code, which only initializes the environment atm. We cannot render yet.
13 lines
641 B
C++
13 lines
641 B
C++
#pragma once
|
|
|
|
#include <aquamarine/backend/DRM.hpp>
|
|
|
|
namespace Aquamarine {
|
|
bool getDRMConnectorProps(int fd, uint32_t id, SDRMConnector::UDRMConnectorProps* out);
|
|
bool getDRMCRTCProps(int fd, uint32_t id, SDRMCRTC::UDRMCRTCProps* out);
|
|
bool getDRMPlaneProps(int fd, uint32_t id, SDRMPlane::UDRMPlaneProps* out);
|
|
bool getDRMProp(int fd, uint32_t obj, uint32_t prop, uint64_t* ret);
|
|
void* getDRMPropBlob(int fd, uint32_t obj, uint32_t prop, size_t* ret_len);
|
|
char* getDRMPropEnum(int fd, uint32_t obj, uint32_t prop_id);
|
|
bool introspectDRMPropRange(int fd, uint32_t prop_id, uint64_t* min, uint64_t* max);
|
|
};
|