Home
last modified time | relevance | path

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

/external/mesa3d/src/egl/drivers/dri2/
Degl_dri2.c394 struct dri2_egl_image *dri2_img; in dri2_lookup_egl_image() local
405 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() local
1835 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 …]
Dplatform_x11_dri3.c262 struct dri2_egl_image *dri2_img; in dri3_create_image_khr_pixmap() local
297 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()
Dplatform_drm.c431 struct dri2_egl_image *dri2_img; in dri2_drm_create_image_khr_pixmap() local
433 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()
Dplatform_android.c838 struct dri2_egl_image *dri2_img; in droid_create_image_from_name() local
852 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()
Dplatform_x11.c1006 struct dri2_egl_image *dri2_img; in dri2_create_image_khr_pixmap() local
1066 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()
Dplatform_wayland.c991 struct dri2_egl_image *dri2_img = dri2_egl_image(img); in dri2_wl_create_wayland_buffer_from_image() local
992 __DRIimage *image = dri2_img->dri_image; in dri2_wl_create_wayland_buffer_from_image()