[PATCH] layer-add-surfaces: choose display with highest resolution

Ucan, Emre (ADITG/SW1) eucan at de.adit-jv.com
Wed Jun 22 03:57:49 EDT 2016


Currently, the display 0 is used in layer-add-surfaces.
It is better to use the display with highest resolution than
using a hard-coded ID. Because the highest display is most likely
the main display.

Signed-off-by: Emre Ucan <eucan at de.adit-jv.com>
---
 .../layer-add-surfaces/src/layer-add-surfaces.c    |   40 +++++++++++++++++---
 1 file changed, 35 insertions(+), 5 deletions(-)
Best regards

Emre Ucan

Advanced Driver Information Technology GmbH
Software Group I (ADITG/SW1)
Robert-Bosch-Str. 200
31139 Hildesheim
Germany

Tel. +49 5121 49 6937
Fax +49 5121 49 6999
eucan at de.adit-jv.com

ADIT is a joint venture company of Robert Bosch GmbH/Robert Bosch Car Multimedia GmbH and DENSO Corporation
Sitz: Hildesheim, Registergericht: Amtsgericht Hildesheim HRB 3438
Geschaeftsfuehrung: Wilhelm Grabow, Ken Yaguchi

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-layer-add-surfaces-choose-display-with-highest-resol.patch
Type: application/octet-stream
Size: 2968 bytes
Desc: 0001-layer-add-surfaces-choose-display-with-highest-resol.patch
URL: <http://lists.genivi.org/pipermail/genivi-ivi-layer-management_lists.genivi.org/attachments/20160622/8513a034/attachment.patch>


More information about the genivi-ivi-layer-management mailing list