hwc: change the hwc_get_video_capability to the hwc_get_capabilities 66/195566/1
authorSooChan Lim <sc1.lim@samsung.com>
Fri, 14 Dec 2018 09:42:47 +0000 (18:42 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Fri, 14 Dec 2018 09:42:47 +0000 (18:42 +0900)
Change-Id: I2d469dc0ed84ef4d09bf9b3f56b5ffabb5f657fe

src/tdm_exynos.c
src/tdm_exynos.h
src/tdm_exynos_hwc.c

index 44fe009656981ecf67bd6517384bc93a1c970ab1..eb771f1aa9e18aac2ce1edcd030c348ca01a39ff 100644 (file)
@@ -183,7 +183,7 @@ tdm_exynos_init(tdm_display *dpy, tdm_error *error)
                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;
index 874d2de878031143af64d5373ffae60a667f5e52..ad4488f67e27fe3a41743abcbed20e3460f5f337 100644 (file)
@@ -65,7 +65,7 @@ tdm_error    exynos_layer_unset_buffer(tdm_layer *layer);
 
 tdm_hwc_window      *exynos_hwc_create_window(tdm_hwc *hwc, tdm_error *error);
 tdm_error            exynos_hwc_get_video_supported_formats(tdm_output *output, 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);
index 4bf6bb698777a5adc1253862114fdba103b91f41..474d8c6115effe684ee1b46958fa69b4bb07a83a 100644 (file)
@@ -531,14 +531,14 @@ exynos_hwc_get_video_supported_formats(tdm_hwc *hwc, const tbm_format **formats,
 }
 
 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;
 }