Home
last modified time | relevance | path

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

/external/mesa3d/src/vulkan/wsi/
Dwsi_common_display.c375 struct wsi_display_mode *preferred_mode = NULL, *largest_mode = NULL; in wsi_display_fill_in_display_properties() local
383 if (largest_mode == NULL || in wsi_display_fill_in_display_properties()
384 mode_size(display_mode) > mode_size(largest_mode)) in wsi_display_fill_in_display_properties()
386 largest_mode = display_mode; in wsi_display_fill_in_display_properties()
393 } else if (largest_mode) { in wsi_display_fill_in_display_properties()
394 properties->physicalResolution.width = largest_mode->hdisplay; in wsi_display_fill_in_display_properties()
395 properties->physicalResolution.height = largest_mode->vdisplay; in wsi_display_fill_in_display_properties()