[PATCH 0/2] Simplfy get_layers and get_surfaces functions

Ucan, Emre (ADITG/SW1) eucan at de.adit-jv.com
Fri Feb 26 05:29:41 EST 2016


Hi,

I simplified the functions that they use pointers of ivi layout objects instead of ids.
Then, we do not need to call ivi_extension_get_id_of_surface/layer to get ivi layout pointers that we already have access to.

Furthermore, I removed get_surface/layer call at create_surface/layer function, because create_surface/layer
is called once when the ivi layout objects are created. Therefore, it is not possible that ivisurf/layer is created before.

Emre Ucan (2):
  ivi-controller: simplify get_surface function
  ivi-controller: simplify get_layers function

 weston-ivi-shell/src/ivi-controller-impl.c |   49 ++++++++--------------------
 1 file changed, 13 insertions(+), 36 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




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