Lines Matching refs:gbm_surface
196 assert(output->gbm_surface == NULL); in drm_output_init_egl()
211 output->gbm_surface = in drm_output_init_egl()
223 if (!output->gbm_surface) in drm_output_init_egl()
226 output->gbm_surface = in drm_output_init_egl()
232 if (!output->gbm_surface) { in drm_output_init_egl()
239 options.window_for_legacy = (EGLNativeWindowType) output->gbm_surface; in drm_output_init_egl()
240 options.window_for_platform = output->gbm_surface; in drm_output_init_egl()
243 gbm_surface_destroy(output->gbm_surface); in drm_output_init_egl()
244 output->gbm_surface = NULL; in drm_output_init_egl()
267 gbm_surface_destroy(output->gbm_surface); in drm_output_fini_egl()
268 output->gbm_surface = NULL; in drm_output_fini_egl()
283 bo = gbm_surface_lock_front_buffer(output->gbm_surface); in drm_output_render_gl()
294 gbm_surface_release_buffer(output->gbm_surface, bo); in drm_output_render_gl()
297 ret->gbm_surface = output->gbm_surface; in drm_output_render_gl()