tdm_hwc_window_composition *composition_types);
tdm_error exynos_output_hwc_accept_changes(tdm_output *output);
tbm_surface_queue_h exynos_output_hwc_get_target_buffer_queue(tdm_output *output, tdm_error *error);
-tdm_error exynos_output_hwc_set_client_target_buffer(tdm_output *output, tbm_surface_h buffer,
- tdm_hwc_region damage, tdm_hwc_window **composited_wnds,
- uint32_t num_wnds);
+tdm_error exynos_output_hwc_set_client_target_buffer(tdm_output *output, tbm_surface_h buffer, tdm_hwc_region damage);
tdm_error exynos_output_hwc_get_video_supported_formats(tdm_output *output, const tbm_format **formats, int *count);
tdm_hwc_window *exynos_output_hwc_create_video_window(tdm_output *output, tdm_error *error);
tdm_error exynos_layer_get_capability(tdm_layer *layer, tdm_caps_layer *caps);
hwc_window_data->client_type = TDM_COMPOSITION_NONE;
hwc_window_data->validated_type = -1;
hwc_window_data->assigned_layer_zpos = -1;
- hwc_window_data->present_on_target_wnd = 0;
hwc_window_data->output_data = output;
hwc_window_data->zpos = 0;
tdm_error
exynos_output_hwc_set_client_target_buffer(tdm_output *output, tbm_surface_h buffer,
- tdm_hwc_region damage, tdm_hwc_window **composited_wnds,
- uint32_t num_wnds)
+ tdm_hwc_region damage)
{
tdm_exynos_output_data *output_data = output;
- tdm_exynos_hwc_window_data **composited_list = NULL;
tdm_exynos_hwc_window_data *hwc_window_data = NULL;
tdm_error err;
err = exynos_hwc_window_set_buffer_damage(output_data->target_hwc_window, damage);
RETURN_VAL_IF_FAIL(err == TDM_ERROR_NONE, err);
- /* TODO: sergs: think about it
- * a hack to allow the e-boot-animation to be shown */
- if (!composited_wnds || !num_wnds)
- return TDM_ERROR_NONE;
-
- /* to keep a list up to date with one provided by e20 */
- LIST_FOR_EACH_ENTRY(hwc_window_data, &output_data->hwc_window_list, link)
- hwc_window_data->present_on_target_wnd = 0;
-
- composited_list = (tdm_exynos_hwc_window_data**)composited_wnds;
-
- for (uint32_t i = 0; i < num_wnds; i++)
- composited_list[i]->present_on_target_wnd = 1;
-
- LIST_FOR_EACH_ENTRY(hwc_window_data, &output_data->hwc_window_list, link)
- if (hwc_window_data->present_on_target_wnd) {
- TDM_INFO("hwc_wnd:%p validated_type: %p presents on the target window.",
- hwc_window_data, _comp_to_str(hwc_window_data->validated_type));
- }
-
return TDM_ERROR_NONE;
}