Searched refs:create_dumb (Results 1 – 1 of 1) sorted by relevance
132 struct drm_mode_create_dumb create_dumb; in drm_create_surface() local152 memset(&create_dumb, 0, sizeof(create_dumb)); in drm_create_surface()153 create_dumb.height = height; in drm_create_surface()154 create_dumb.width = width; in drm_create_surface()155 create_dumb.bpp = drm_format_to_bpp(format); in drm_create_surface()156 create_dumb.flags = 0; in drm_create_surface()158 ret = drmIoctl(drm_fd, DRM_IOCTL_MODE_CREATE_DUMB, &create_dumb); in drm_create_surface()164 surface->handle = create_dumb.handle; in drm_create_surface()169 pitches[0] = create_dumb.pitch; in drm_create_surface()183 map_dumb.handle = create_dumb.handle; in drm_create_surface()[all …]