}
if (private_module->use_hal_tdm)
- outputs = (tdm_output **)hal_tdm_display_get_outputs(private_module->htdm_backend, &output_count, (hal_tdm_error *)&ret);
+ outputs = (tdm_output **)hal_tdm_display_get_outputs(private_module->htdm_dpy, &output_count, (hal_tdm_error *)&ret);
else
outputs = func_display->display_get_outputs(private_module->bdata, &output_count, &ret);
if (ret != TDM_ERROR_NONE)
hal_tdm = hal_tdm_get_backend(&hret);
if (hal_tdm == NULL || hret != HAL_TDM_ERROR_NONE) {
- TDM_INIT_INFO("failed hal_tdm_get_backend");
+ TDM_ERR("failed hal_tdm_get_backend");
return TDM_ERROR_NO_MODULE;
}
private_display->current_module = private_module;
if (private_module->use_hal_tdm) {
- voutput_backend = (tdm_voutput *)hal_tdm_display_voutput_create(private_module->htdm_backend, name, (hal_tdm_error *)&ret);
+ voutput_backend = (tdm_voutput *)hal_tdm_display_voutput_create(private_module->htdm_dpy, name, (hal_tdm_error *)&ret);
} else {
func_display = &private_module->func_display;
func_voutput = &private_module->func_voutput;
private_display = private_module->private_display;
current_module = private_display->current_module;
private_display->current_module = private_module;
- ret = (tdm_error)hal_tdm_display_handle_events(private_module->htdm_backend);
+ ret = (tdm_error)hal_tdm_display_handle_events(private_module->htdm_dpy);
if (ret == TDM_ERROR_NONE)
private_display->current_module = NULL;
else
LIST_FOR_EACH_ENTRY(private_module, &private_display->module_list, link) {
if (private_module->use_hal_tdm) {
- if (hal_tdm_display_get_fd(private_module->htdm_backend, &fd) != HAL_TDM_ERROR_NONE) {
+ if (hal_tdm_display_get_fd(private_module->htdm_dpy, &fd) != HAL_TDM_ERROR_NONE) {
TDM_INFO("TDM backend module won't offer a display fd");
private_module->event_source = NULL;
private_module->fd = -1;
func_pp = &private_module->func_pp;
if (private_module->use_hal_tdm) {
- pp_module = (tdm_pp *)hal_tdm_display_create_pp(private_module->htdm_backend, (hal_tdm_error *)&ret);
+ pp_module = (tdm_pp *)hal_tdm_display_create_pp(private_module->htdm_dpy, (hal_tdm_error *)&ret);
} else {
pp_module = func_display->display_create_pp(private_module->bdata, &ret);
}