Searched refs:dri2_img (Results 1 – 5 of 5) sorted by relevance
276 struct dri2_egl_image *dri2_img; in dri3_create_image_khr_pixmap() local299 dri2_img = malloc(sizeof *dri2_img); in dri3_create_image_khr_pixmap()300 if (!dri2_img) { in dri3_create_image_khr_pixmap()306 _eglInitImage(&dri2_img->base, disp); in dri3_create_image_khr_pixmap()308 dri2_img->dri_image = loader_dri3_create_image(dri2_dpy->conn, in dri3_create_image_khr_pixmap()313 dri2_img); in dri3_create_image_khr_pixmap()317 return &dri2_img->base; in dri3_create_image_khr_pixmap()327 struct dri2_egl_image *dri2_img; in dri3_create_image_khr_pixmap_from_buffers() local351 dri2_img = malloc(sizeof *dri2_img); in dri3_create_image_khr_pixmap_from_buffers()352 if (!dri2_img) { in dri3_create_image_khr_pixmap_from_buffers()[all …]
683 struct dri2_egl_image *dri2_img; in dri2_lookup_egl_image() local697 dri2_img = dri2_egl_image(image); in dri2_lookup_egl_image()699 return dri2_img->dri_image; in dri2_lookup_egl_image()2214 struct dri2_egl_image *dri2_img; in dri2_create_image_from_dri() local2221 dri2_img = malloc(sizeof *dri2_img); in dri2_create_image_from_dri()2222 if (!dri2_img) { in dri2_create_image_from_dri()2227 _eglInitImage(&dri2_img->base, disp); in dri2_create_image_from_dri()2229 dri2_img->dri_image = dri_image; in dri2_create_image_from_dri()2231 return &dri2_img->base; in dri2_create_image_from_dri()2394 struct dri2_egl_image *dri2_img; in dri2_create_image_khr_texture() local[all …]
471 struct dri2_egl_image *dri2_img; in dri2_drm_create_image_khr_pixmap() local473 dri2_img = malloc(sizeof *dri2_img); in dri2_drm_create_image_khr_pixmap()474 if (!dri2_img) { in dri2_drm_create_image_khr_pixmap()479 _eglInitImage(&dri2_img->base, disp); in dri2_drm_create_image_khr_pixmap()481 dri2_img->dri_image = dri2_dpy->image->dupImage(dri_bo->image, dri2_img); in dri2_drm_create_image_khr_pixmap()482 if (dri2_img->dri_image == NULL) { in dri2_drm_create_image_khr_pixmap()483 free(dri2_img); in dri2_drm_create_image_khr_pixmap()488 return &dri2_img->base; in dri2_drm_create_image_khr_pixmap()
1053 struct dri2_egl_image *dri2_img; in dri2_create_image_khr_pixmap() local1103 dri2_img = malloc(sizeof *dri2_img); in dri2_create_image_khr_pixmap()1104 if (!dri2_img) { in dri2_create_image_khr_pixmap()1111 _eglInitImage(&dri2_img->base, disp); in dri2_create_image_khr_pixmap()1114 dri2_img->dri_image = in dri2_create_image_khr_pixmap()1121 dri2_img); in dri2_create_image_khr_pixmap()1126 return &dri2_img->base; in dri2_create_image_khr_pixmap()
1181 struct dri2_egl_image *dri2_img = dri2_egl_image(img); in dri2_wl_create_wayland_buffer_from_image() local1182 __DRIimage *image = dri2_img->dri_image; in dri2_wl_create_wayland_buffer_from_image()