Skip to content
This repository has been archived by the owner on Oct 26, 2021. It is now read-only.

Pass INVALID_ID to auto-generate layer ID #19

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gunnarx
Copy link
Member

@gunnarx gunnarx commented Apr 11, 2018

An idea to fix layer ID issues. I have neither compiled or tested yet. And also no feedback on LM-6 yet, so this is just an assumption that it is valid. Work in progress...

Please read the full comment, and info in GDP-778 and LM-6 for details.

@gunnarx gunnarx force-pushed the use_invalid_id_not_zero branch 4 times, most recently from ed77306 to 4a09142 Compare April 14, 2018 22:09
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>

layercontroller: debug printouts (WIP)

Revert "hmicontroller: Pass INVALID_ID to auto-generate layer ID"

This reverts commit 4a09142.

Redo debug and createlayer-by-ref
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
1 participant