Lines Matching refs:screen
36 dri3_open(ClientPtr client, ScreenPtr screen, RRProviderPtr provider, int *fd) in dri3_open() argument
38 dri3_screen_priv_ptr ds = dri3_screen_priv(screen); in dri3_open()
45 return (*info->open_client) (client, screen, provider, fd); in dri3_open()
47 return (*info->open) (screen, provider, fd); in dri3_open()
53 dri3_pixmap_from_fds(PixmapPtr *ppixmap, ScreenPtr screen, in dri3_pixmap_from_fds() argument
59 dri3_screen_priv_ptr ds = dri3_screen_priv(screen); in dri3_pixmap_from_fds()
67 pixmap = (*info->pixmap_from_fds) (screen, num_fds, fds, width, height, in dri3_pixmap_from_fds()
70 pixmap = (*info->pixmap_from_fd) (screen, fds[0], width, height, in dri3_pixmap_from_fds()
88 ScreenPtr screen = pixmap->drawable.pScreen; in dri3_fds_from_pixmap() local
89 dri3_screen_priv_ptr ds = dri3_screen_priv(screen); in dri3_fds_from_pixmap()
96 return (*info->fds_from_pixmap)(screen, pixmap, fds, strides, offsets, in dri3_fds_from_pixmap()
102 fds[0] = (*info->fd_from_pixmap)(screen, pixmap, &stride, &size); in dri3_fds_from_pixmap()
118 ScreenPtr screen = pixmap->drawable.pScreen; in dri3_fd_from_pixmap() local
119 dri3_screen_priv_ptr ds = dri3_screen_priv(screen); in dri3_fd_from_pixmap()
134 return (*info->fd_from_pixmap)(screen, pixmap, stride, size); in dri3_fd_from_pixmap()
142 num_fds = info->fds_from_pixmap(screen, pixmap, fds, strides, offsets, in dri3_fd_from_pixmap()
157 cache_formats_and_modifiers(ScreenPtr screen) in cache_formats_and_modifiers() argument
159 dri3_screen_priv_ptr ds = dri3_screen_priv(screen); in cache_formats_and_modifiers()
180 if (!info->get_formats(screen, &num_formats, &formats)) in cache_formats_and_modifiers()
196 if (!info->get_modifiers(screen, formats[i], in cache_formats_and_modifiers()
216 dri3_get_supported_modifiers(ScreenPtr screen, DrawablePtr drawable, in dri3_get_supported_modifiers() argument
223 dri3_screen_priv_ptr ds = dri3_screen_priv(screen); in dri3_get_supported_modifiers()
234 ret = cache_formats_and_modifiers(screen); in dri3_get_supported_modifiers()