Searched refs:rendernode_name (Results 1 – 3 of 3) sorted by relevance
/external/minigbm/ |
D | minigbm_helpers.c | 217 char *rendernode_name; in gbm_get_default_device_fd() local 233 ret = asprintf(&rendernode_name, "/dev/dri/%s", dir_ent->d_name); in gbm_get_default_device_fd() 237 fd = open(rendernode_name, O_RDWR | O_CLOEXEC | O_NOCTTY | O_NONBLOCK); in gbm_get_default_device_fd() 238 free(rendernode_name); in gbm_get_default_device_fd() 294 char rendernode_name[64]; in gbm_detect_device_info_path() local 303 snprintf(rendernode_name, sizeof(rendernode_name), "/dev/dri/renderD%d", in gbm_detect_device_info_path() 305 fd = open(rendernode_name, O_RDWR | O_CLOEXEC | O_NOCTTY | O_NONBLOCK); in gbm_detect_device_info_path()
|
/external/virglrenderer/src/ |
D | vrend_winsys_gbm.c | 120 char *rendernode_name; in rendernode_open() local 136 ret = asprintf(&rendernode_name, "/dev/dri/%s", dir_ent->d_name); in rendernode_open() 140 fd = open(rendernode_name, O_RDWR | O_CLOEXEC | O_NOCTTY | O_NONBLOCK); in rendernode_open() 141 free(rendernode_name); in rendernode_open()
|
/external/virglrenderer/vtest/ |
D | vtest_renderer.c | 74 const char *rendernode_name; member 98 if (!renderer->rendernode_name) in vtest_get_drm_fd() 100 fd = open(renderer->rendernode_name, O_RDWR | O_CLOEXEC | O_NOCTTY | O_NONBLOCK); in vtest_get_drm_fd() 103 renderer->rendernode_name); in vtest_get_drm_fd() 263 renderer.rendernode_name = render_device; in vtest_init_renderer()
|