Louvre
v2.13.0-1
C++ library for Wayland compositors
|
GPU Information. More...
Public Member Functions | |
const std::string & | name () const noexcept |
Gets the GPU name. More... | |
dev_t | dev () const noexcept |
Gets the Unix device identifier. More... | |
int | id () const noexcept |
Gets the Libseat device ID. More... | |
int | fd () const noexcept |
Gets the read-write file descriptor. More... | |
int | roFd () const noexcept |
Gets the read-only file descriptor. More... | |
GPU Information.
This class typically contains information about a DRM node, however, its properties could have different meanings when using virtualized backends.
To see all available devices, use LSeat::gpus(). For a particular output, use LOutput::gpu().
|
inlinenoexcept |
Gets the GPU name.
When using the DRM backend, this can be, e.g., /dev/dri/card0.
|
inlinenoexcept |
Gets the Unix device identifier.
|
inlinenoexcept |
Gets the Libseat device ID.
|
inlinenoexcept |
Gets the read-write file descriptor.
|
inlinenoexcept |
Gets the read-only file descriptor.