}
}
}
-#if 0
-static int
-_get_number_of_visible_windows(struct list_head *hwc_window_list)
-{
- int number = 0;
- tdm_exynos_hwc_window_data *window = NULL;
- LIST_FOR_EACH_ENTRY(window, hwc_window_list, link) {
- if (window->client_type == TDM_COMPOSITION_NONE)
- continue;
- number++;
- }
-
- return number;
-}
-#endif
static tdm_exynos_hwc_window_data *
_exynos_output_find_assigned_hwc_window(struct list_head *hwc_wnds, int layer_zpos)
{
if (hwc_window_data == NULL)
return NULL;
- LIST_ADDTAIL(&hwc_window_data->link, &output_data->hwc_window_list);
+ LIST_ADDTAIL(&hwc_window_data->link, &output_data->hwc_window_list);
TDM_DBG("hwc_window_data(%p) create", hwc_window_data);
if (error)
if (hwc_window_data == NULL)
return NULL;
- LIST_ADDTAIL(&hwc_window_data->link, &output_data->hwc_window_list);
+ LIST_ADDTAIL(&hwc_window_data->link, &output_data->hwc_window_list);
output_data->video_hwc_window = hwc_window_data;
tdm_hwc_window_composition client_type;
tdm_hwc_window_composition validated_type;
- int candidate_layer_zpos;
+ int candidate_layer_zpos;
int assigned_layer_zpos;
tdm_hwc_window_flag flags;