Searched refs:dri2_img (Results 1 – 4 of 4) sorted by relevance
280 struct dri2_egl_image *dri2_img; in dri2_lookup_egl_image() local291 dri2_img = dri2_egl_image(image); in dri2_lookup_egl_image()293 return dri2_img->dri_image; in dri2_lookup_egl_image()1062 struct dri2_egl_image *dri2_img; in dri2_create_image() local1069 dri2_img = malloc(sizeof *dri2_img); in dri2_create_image()1070 if (!dri2_img) { in dri2_create_image()1075 if (!_eglInitImage(&dri2_img->base, disp)) { in dri2_create_image()1076 free(dri2_img); in dri2_create_image()1080 dri2_img->dri_image = dri_image; in dri2_create_image()1082 return &dri2_img->base; in dri2_create_image()[all …]
348 struct dri2_egl_image *dri2_img; in dri2_create_image_khr_pixmap() local350 dri2_img = malloc(sizeof *dri2_img); in dri2_create_image_khr_pixmap()351 if (!dri2_img) { in dri2_create_image_khr_pixmap()356 if (!_eglInitImage(&dri2_img->base, disp)) { in dri2_create_image_khr_pixmap()357 free(dri2_img); in dri2_create_image_khr_pixmap()361 dri2_img->dri_image = dri2_dpy->image->dupImage(dri_bo->image, dri2_img); in dri2_create_image_khr_pixmap()362 if (dri2_img->dri_image == NULL) { in dri2_create_image_khr_pixmap()363 free(dri2_img); in dri2_create_image_khr_pixmap()368 return &dri2_img->base; in dri2_create_image_khr_pixmap()
286 struct dri2_egl_image *dri2_img; in dri2_create_image_android_native_buffer() local326 dri2_img = calloc(1, sizeof(*dri2_img)); in dri2_create_image_android_native_buffer()327 if (!dri2_img) { in dri2_create_image_android_native_buffer()332 if (!_eglInitImage(&dri2_img->base, disp)) { in dri2_create_image_android_native_buffer()333 free(dri2_img); in dri2_create_image_android_native_buffer()337 dri2_img->dri_image = in dri2_create_image_android_native_buffer()344 dri2_img); in dri2_create_image_android_native_buffer()345 if (!dri2_img->dri_image) { in dri2_create_image_android_native_buffer()346 free(dri2_img); in dri2_create_image_android_native_buffer()351 return &dri2_img->base; in dri2_create_image_android_native_buffer()
865 struct dri2_egl_image *dri2_img; in dri2_create_image_khr_pixmap() local919 dri2_img = malloc(sizeof *dri2_img); in dri2_create_image_khr_pixmap()920 if (!dri2_img) { in dri2_create_image_khr_pixmap()927 if (!_eglInitImage(&dri2_img->base, disp)) { in dri2_create_image_khr_pixmap()930 free(dri2_img); in dri2_create_image_khr_pixmap()935 dri2_img->dri_image = in dri2_create_image_khr_pixmap()942 dri2_img); in dri2_create_image_khr_pixmap()947 return &dri2_img->base; in dri2_create_image_khr_pixmap()