forked from enlightenment/efl
ecore-drm2: add ecore_drm2_output_subpixel_get()
@feature
This commit is contained in:
parent
ad0aae8f8d
commit
a3d0af0069
|
@ -817,6 +817,15 @@ EAPI void ecore_drm2_output_user_data_set(Ecore_Drm2_Output *o, void *data);
|
|||
*/
|
||||
EAPI void ecore_drm2_output_release_handler_set(Ecore_Drm2_Output *output, Ecore_Drm2_Release_Handler handler, void *data);
|
||||
|
||||
/**
|
||||
* Get the subpixel state of the output
|
||||
* @param output the output
|
||||
* @return The state value
|
||||
* @ingroup Ecore_Drm2_Output_Group
|
||||
* @since 1.20
|
||||
*/
|
||||
EAPI unsigned int ecore_drm2_output_subpixel_get(const Ecore_Drm2_Output *output);
|
||||
|
||||
/**
|
||||
* @defgroup Ecore_Drm2_Fb_Group Drm framebuffer functions
|
||||
*
|
||||
|
|
|
@ -1584,3 +1584,10 @@ err:
|
|||
|
||||
return ret;
|
||||
}
|
||||
|
||||
EAPI unsigned int
|
||||
ecore_drm2_output_subpixel_get(const Ecore_Drm2_Output *output)
|
||||
{
|
||||
EINA_SAFETY_ON_NULL_RETURN_VAL(output, 0);
|
||||
return output->subpixel;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue