Lines Matching refs:gbm_surfaces
68 struct gbm_surface *gbm_surfaces[MAX_NUM_SURFACES]; member
117 if (ctx->gbm_surfaces[i]) in egl_free_ctx()
118 gbm_surface_destroy(ctx->gbm_surfaces[i]); in egl_free_ctx()
144 if (ctx->gbm_surfaces[i]) { in egl_flush_surfaces()
145 gbm_surface_destroy(ctx->gbm_surfaces[i]); in egl_flush_surfaces()
146 ctx->gbm_surfaces[i] = NULL; in egl_flush_surfaces()
152 ctx->gbm_surfaces[i] = in egl_flush_surfaces()
156 ctx->gbm_surfaces[i] = in egl_flush_surfaces()
160 if (!ctx->gbm_surfaces[i]) { in egl_flush_surfaces()
167 (EGLNativeWindowType)ctx->gbm_surfaces[i], NULL); in egl_flush_surfaces()
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()