Searched refs:color_buffers (Results 1 – 9 of 9) sorted by relevance
252 for (i = 0; i < ARRAY_SIZE(dri2_surf->color_buffers); ++i) in wl_buffer_release()253 if (dri2_surf->color_buffers[i].wl_buffer == buffer) in wl_buffer_release()256 assert (i < ARRAY_SIZE(dri2_surf->color_buffers)); in wl_buffer_release()258 if (dri2_surf->color_buffers[i].wl_release) { in wl_buffer_release()260 dri2_surf->color_buffers[i].wl_release = false; in wl_buffer_release()261 dri2_surf->color_buffers[i].wl_buffer = NULL; in wl_buffer_release()264 dri2_surf->color_buffers[i].locked = false; in wl_buffer_release()494 for (int i = 0; i < ARRAY_SIZE(dri2_surf->color_buffers); i++) { in dri2_wl_destroy_surface()495 if (dri2_surf->color_buffers[i].wl_buffer) in dri2_wl_destroy_surface()496 wl_buffer_destroy(dri2_surf->color_buffers[i].wl_buffer); in dri2_wl_destroy_surface()[all …]
73 for (unsigned 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 = false; in release_buffer()87 for (unsigned 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()213 for (unsigned i = 0; i < ARRAY_SIZE(dri2_surf->color_buffers); i++) { in dri2_drm_destroy_surface()214 if (dri2_surf->color_buffers[i].bo) in dri2_drm_destroy_surface()215 gbm_bo_destroy(dri2_surf->color_buffers[i].bo); in dri2_drm_destroy_surface()235 for (unsigned i = 0; i < ARRAY_SIZE(dri2_surf->color_buffers); i++) { in get_back_bo()236 if (!dri2_surf->color_buffers[i].locked && in get_back_bo()[all …]
248 if (!dri2_surf->color_buffers[i].buffer) { in ohos_window_dequeue_buffer()249 dri2_surf->color_buffers[i].buffer = dri2_surf->buffer; in ohos_window_dequeue_buffer()251 if (dri2_surf->color_buffers[i].buffer == dri2_surf->buffer) { in ohos_window_dequeue_buffer()252 dri2_surf->back = &dri2_surf->color_buffers[i]; in ohos_window_dequeue_buffer()263 dri2_surf->color_buffers[i].buffer = NULL; in ohos_window_dequeue_buffer()264 dri2_surf->color_buffers[i].age = 0; in ohos_window_dequeue_buffer()266 dri2_surf->color_buffers[0].buffer = dri2_surf->buffer; in ohos_window_dequeue_buffer()267 dri2_surf->back = &dri2_surf->color_buffers[0]; in ohos_window_dequeue_buffer()361 dri2_surf->color_buffers = calloc(buffer_count, in ohos_create_surface()362 sizeof(*dri2_surf->color_buffers)); in ohos_create_surface()[all …]
505 if (!dri2_surf->color_buffers[i].buffer) { in droid_window_dequeue_buffer()506 dri2_surf->color_buffers[i].buffer = dri2_surf->buffer; in droid_window_dequeue_buffer()508 if (dri2_surf->color_buffers[i].buffer == dri2_surf->buffer) { in droid_window_dequeue_buffer()509 dri2_surf->back = &dri2_surf->color_buffers[i]; in droid_window_dequeue_buffer()520 dri2_surf->color_buffers[i].buffer = NULL; in droid_window_dequeue_buffer()521 dri2_surf->color_buffers[i].age = 0; in droid_window_dequeue_buffer()523 dri2_surf->color_buffers[0].buffer = dri2_surf->buffer; in droid_window_dequeue_buffer()524 dri2_surf->back = &dri2_surf->color_buffers[0]; in droid_window_dequeue_buffer()666 dri2_surf->color_buffers = calloc(buffer_count, in droid_create_surface()667 sizeof(*dri2_surf->color_buffers)); in droid_create_surface()[all …]
336 } color_buffers[4], *back, *current; member353 } *color_buffers, *back; member
506 unsigned color_buffers = buffers >> 2; in fd6_clear() local519 u_foreach_bit (i, color_buffers) in fd6_clear()
171 - egl/android: Update color_buffers querying for buffer age
158 color_buffers
2596 color_buffers