Searched refs:color_buffers (Results 1 – 3 of 3) sorted by relevance
94 for (i = 0; i < ARRAY_SIZE(dri2_surf->color_buffers); ++i) in wl_buffer_release()95 if (dri2_surf->color_buffers[i].wl_buffer == buffer) in wl_buffer_release()98 if (i == ARRAY_SIZE(dri2_surf->color_buffers)) { in wl_buffer_release()103 dri2_surf->color_buffers[i].locked = 0; in wl_buffer_release()239 for (i = 0; i < ARRAY_SIZE(dri2_surf->color_buffers); i++) { in dri2_wl_destroy_surface()240 if (dri2_surf->color_buffers[i].wl_buffer) in dri2_wl_destroy_surface()241 wl_buffer_destroy(dri2_surf->color_buffers[i].wl_buffer); in dri2_wl_destroy_surface()242 if (dri2_surf->color_buffers[i].dri_image) in dri2_wl_destroy_surface()243 dri2_dpy->image->destroyImage(dri2_surf->color_buffers[i].dri_image); in dri2_wl_destroy_surface()244 if (dri2_surf->color_buffers[i].linear_copy) in dri2_wl_destroy_surface()[all …]
73 for (i = 0; i < ARRAY_SIZE(dri2_surf->color_buffers); i++) { in release_buffer()74 if (dri2_surf->color_buffers[i].bo == bo) { in release_buffer()75 dri2_surf->color_buffers[i].locked = 0; in release_buffer()87 for (i = 0; i < ARRAY_SIZE(dri2_surf->color_buffers); i++) in has_free_buffers()88 if (!dri2_surf->color_buffers[i].locked) in has_free_buffers()196 for (i = 0; i < ARRAY_SIZE(dri2_surf->color_buffers); i++) { in dri2_drm_destroy_surface()197 if (dri2_surf->color_buffers[i].bo) in dri2_drm_destroy_surface()198 gbm_bo_destroy(dri2_surf->color_buffers[i].bo); in dri2_drm_destroy_surface()222 for (i = 0; i < ARRAY_SIZE(dri2_surf->color_buffers); i++) { in get_back_bo()223 if (!dri2_surf->color_buffers[i].locked && in get_back_bo()[all …]
286 } color_buffers[4], *back, *current; member