Loading...
Searching...
No Matches
DrmKmsDevice.hpp
Go to the documentation of this file.
Definition DrmKmsDevice.hpp:131
bool atomicReady() const noexcept
bool pageFlip(std::uint32_t fbId, bool async=false)
bool writebackCapture(std::uint32_t writebackConnectorId, std::uint32_t fbId, bool includeCrtcState=true, bool allowModeset=true, bool testOnly=false)
bool atomicModeset(std::uint32_t connectorId, const ModeInfo &mode, std::uint32_t fbId)
bool setMode(std::uint32_t connectorId, const ModeInfo &mode, std::uint32_t fbId)
Light up connectorId with one of its modes, scanning out fbId.
std::uint32_t addFramebuffer(const FramebufferDesc &desc)
bool open(const std::string &path)
bool setOverlay(std::uint32_t planeId, std::uint32_t fbId, int x, int y, std::uint32_t width, std::uint32_t height)
bool atomicFlip(std::uint32_t fbId, bool async=false)
STL namespace.
Definition DrmKmsDevice.hpp:56
std::string name
"HDMI-A-1", "DP-2", "Writeback-1"
Definition DrmKmsDevice.hpp:58
Definition DrmKmsDevice.hpp:91
Definition DrmKmsDevice.hpp:98
bool writebackConnectors
writeback connectors visible (readback)
Definition DrmKmsDevice.hpp:103
bool atomic
DRM_CLIENT_CAP_ATOMIC accepted.
Definition DrmKmsDevice.hpp:101
bool hasMaster
we hold master (else read-only)
Definition DrmKmsDevice.hpp:104
bool universalPlanes
overlay/cursor planes visible
Definition DrmKmsDevice.hpp:102
Result of one completed page flip, taken from the kernel's vblank event.
Definition DrmKmsDevice.hpp:124
std::uint64_t timestampNs
when the flip actually landed
Definition DrmKmsDevice.hpp:126
A framebuffer the kernel can scan out, built from one or more DMA-BUFs.
Definition DrmKmsDevice.hpp:112
Definition DrmKmsDevice.hpp:160
Definition DrmKmsDevice.hpp:46
std::uint32_t refreshMilliHz
60000 == 60.000 Hz
Definition DrmKmsDevice.hpp:49
Definition DrmKmsDevice.hpp:72
Definition DrmKmsDevice.hpp:78
std::uint32_t possibleCrtcs
bitmask of CRTC indices
Definition DrmKmsDevice.hpp:86