Searched refs:dri2_img (Results 1 – 6 of 6) sorted by relevance
394 struct dri2_egl_image *dri2_img; in dri2_lookup_egl_image() local405 dri2_img = dri2_egl_image(image); in dri2_lookup_egl_image()407 return dri2_img->dri_image; in dri2_lookup_egl_image()1828 struct dri2_egl_image *dri2_img; in dri2_create_image_from_dri() local1835 dri2_img = malloc(sizeof *dri2_img); in dri2_create_image_from_dri()1836 if (!dri2_img) { in dri2_create_image_from_dri()1841 _eglInitImage(&dri2_img->base, disp); in dri2_create_image_from_dri()1843 dri2_img->dri_image = dri_image; in dri2_create_image_from_dri()1845 return &dri2_img->base; in dri2_create_image_from_dri()2005 struct dri2_egl_image *dri2_img; in dri2_create_image_khr_texture() local[all …]
262 struct dri2_egl_image *dri2_img; in dri3_create_image_khr_pixmap() local297 dri2_img = malloc(sizeof *dri2_img); in dri3_create_image_khr_pixmap()298 if (!dri2_img) { in dri3_create_image_khr_pixmap()303 _eglInitImage(&dri2_img->base, disp); in dri3_create_image_khr_pixmap()305 dri2_img->dri_image = loader_dri3_create_image(dri2_dpy->conn, in dri3_create_image_khr_pixmap()310 dri2_img); in dri3_create_image_khr_pixmap()314 return &dri2_img->base; in dri3_create_image_khr_pixmap()
431 struct dri2_egl_image *dri2_img; in dri2_drm_create_image_khr_pixmap() local433 dri2_img = malloc(sizeof *dri2_img); in dri2_drm_create_image_khr_pixmap()434 if (!dri2_img) { in dri2_drm_create_image_khr_pixmap()439 _eglInitImage(&dri2_img->base, disp); in dri2_drm_create_image_khr_pixmap()441 dri2_img->dri_image = dri2_dpy->image->dupImage(dri_bo->image, dri2_img); in dri2_drm_create_image_khr_pixmap()442 if (dri2_img->dri_image == NULL) { in dri2_drm_create_image_khr_pixmap()443 free(dri2_img); in dri2_drm_create_image_khr_pixmap()448 return &dri2_img->base; in dri2_drm_create_image_khr_pixmap()
838 struct dri2_egl_image *dri2_img; in droid_create_image_from_name() local852 dri2_img = calloc(1, sizeof(*dri2_img)); in droid_create_image_from_name()853 if (!dri2_img) { in droid_create_image_from_name()858 _eglInitImage(&dri2_img->base, disp); in droid_create_image_from_name()860 dri2_img->dri_image = in droid_create_image_from_name()867 dri2_img); in droid_create_image_from_name()868 if (!dri2_img->dri_image) { in droid_create_image_from_name()869 free(dri2_img); in droid_create_image_from_name()874 return &dri2_img->base; in droid_create_image_from_name()
1006 struct dri2_egl_image *dri2_img; in dri2_create_image_khr_pixmap() local1066 dri2_img = malloc(sizeof *dri2_img); in dri2_create_image_khr_pixmap()1067 if (!dri2_img) { in dri2_create_image_khr_pixmap()1074 _eglInitImage(&dri2_img->base, disp); in dri2_create_image_khr_pixmap()1077 dri2_img->dri_image = in dri2_create_image_khr_pixmap()1084 dri2_img); in dri2_create_image_khr_pixmap()1089 return &dri2_img->base; in dri2_create_image_khr_pixmap()
991 struct dri2_egl_image *dri2_img = dri2_egl_image(img); in dri2_wl_create_wayland_buffer_from_image() local992 __DRIimage *image = dri2_img->dri_image; in dri2_wl_create_wayland_buffer_from_image()