Change-Id: I685df2969746160c67298d4ab5dd9b4e39b13eb2
return NULL;
}
+
+E_API E_Output *
+e_output_find_by_index(int index)
+{
+ E_Output *output;
+ E_Comp_Screen *e_comp_screen;
+ Eina_List *l;
+
+ EINA_SAFETY_ON_NULL_RETURN_VAL(e_comp, NULL);
+ EINA_SAFETY_ON_NULL_RETURN_VAL(e_comp->e_comp_screen, NULL);
+
+ e_comp_screen = e_comp->e_comp_screen;
+
+ EINA_LIST_FOREACH(e_comp_screen->outputs, l, output)
+ {
+ if (output->index == index)
+ return output;
+ }
+
+ return NULL;
+}
EINTERN Eina_Bool e_output_dpms_set(E_Output *output, E_OUTPUT_DPMS val);
EINTERN void e_output_size_get(E_Output *output, int *w, int *h);
E_API E_Output * e_output_find(const char *id);
+E_API E_Output * e_output_find_by_index(int index);
E_API const Eina_List * e_output_planes_get(E_Output *output);
E_API void e_output_util_planes_print(void);
E_API Eina_Bool e_output_is_fb_composing(E_Output *output);