Friedrich, Eugen (ADITG/SW1)
efriedrich at de.adit-jv.com
Tue Sep 27 17:21:41 EDT 2016
You have to set the ivi-surface listener to receive the configure events, see
The configure event will be issued from the compositor if the destination region is changed.
The is still an issue to get all resize sequence working without any visible distortions on the display by using only a ilm interface.
The complete sequence should looks like
1. ivi-controller: change the destination region
2. weston: send configure event
3. ivi-client: resizes the buffer and commit new buffer to weston
4. weston: uses new buffer for composition and send notification about new buffer size
5. ivi-controller: changes the source region.
This is still on our todo list.
Software Group I (ADITG/SW1)
Tel. +49 5121 49 6921
>From: genivi-ivi-layer-management [mailto:genivi-ivi-layer-management-
>bounces at mailman1.genivi.org] On Behalf Of Justin Noel
>Sent: Tuesday, September 27, 2016 6:04 PM
>To: genivi-ivi-layer-management at lists.genivi.org
>Subject: Resizing surfaces
>I am currently writing a new launcher for the GDP and I'm running into
>an issue. I would like to be able to resize the windows of client
>applications from my controller. This is because this launcher
>reserves some space on the screen for a slideout sidebar and uses some
>pixels on the top and bottom of the screen. I can set the source and
>destination rectangles and the client application will fill the space
>I want it to fill, but ILM will scale the window rather than tell the
>client that window has resized. This scaling causes rendering issues
>when out of aspect ratio especially with fonts.
>I see that in ivi-application.xml there is configure event where
>client applications can be politely asked to resize, but I see no way
>to trigger this event via ILM. What is the intended usage for in this
>situation? Should I be using another API to trigger a configure?
>Any advice is greatly appreciated. Thanks!
>genivi-ivi-layer-management mailing list
>genivi-ivi-layer-management at mailman1.genivi.org
More information about the genivi-ivi-layer-management