Lines Matching refs:surf
70 struct gbm_dri_surface *surf = data; in dri_get_buffers() local
71 struct gbm_dri_device *dri = gbm_dri_device(surf->base.gbm); in dri_get_buffers()
77 count, out_count, surf->dri_private); in dri_get_buffers()
83 struct gbm_dri_surface *surf = data; in dri_flush_front_buffer() local
84 struct gbm_dri_device *dri = gbm_dri_device(surf->base.gbm); in dri_flush_front_buffer()
87 dri->flush_front_buffer(driDrawable, surf->dri_private); in dri_flush_front_buffer()
96 struct gbm_dri_surface *surf = data; in dri_get_buffers_with_format() local
97 struct gbm_dri_device *dri = gbm_dri_device(surf->base.gbm); in dri_get_buffers_with_format()
104 count, out_count, surf->dri_private); in dri_get_buffers_with_format()
581 struct gbm_dri_surface *surf; in gbm_dri_surface_create() local
583 surf = calloc(1, sizeof *surf); in gbm_dri_surface_create()
584 if (surf == NULL) in gbm_dri_surface_create()
587 surf->base.gbm = gbm; in gbm_dri_surface_create()
588 surf->base.width = width; in gbm_dri_surface_create()
589 surf->base.height = height; in gbm_dri_surface_create()
590 surf->base.format = format; in gbm_dri_surface_create()
591 surf->base.flags = flags; in gbm_dri_surface_create()
593 return &surf->base; in gbm_dri_surface_create()
599 struct gbm_dri_surface *surf = gbm_dri_surface(_surf); in gbm_dri_surface_destroy() local
601 free(surf); in gbm_dri_surface_destroy()