Home
last modified time | relevance | path

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

/external/mesa3d/src/egl/drivers/dri2/
Dplatform_x11_dri3.c276 struct dri2_egl_image *dri2_img; in dri3_create_image_khr_pixmap() local
299 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() local
351 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 …]
Degl_dri2.c683 struct dri2_egl_image *dri2_img; in dri2_lookup_egl_image() local
697 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() local
2221 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 …]
Dplatform_drm.c471 struct dri2_egl_image *dri2_img; in dri2_drm_create_image_khr_pixmap() local
473 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()
Dplatform_x11.c1053 struct dri2_egl_image *dri2_img; in dri2_create_image_khr_pixmap() local
1103 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()
Dplatform_wayland.c1181 struct dri2_egl_image *dri2_img = dri2_egl_image(img); in dri2_wl_create_wayland_buffer_from_image() local
1182 __DRIimage *image = dri2_img->dri_image; in dri2_wl_create_wayland_buffer_from_image()