hwc_window: rename free_buffer_queue to release_buffer_queue
[platform/core/uifw/libtdm.git] / src / tdm_hwc_window.c
index 44e87bc..72b80af 100644 (file)
@@ -215,7 +215,7 @@ tdm_hwc_window_get_buffer_queue(tdm_hwc_window *hwc_window, tdm_error *error)
 }
 
 EXTERN void
-tdm_hwc_window_free_buffer_queue(tdm_hwc_window *hwc_window, tbm_surface_queue_h queue)
+tdm_hwc_window_release_buffer_queue(tdm_hwc_window *hwc_window, tbm_surface_queue_h queue)
 {
        tdm_private_module *private_module;
        tdm_func_hwc_window *func_hwc_window = NULL;
@@ -239,13 +239,13 @@ tdm_hwc_window_free_buffer_queue(tdm_hwc_window *hwc_window, tbm_surface_queue_h
        private_module = private_output->private_module;
        func_hwc_window = &private_module->func_hwc_window;
 
-       if (!func_hwc_window->hwc_window_free_buffer_queue) {
+       if (!func_hwc_window->hwc_window_release_buffer_queue) {
                _pthread_mutex_unlock(&private_display->lock);
                TDM_WRN("not implemented!!");
                return;
        }
 
-       func_hwc_window->hwc_window_free_buffer_queue(private_hwc_window->hwc_window_backend, queue);
+       func_hwc_window->hwc_window_release_buffer_queue(private_hwc_window->hwc_window_backend, queue);
 
        _pthread_mutex_unlock(&private_display->lock);