memset(&exynos_func_hwc, 0, sizeof(exynos_func_hwc));
exynos_func_hwc.hwc_create_window = exynos_hwc_create_window;
exynos_func_hwc.hwc_get_video_supported_formats = exynos_hwc_get_video_supported_formats;
- exynos_func_hwc.hwc_get_video_capability = exynos_hwc_get_video_capability;
+ exynos_func_hwc.hwc_get_capabilities = exynos_hwc_get_capabilities;
exynos_func_hwc.hwc_get_available_properties = exynos_hwc_get_available_properties;
exynos_func_hwc.hwc_get_client_target_buffer_queue = exynos_hwc_get_client_target_buffer_queue;
exynos_func_hwc.hwc_set_client_target_buffer = exynos_hwc_set_client_target_buffer;
tdm_hwc_window *exynos_hwc_create_window(tdm_hwc *hwc, tdm_error *error);
tdm_error exynos_hwc_get_video_supported_formats(tdm_hwc *hwc, const tbm_format **formats, int *count);
-tdm_error exynos_hwc_get_video_capability(tdm_hwc *hwc, tdm_hwc_video_capability *video_capability);
+tdm_error exynos_hwc_get_capabilities(tdm_hwc *hwc, tdm_hwc_capability *capabilities);
tdm_error exynos_hwc_get_available_properties(tdm_hwc *hwc, const tdm_prop **props, int *count);
tbm_surface_queue_h exynos_hwc_get_client_target_buffer_queue(tdm_hwc *hwc, tdm_error *error);
tdm_error exynos_hwc_set_client_target_buffer(tdm_hwc *hwc, tbm_surface_h buffer, tdm_region damage);
}
tdm_error
-exynos_hwc_get_video_capability(tdm_hwc *hwc, tdm_hwc_video_capability *video_capability)
+exynos_hwc_get_capabilities(tdm_hwc *hwc, tdm_hwc_capability *capabilities)
{
tdm_exynos_hwc_data *hwc_data = hwc;
RETURN_VAL_IF_FAIL(hwc_data != NULL, TDM_ERROR_INVALID_PARAMETER);
- RETURN_VAL_IF_FAIL(video_capability != NULL, TDM_ERROR_INVALID_PARAMETER);
+ RETURN_VAL_IF_FAIL(capabilities != NULL, TDM_ERROR_INVALID_PARAMETER);
- *video_capability = 0;
+ *capabilities = 0;
return TDM_ERROR_NONE;
}