aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2017-11-28 11:27:28 -0500
committerChris Michael <cp.michael@samsung.com>2018-01-31 11:18:03 -0500
commita1be0df0a8c861e7ecd9c6d7ccb98ed5ce22ad38 (patch)
treef76eebbaadb3e3e18797916a4c8244087989f825
parentecore-evas-drm: Account for output relative position when getting screen geom... (diff)
downloadefl-a1be0df0a8c861e7ecd9c6d7ccb98ed5ce22ad38.tar.gz
ecore-drm2: Rename newly added API
As we will also need to store what output is relative another, this API should clearly indicate that we are getting/setting the relative "mode". Another API will be added to get/set which output a given output is related to. NB: No functional changes Signed-off-by: Chris Michael <cp.michael@samsung.com>
-rw-r--r--src/lib/ecore_drm2/Ecore_Drm2.h12
-rw-r--r--src/lib/ecore_drm2/ecore_drm2_outputs.c4
2 files changed, 8 insertions, 8 deletions
diff --git a/src/lib/ecore_drm2/Ecore_Drm2.h b/src/lib/ecore_drm2/Ecore_Drm2.h
index 34a614f30b..f9f714dd91 100644
--- a/src/lib/ecore_drm2/Ecore_Drm2.h
+++ b/src/lib/ecore_drm2/Ecore_Drm2.h
@@ -812,27 +812,27 @@ EAPI void *ecore_drm2_output_user_data_get(Ecore_Drm2_Output *o);
EAPI unsigned int ecore_drm2_output_subpixel_get(const Ecore_Drm2_Output *output);
/**
- * Set the relative state of the output
+ * Set the relative mode of the output
*
* @param output The output
- * @param relative The relative state to set
+ * @param relative The relative mode to set
*
* @ingroup Ecore_Drm2_Output_Group
* @since 1.21
*/
-EAPI void ecore_drm2_output_relative_set(Ecore_Drm2_Output *output, Ecore_Drm2_Relative relative);
+EAPI void ecore_drm2_output_relative_mode_set(Ecore_Drm2_Output *output, Ecore_Drm2_Relative relative);
/**
- * Get the relative state of the output
+ * Get the relative mode of the output
*
* @param output
*
- * @return The relative state
+ * @return The relative mode
*
* @ingroup Ecore_Drm2_Output_Group
* @since 1.21
*/
-EAPI Ecore_Drm2_Relative ecore_drm2_output_relative_get(Ecore_Drm2_Output *output);
+EAPI Ecore_Drm2_Relative ecore_drm2_output_relative_mode_get(Ecore_Drm2_Output *output);
/**
* @defgroup Ecore_Drm2_Fb_Group Drm framebuffer functions
diff --git a/src/lib/ecore_drm2/ecore_drm2_outputs.c b/src/lib/ecore_drm2/ecore_drm2_outputs.c
index 985a0975ca..e0b1271e64 100644
--- a/src/lib/ecore_drm2/ecore_drm2_outputs.c
+++ b/src/lib/ecore_drm2/ecore_drm2_outputs.c
@@ -1657,14 +1657,14 @@ ecore_drm2_output_pending_get(Ecore_Drm2_Output *output)
}
EAPI void
-ecore_drm2_output_relative_set(Ecore_Drm2_Output *output, Ecore_Drm2_Relative relative)
+ecore_drm2_output_relative_mode_set(Ecore_Drm2_Output *output, Ecore_Drm2_Relative relative)
{
EINA_SAFETY_ON_NULL_RETURN(output);
output->relative.mode = relative;
}
EAPI Ecore_Drm2_Relative
-ecore_drm2_output_relative_get(Ecore_Drm2_Output *output)
+ecore_drm2_output_relative_mode_get(Ecore_Drm2_Output *output)
{
EINA_SAFETY_ON_NULL_RETURN_VAL(output, ECORE_DRM2_RELATIVE_UNKNOWN);
return output->relative.mode;