tdm_hwc: change the symbol names of preperation types into constraints
[platform/core/uifw/libtdm.git] / src / tdm_hwc_window.c
index 0066ef3..ce04c51 100644 (file)
@@ -443,8 +443,7 @@ tdm_hwc_window_set_property(tdm_hwc_window *hwc_window, unsigned int id, tdm_val
 }
 
 EXTERN tdm_error
-tdm_hwc_window_get_preparation_types(tdm_hwc_window *hwc_window,
-                                                                        int *preparation_types)
+tdm_hwc_window_get_constraints(tdm_hwc_window *hwc_window, int *constraints)
 {
        tdm_private_module *private_module;
        tdm_func_hwc_window *func_hwc_window = NULL;
@@ -456,13 +455,13 @@ tdm_hwc_window_get_preparation_types(tdm_hwc_window *hwc_window,
        private_module = private_output->private_module;
        func_hwc_window = &private_module->func_hwc_window;
 
-       if (!func_hwc_window->hwc_window_get_preparation_types) {
+       if (!func_hwc_window->hwc_window_get_constraints) {
                _pthread_mutex_unlock(&private_display->lock);
                TDM_WRN("not implemented!!");
                return TDM_ERROR_NOT_IMPLEMENTED;
        }
 
-       ret = func_hwc_window->hwc_window_get_preparation_types(private_hwc_window->hwc_window_backend, preparation_types);
+       ret = func_hwc_window->hwc_window_get_constraints(private_hwc_window->hwc_window_backend, constraints);
 
        _pthread_mutex_unlock(&private_display->lock);