GENIVI IVI layer management queries

Ucan, Emre (ADITG/SW1) eucan at de.adit-jv.com
Fri Feb 3 02:03:02 EST 2017


Hi,

Surface_alpha * layer_alpha is window global alpha which is applied to all pixels alphas.

Please check weston gl-renderer.c source code to see how alpha is applied and calculated: https://cgit.freedesktop.org/wayland/weston/tree/libweston/gl-renderer.c

Best regards

Emre Ucan
Software Group I (ADITG/SW1)

Tel. +49 5121 49 6937
-----Original Message-----
From: Annamalai Lakshmanan [mailto:Annamalai.Lakshmanan at quest-global.com] 
Sent: Freitag, 3. Februar 2017 02:58
To: Ucan, Emre (ADITG/SW1); genivi-ivi-layer-management at lists.genivi.org
Cc: Biju P N; R, Karthik
Subject: RE: GENIVI IVI layer management queries

Hi,

Have a clairification on this:
> 3)      How can the composition be achieved in multiple layers (using buffer's
> alpha value only or Surface/Layer Opacity also is effective)?.

A buffer's final alpha value is surface_alpha * layer_alpha

how about the buffer's alpha value (ARGB) it self, is it taken into consideration is it buffer_alpha*surface_alpha*layer_alpha?
In a buffer each pixel can have its own alpha, which gives more flexibility for pixel wise composition.

regards
Annamalai
________________________________________
From: Ucan, Emre (ADITG/SW1) [eucan at de.adit-jv.com]
Sent: Friday, February 03, 2017 1:55 AM
To: Annamalai Lakshmanan; genivi-ivi-layer-management at lists.genivi.org
Cc: Biju P N; R, Karthik
Subject: RE: GENIVI IVI layer management queries

Hello,

My comments are below

Best regards

Emre Ucan
Software Group I (ADITG/SW1)

Tel. +49 5121 49 6937
-----Original Message-----
From: Annamalai Lakshmanan [mailto:Annamalai.Lakshmanan at quest-global.com]
Sent: Dienstag, 31. Januar 2017 07:30
To: Ucan, Emre (ADITG/SW1); genivi-ivi-layer-management at lists.genivi.org
Cc: Biju P N; R, Karthik
Subject: RE: GENIVI IVI layer management queries

We just used these API directly to layer-add-surfaces.c sample implementation.

Regards
Annamalai

-----Original Message-----
From: Annamalai Lakshmanan
Sent: Tuesday, January 31, 2017 11:30 AM
To: 'Ucan, Emre (ADITG/SW1)' <eucan at de.adit-jv.com>; genivi-ivi-layer-management at lists.genivi.org
Cc: Biju P N <biju.pn at quest-global.com>; 'R, Karthik' <karthik.ramanan at ti.com>
Subject: RE: GENIVI IVI layer management queries

Hi,

We are using weston 1.9.0.  GENIVI IVI extension is 1.9.1 version.
Karthik, please correct me if I am wrong. And you would need test code all the reported issues?

Regards
Annamalai

-----Original Message-----
From: Ucan, Emre (ADITG/SW1) [mailto:eucan at de.adit-jv.com]
Sent: Monday, January 30, 2017 8:41 PM
To: Annamalai Lakshmanan <Annamalai.Lakshmanan at quest-global.com>; genivi-ivi-layer-management at lists.genivi.org
Cc: Biju P N <biju.pn at quest-global.com>
Subject: RE: GENIVI IVI layer management queries

Hi,

Which wayland-ivi, weston and wayland version are you using ?

Can you send me a minimum example source code which reproduces these issues ?

Best regards

Emre Ucan
Software Group I (ADITG/SW1)

Tel. +49 5121 49 6937
> -----Original Message-----
> From: genivi-ivi-layer-management [mailto:genivi-ivi-layer-management-
> bounces at lists.genivi.org] On Behalf Of Annamalai Lakshmanan
> Sent: Freitag, 27. Januar 2017 14:06
> To: genivi-ivi-layer-management at lists.genivi.org
> Cc: Biju P N
> Subject: GENIVI IVI layer management queries
>
> Hi,
> We have queries regarding GENIVI layer management (IVI Application, 
> IVI
> Controller)
>
>
> 1)      We are unable to select the opacity values of layer using this API
> ilm_layerSetOpacity between multiple layers, when changed the values 
> from 0, 0.5 or 1 between multiple layers, we could not observe the 
> transparency settings in the display

You mean to say that it is working for a one layer and not for two ?

>
> 2)      If we have multiple wayland clients (Each creating a Surface) and a layer
> manager application (Maps every surface to an independent layer).  the 
> first launched wayland clients get stalled once the new wayland client
> (eg: simple- shm.c with IVI surface) applications are launched. Only 
> the latest  wayland application launched gets executed. However, if 
> multiple surfaces are attached to a single layer, the client application works OK.
>

Are both of these layers on a screen ? If a surface is not in the current scenegraph, its contents are not rendered.
This causes application to stall. Because the compositor does not release application's buffer.

> 3)      How can the composition be achieved in multiple layers (using buffer's
> alpha value only or Surface/Layer Opacity also is effective)?.

A buffer's final alpha value is surface_alpha * layer_alpha

>
> 4)      We are unable to select between multiple LCD's. This
> API(ilm_getPropertiesOfScreen()) is OK and returning proper details of 
> screen, but this API[ilm_displaySetRenderOrder()] is unable to select 
> between LCD with the provided display ID, how to choose a specific LCD 
> to display Output.

What is actually not working ? I do not understand. The render order API is working.

>
> Regards
> Annamalai
> ---Disclaimer------------------------------ This e-mail contains 
> PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of 
> the addressee(s). If you are not the intended recipient, please notify 
> the sender by e-mail and delete the original message. Opinions, 
> conclusions and other information in this transmission that do not 
> relate to the official business of QuEST Global and/or its 
> subsidiaries, shall be understood as neither given nor endorsed by it.
> Any statements made herein that are tantamount to contractual 
> obligations, promises, claims or commitments shall not be binding on 
> the Company unless followed by written confirmation by an authorized 
> signatory of the Company.
> -------------------------------------------------------------
> ----------------------
> _______________________________________________
> genivi-ivi-layer-management mailing list 
> genivi-ivi-layer-management at lists.genivi.org
> http://lists.genivi.org/mailman/listinfo/genivi-ivi-layer-management
---Disclaimer------------------------------ This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Opinions, conclusions and other information in this transmission that do not relate to the official business of QuEST Global and/or its subsidiaries, shall be understood as neither given nor endorsed by it. Any statements made herein that are tantamount to contractual obligations, promises, claims or commitments shall not be binding on the Company unless followed by written confirmation by an authorized signatory of the Company. -----------------------------------------------------------------------------------
---Disclaimer------------------------------ This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Opinions, conclusions and other information in this transmission that do not relate to the official business of QuEST Global and/or its subsidiaries, shall be understood as neither given nor endorsed by it. Any statements made herein that are tantamount to contractual obligations, promises, claims or commitments shall not be binding on the Company unless followed by written confirmation by an authorized signatory of the Company. -----------------------------------------------------------------------------------



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