Lines Matching refs:DrmDevice
22 uint32_t DrmDevice::device_count()
33 assert(fd && "Failed to query DrmDevice: invalid fd");
46 std::optional<DrmDevice> create_drm_device(int fd, int32_t gpu_num)
58 auto ret = DrmDevice();
65 std::vector<DrmDevice> DrmDevice::create_all()
67 std::vector<DrmDevice> ret = {};
91 std::optional<DrmDevice> DrmDevice::create(int32_t gpu_num)
93 std::optional<DrmDevice> ret = std::nullopt;
112 DrmDevice::DrmDevice(DrmDevice &&other)
121 DrmDevice &DrmDevice::operator=(DrmDevice &&other)
129 DrmDevice::~DrmDevice()
136 DrmDevice::operator bool() const