Robert Bragg 125c31a70b kms: Add mirror support and env var configurability
This adds support for mirroring the display output on two KMS
connectors.

This patch also checks for a number of environment variables that can
influence how KMS is configured. The following variables can be set:

COGL_KMS_MIRROR: If this is set to anything then Cogl will try and setup
two connectors with the same resolution so that onscreen frame buffers
can be mirrored.

COGL_KMS_CONNECTOR0: This can be set to an integer identifier for a
specific KMS connector id to use for the first output.

COGL_KMS_CONNECTOR0_MODE: Can be set to a mode name like "1024x768"
explicitly select what mode should be used for the first output.

If COGL_KMS_MIRROR is set then COGL_KMS_CONNECTOR1 and
COGL_KMS_CONNECTOR1_MODE can optionally be set to specify a connector id
and mode name for the second output.

Reviewed-by: Neil Roberts <neil@linux.intel.com>
2012-04-11 15:44:58 +01:00
..
2012-04-05 13:47:36 +01:00
2012-03-23 13:51:08 +00:00
2010-06-01 12:08:18 +01:00
2012-04-05 13:47:36 +01:00
2012-02-14 20:42:10 +00:00
2012-02-14 20:42:10 +00:00
2011-11-01 12:03:02 +00:00
2012-02-15 14:57:59 +00:00
2012-04-05 13:47:36 +01:00
2012-03-23 13:51:08 +00:00
2012-03-20 13:17:07 +00:00
2012-03-14 12:19:56 +00:00
2012-04-04 17:02:23 +01:00
2012-03-21 22:15:34 +08:00
2011-08-12 15:28:42 +01:00