Lines Matching refs:base
33 GRSurface base; member
40 minui_backend base; member
61 surf->base.width = mode->hdisplay; in adf_surface_init()
62 surf->base.height = mode->vdisplay; in adf_surface_init()
63 surf->base.row_bytes = surf->pitch; in adf_surface_init()
64 surf->base.pixel_bytes = (pdata->format == DRM_FORMAT_RGB565) ? 2 : 4; in adf_surface_init()
66 surf->base.data = reinterpret_cast<uint8_t*>(mmap(NULL, in adf_surface_init()
67 surf->pitch * surf->base.height, PROT_WRITE, in adf_surface_init()
69 if (surf->base.data == MAP_FAILED) { in adf_surface_init()
202 surf->base.width, surf->base.height, pdata->format, surf->fd, in adf_flip()
208 return &pdata->surfaces[pdata->current_surface].base; in adf_flip()
220 munmap(surf->base.data, surf->pitch * surf->base.height); in adf_surface_destroy()
244 pdata->base.init = adf_init; in open_adf()
245 pdata->base.flip = adf_flip; in open_adf()
246 pdata->base.blank = adf_blank; in open_adf()
247 pdata->base.exit = adf_exit; in open_adf()
248 return &pdata->base; in open_adf()