forked from GENIVI/hmi-layout-gdp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hmicontroller: Pass INVALID_ID to auto-generate layer ID
A layer ID of zero is not correct. I am guessing that the previous intention was to use zero to generate an automatic ID, and the ILM documentation incorrectly said that it would (upstream bug [LM-6]). INVALID_ID should be passed instead, to get a generated ID. The parameter to helper function createLayer() must now be passed by reference so that the member variable m_backgroundSurfaceId can be assigned the right value. The layer ID used to be constant (zero) and therefore this was not the case before. [GDP-778] wayland-ivi-extension layer id integration issues from P-0.1 and P-1.0 upgrade [LM-6] Documentation for ilm_layerCreateWithDimension() is wrong regarding creating new ID automatically? Signed-off-by: Gunnar Andersson <gandersson@genivi.org>
- Loading branch information
Gunnar Andersson
committed
Apr 14, 2018
1 parent
95aadfb
commit 4a09142
Showing
3 changed files
with
23 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters