Loading...
Searching...
No Matches
score::gfx::drm::DrmFunctions Struct Reference

Public Types

using FN_drmGetVersion = drmVersionPtr(*)(int)
 
using FN_drmFreeVersion = void(*)(drmVersionPtr)
 
using FN_drmSetClientCap = int(*)(int, uint64_t, uint64_t)
 
using FN_drmIsMaster = int(*)(int)
 
using FN_drmSetMaster = int(*)(int)
 
using FN_drmDropMaster = int(*)(int)
 
using FN_drmPrimeFDToHandle = int(*)(int, int, uint32_t *)
 
using FN_drmHandleEvent = int(*)(int, drmEventContextPtr)
 
using FN_drmModeGetResources = drmModeResPtr(*)(int)
 
using FN_drmModeFreeResources = void(*)(drmModeResPtr)
 
using FN_drmModeGetConnector = drmModeConnectorPtr(*)(int, uint32_t)
 
using FN_drmModeFreeConnector = void(*)(drmModeConnectorPtr)
 
using FN_drmModeGetEncoder = drmModeEncoderPtr(*)(int, uint32_t)
 
using FN_drmModeFreeEncoder = void(*)(drmModeEncoderPtr)
 
using FN_drmModeGetCrtc = drmModeCrtcPtr(*)(int, uint32_t)
 
using FN_drmModeFreeCrtc = void(*)(drmModeCrtcPtr)
 
using FN_drmModeSetCrtc = int(*)(int, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t *, int, drmModeModeInfoPtr)
 
using FN_drmModeGetPlaneResources = drmModePlaneResPtr(*)(int)
 
using FN_drmModeFreePlaneResources = void(*)(drmModePlaneResPtr)
 
using FN_drmModeGetPlane = drmModePlanePtr(*)(int, uint32_t)
 
using FN_drmModeFreePlane = void(*)(drmModePlanePtr)
 
using FN_drmModeObjectGetProperties = drmModeObjectPropertiesPtr(*)(int, uint32_t, uint32_t)
 
using FN_drmModeFreeObjectProperties = void(*)(drmModeObjectPropertiesPtr)
 
using FN_drmModeGetProperty = drmModePropertyPtr(*)(int, uint32_t)
 
using FN_drmModeFreeProperty = void(*)(drmModePropertyPtr)
 
using FN_drmModeGetPropertyBlob = drmModePropertyBlobPtr(*)(int, uint32_t)
 
using FN_drmModeFreePropertyBlob = void(*)(drmModePropertyBlobPtr)
 
using FN_drmModeAddFB2WithModifiers = int(*)(int, uint32_t, uint32_t, uint32_t, const uint32_t *, const uint32_t *, const uint32_t *, const uint64_t *, uint32_t *, uint32_t)
 
using FN_drmModeRmFB = int(*)(int, uint32_t)
 
using FN_drmModePageFlip = int(*)(int, uint32_t, uint32_t, uint32_t, void *)
 
using FN_drmModeCreateDumbBuffer = int(*)(int, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t *, uint32_t *, uint64_t *)
 
using FN_drmModeMapDumbBuffer = int(*)(int, uint32_t, uint64_t *)
 
using FN_drmModeDestroyDumbBuffer = int(*)(int, uint32_t)
 
using FN_drmModeAddFB = int(*)(int, uint32_t, uint32_t, uint8_t, uint8_t, uint32_t, uint32_t, uint32_t *)
 
using FN_drmModeAtomicAlloc = drmModeAtomicReqPtr(*)(void)
 
using FN_drmModeAtomicFree = void(*)(drmModeAtomicReqPtr)
 
using FN_drmModeAtomicAddProperty = int(*)(drmModeAtomicReqPtr, uint32_t, uint32_t, uint64_t)
 
using FN_drmModeAtomicCommit = int(*)(int, drmModeAtomicReqPtr, uint32_t, void *)
 
using FN_drmModeCreatePropertyBlob = int(*)(int, const void *, size_t, uint32_t *)
 
using FN_drmModeDestroyPropertyBlob = int(*)(int, uint32_t)
 

Public Member Functions

bool available () const noexcept
 
bool load () noexcept
 

Public Attributes

FN_drmGetVersion getVersion {}
 
FN_drmFreeVersion freeVersion {}
 
FN_drmSetClientCap setClientCap {}
 
FN_drmIsMaster isMaster {}
 
FN_drmSetMaster setMaster {}
 
FN_drmDropMaster dropMaster {}
 
FN_drmPrimeFDToHandle primeFDToHandle {}
 
FN_drmHandleEvent handleEvent {}
 
FN_drmModeGetResources getResources {}
 
FN_drmModeFreeResources freeResources {}
 
FN_drmModeGetConnector getConnector {}
 
FN_drmModeFreeConnector freeConnector {}
 
FN_drmModeGetEncoder getEncoder {}
 
FN_drmModeFreeEncoder freeEncoder {}
 
FN_drmModeGetCrtc getCrtc {}
 
FN_drmModeFreeCrtc freeCrtc {}
 
FN_drmModeSetCrtc setCrtc {}
 
FN_drmModeGetPlaneResources getPlaneResources {}
 
FN_drmModeFreePlaneResources freePlaneResources {}
 
FN_drmModeGetPlane getPlane {}
 
FN_drmModeFreePlane freePlane {}
 
FN_drmModeObjectGetProperties objectGetProperties {}
 
FN_drmModeFreeObjectProperties freeObjectProperties {}
 
FN_drmModeGetProperty getProperty {}
 
FN_drmModeFreeProperty freeProperty {}
 
FN_drmModeGetPropertyBlob getPropertyBlob {}
 
FN_drmModeFreePropertyBlob freePropertyBlob {}
 
FN_drmModeAddFB2WithModifiers addFB2WithModifiers {}
 
FN_drmModeRmFB rmFB {}
 
FN_drmModePageFlip pageFlip {}
 
FN_drmModeCreateDumbBuffer createDumb {}
 
FN_drmModeMapDumbBuffer mapDumb {}
 
FN_drmModeDestroyDumbBuffer destroyDumb {}
 
FN_drmModeAddFB addFB {}
 
FN_drmModeAtomicAlloc atomicAlloc {}
 
FN_drmModeAtomicFree atomicFree {}
 
FN_drmModeAtomicAddProperty atomicAddProperty {}
 
FN_drmModeAtomicCommit atomicCommit {}
 
FN_drmModeCreatePropertyBlob createPropertyBlob {}
 
FN_drmModeDestroyPropertyBlob destroyPropertyBlob {}
 

The documentation for this struct was generated from the following file: