|
Ream v0.1.0-1
C++ graphics library for Linux
|
A DRM device file descriptor paired with arbitrary user data. More...
#include <RDRMPlatformHandle.h>
Public Member Functions | |
| bool | operator== (const RDRMFdHandle &other) const |
| Compares two handles for equality based on their file descriptor. | |
Public Attributes | |
| int | fd |
| The DRM device file descriptor. | |
| void * | userData |
| Opaque user-provided data associated with the file descriptor. | |
A DRM device file descriptor paired with arbitrary user data.
Used by RDRMPlatformHandle to identify the set of DRM devices a client can access. Equality and hashing are based solely on the file descriptor (fd), so userData does not participate in set membership.
|
inline |
Compares two handles for equality based on their file descriptor.
| other | The handle to compare against. |
| int fd |
The DRM device file descriptor.
| void* userData |
Opaque user-provided data associated with the file descriptor.