summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSooChan Lim <sc1.lim@samsung.com>2018-12-14 18:50:17 +0900
committerSooChan Lim <sc1.lim@samsung.com>2018-12-14 18:50:17 +0900
commit894a4da1302a12dfa33d4aaef5f387d5eb91a392 (patch)
treec7cf877ad8d7ff44640aecb6050702a763212efa
parent92f1dbea2645d28b01165e999746edaa29e784c8 (diff)
downloadlibtdm-vc4-894a4da1302a12dfa33d4aaef5f387d5eb91a392.tar.gz
libtdm-vc4-894a4da1302a12dfa33d4aaef5f387d5eb91a392.tar.bz2
libtdm-vc4-894a4da1302a12dfa33d4aaef5f387d5eb91a392.zip
hwc: change the hwc_get_video_capability to the hwc_get_capabilities
Change-Id: I86766ffb505349aafe4632374eff863ef4a53fed
-rw-r--r--src/tdm_vc4.h2
-rw-r--r--src/tdm_vc4_display.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/tdm_vc4.h b/src/tdm_vc4.h
index 78f0444..79f4b02 100644
--- a/src/tdm_vc4.h
+++ b/src/tdm_vc4.h
@@ -52,7 +52,7 @@ tdm_hwc *vc4_output_get_hwc(tdm_output *output, tdm_error *error);
tdm_hwc_window *vc4_hwc_create_window(tdm_hwc *hwc, tdm_error *error);
tdm_error vc4_hwc_get_video_supported_formats(tdm_hwc *outphwcut, const tbm_format **formats, int *count);
-tdm_error vc4_hwc_get_video_capability(tdm_hwc *hwc, tdm_hwc_video_capability *video_capability);
+tdm_error vc4_hwc_get_capabilities(tdm_hwc *hwc, tdm_hwc_capability *capabilities);
tdm_error vc4_hwc_get_available_properties(tdm_hwc *hwc, const tdm_prop **props, int *count);
tbm_surface_queue_h vc4_hwc_get_client_target_buffer_queue(tdm_hwc *hwc, tdm_error *error);
tdm_error vc4_hwc_set_client_target_buffer(tdm_hwc *hwc, tbm_surface_h buffer, tdm_region damage);
diff --git a/src/tdm_vc4_display.c b/src/tdm_vc4_display.c
index c8b08d8..fc9c76a 100644
--- a/src/tdm_vc4_display.c
+++ b/src/tdm_vc4_display.c
@@ -2481,14 +2481,14 @@ vc4_hwc_get_video_supported_formats(tdm_hwc *hwc, const tbm_format **formats, in
}
tdm_error
-vc4_hwc_get_video_capability(tdm_hwc *hwc, tdm_hwc_video_capability *video_capability)
+vc4_hwc_get_capabilities(tdm_hwc *hwc, tdm_hwc_capability *capabilities)
{
tdm_vc4_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;
}