Searched refs:cap (Results 1 – 1 of 1) sorted by relevance
292 if (uint64_t cap = 0; drmGetCap(fd.get(), DRM_CAP_DUMB_BUFFER, &cap) != 0 || cap == 0) { in Init() local