Lines Matching refs:scanout
55 renderonly_scanout_destroy(struct renderonly_scanout *scanout, in renderonly_scanout_destroy() argument
61 destroy_dumb.handle = scanout->handle; in renderonly_scanout_destroy()
64 FREE(scanout); in renderonly_scanout_destroy()
72 struct renderonly_scanout *scanout; in renderonly_create_kms_dumb_buffer_for_resource() local
81 scanout = CALLOC_STRUCT(renderonly_scanout); in renderonly_create_kms_dumb_buffer_for_resource()
82 if (!scanout) in renderonly_create_kms_dumb_buffer_for_resource()
93 scanout->handle = create_dumb.handle; in renderonly_create_kms_dumb_buffer_for_resource()
94 scanout->stride = create_dumb.pitch; in renderonly_create_kms_dumb_buffer_for_resource()
97 return scanout; in renderonly_create_kms_dumb_buffer_for_resource()
111 return scanout; in renderonly_create_kms_dumb_buffer_for_resource()
114 destroy_dumb.handle = scanout->handle; in renderonly_create_kms_dumb_buffer_for_resource()
118 FREE(scanout); in renderonly_create_kms_dumb_buffer_for_resource()
129 struct renderonly_scanout *scanout; in renderonly_create_gpu_import_for_resource() local
136 scanout = CALLOC_STRUCT(renderonly_scanout); in renderonly_create_gpu_import_for_resource()
137 if (!scanout) in renderonly_create_gpu_import_for_resource()
145 scanout->stride = handle.stride; in renderonly_create_gpu_import_for_resource()
148 err = drmPrimeFDToHandle(ro->kms_fd, fd, &scanout->handle); in renderonly_create_gpu_import_for_resource()
156 return scanout; in renderonly_create_gpu_import_for_resource()
159 FREE(scanout); in renderonly_create_gpu_import_for_resource()