rename tdm_hwc_get_video_supported_formats
[platform/core/uifw/libtdm.git] / src / tdm_hwc.c
index f7ed46f..b4df1c0 100644 (file)
@@ -178,7 +178,7 @@ tdm_hwc_create_window(tdm_hwc *hwc, tdm_error *error)
 }
 
 EXTERN tdm_error
-tdm_hwc_get_supported_formats(tdm_hwc *hwc, const tbm_format **formats, int *count)
+tdm_hwc_get_video_supported_formats(tdm_hwc *hwc, const tbm_format **formats, int *count)
 {
        tdm_private_module *private_module;
        tdm_func_hwc *func_hwc;
@@ -193,7 +193,7 @@ tdm_hwc_get_supported_formats(tdm_hwc *hwc, const tbm_format **formats, int *cou
        private_module = private_output->private_module;
        func_hwc = &private_module->func_hwc;
 
-       if (!func_hwc->hwc_get_supported_formats) {
+       if (!func_hwc->hwc_get_video_supported_formats) {
                /* LCOV_EXCL_START */
                _pthread_mutex_unlock(&private_display->lock);
                TDM_WRN("not implemented!!");
@@ -201,7 +201,7 @@ tdm_hwc_get_supported_formats(tdm_hwc *hwc, const tbm_format **formats, int *cou
                /* LCOV_EXCL_STOP */
        }
 
-       ret = func_hwc->hwc_get_supported_formats(private_hwc->hwc_backend, formats, count);
+       ret = func_hwc->hwc_get_video_supported_formats(private_hwc->hwc_backend, formats, count);
 
        _pthread_mutex_unlock(&private_display->lock);