[cogl/cogl-1.18] mir: use output names that are more conformat to the one used by Xmir
- From: Marco Trevisan <marcotrevi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cogl/cogl-1.18] mir: use output names that are more conformat to the one used by Xmir
- Date: Fri, 12 Dec 2014 17:46:39 +0000 (UTC)
commit cd9676380f64bd848666803b6759aef6be9b7e14
Author: Marco Trevisan (TreviƱo) <mail 3v1n0 net>
Date: Fri Dec 12 18:45:49 2014 +0100
mir: use output names that are more conformat to the one used by Xmir
And by X itself...
cogl/winsys/cogl-winsys-egl-mir.c | 22 +++++++++-------------
1 files changed, 9 insertions(+), 13 deletions(-)
---
diff --git a/cogl/winsys/cogl-winsys-egl-mir.c b/cogl/winsys/cogl-winsys-egl-mir.c
index dba0012..acc5766 100644
--- a/cogl/winsys/cogl-winsys-egl-mir.c
+++ b/cogl/winsys/cogl-winsys-egl-mir.c
@@ -133,35 +133,31 @@ _mir_output_get_name (MirDisplayOutput *output)
switch (output->type)
{
case mir_display_output_type_unknown:
- return g_strdup_printf ("UNKNOWN-%u", output->output_id);
+ return g_strdup_printf ("None-%u", output->output_id);
case mir_display_output_type_vga:
return g_strdup_printf ("VGA-%u", output->output_id);
case mir_display_output_type_dvii:
- return g_strdup_printf ("DVII-%u", output->output_id);
case mir_display_output_type_dvid:
- return g_strdup_printf ("DVID-%u", output->output_id);
case mir_display_output_type_dvia:
- return g_strdup_printf ("DVIA-%u", output->output_id);
+ return g_strdup_printf ("DVI-%u", output->output_id);
case mir_display_output_type_composite:
- return g_strdup_printf ("COMPOSITE-%u", output->output_id);
- case mir_display_output_type_svideo:
- return g_strdup_printf ("SVIDEO-%u", output->output_id);
+ return g_strdup_printf ("Composite-%u", output->output_id);
case mir_display_output_type_lvds:
return g_strdup_printf ("LVDS-%u", output->output_id);
case mir_display_output_type_component:
- return g_strdup_printf ("COMPONENT-%u", output->output_id);
+ return g_strdup_printf ("CTV-%u", output->output_id);
case mir_display_output_type_ninepindin:
- return g_strdup_printf ("NINEPINDIN-%u", output->output_id);
+ return g_strdup_printf ("DIN-%u", output->output_id);
case mir_display_output_type_displayport:
- return g_strdup_printf ("DISPLAYPORT-%u", output->output_id);
+ return g_strdup_printf ("DP-%u", output->output_id);
case mir_display_output_type_hdmia:
- return g_strdup_printf ("HDMIA-%u", output->output_id);
case mir_display_output_type_hdmib:
- return g_strdup_printf ("HDMIB-%u", output->output_id);
+ return g_strdup_printf ("HDMI-%u", output->output_id);
+ case mir_display_output_type_svideo:
case mir_display_output_type_tv:
return g_strdup_printf ("TV-%u", output->output_id);
case mir_display_output_type_edp:
- return g_strdup_printf ("EDP-%u", output->output_id);
+ return g_strdup_printf ("eDP-%u", output->output_id);
}
return NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]