Home
last modified time | relevance | path

Searched refs:visual_idx (Results 1 – 1 of 1) sorted by relevance

/external/mesa3d/src/egl/drivers/dri2/
Dplatform_wayland.c317 int visual_idx; in dri2_wl_create_window_surface() local
341 visual_idx = dri2_wl_visual_idx_from_config(dri2_dpy, config); in dri2_wl_create_window_surface()
342 assert(visual_idx != -1); in dri2_wl_create_window_surface()
345 dri2_surf->format = dri2_wl_visuals[visual_idx].wl_drm_format; in dri2_wl_create_window_surface()
348 dri2_surf->format = dri2_wl_visuals[visual_idx].wl_shm_format; in dri2_wl_create_window_surface()
511 int visual_idx; in get_back_bo() local
517 visual_idx = dri2_wl_visual_idx_from_fourcc(dri2_surf->format); in get_back_bo()
518 assert(visual_idx != -1); in get_back_bo()
519 dri_image_format = dri2_wl_visuals[visual_idx].dri_image_format; in get_back_bo()
521 modifiers = u_vector_tail(&dri2_dpy->wl_modifiers[visual_idx]); in get_back_bo()
[all …]