Searched refs:current_surface (Results 1 – 3 of 3) sorted by relevance
82 int current_surface; member174 ctx->current_surface = 0; in egl_flush_surfaces()458 ctx->current_surface = (ctx->current_surface + 1) % ctx->num_surfaces; in egl_convert_fb()459 eglMakeCurrent(ctx->egl_display, ctx->egl_surfaces[ctx->current_surface], in egl_convert_fb()460 ctx->egl_surfaces[ctx->current_surface], in egl_convert_fb()483 eglSwapBuffers(ctx->egl_display, ctx->egl_surfaces[ctx->current_surface]); in egl_convert_fb()485 bo = gbm_surface_lock_front_buffer(ctx->gbm_surfaces[ctx->current_surface]); in egl_convert_fb()492 gbm_surface_release_buffer(ctx->gbm_surfaces[ctx->current_surface], bo); in egl_convert_fb()
44 unsigned int current_surface; member197 struct adf_surface_pdata *surf = &pdata->surfaces[pdata->current_surface]; in adf_flip()205 pdata->current_surface = (pdata->current_surface + 1) % pdata->n_surfaces; in adf_flip()206 return &pdata->surfaces[pdata->current_surface].base; in adf_flip()