WMError LayerControl::commitChange()
{
+ HMI_INFO("Commit change");
WMError rc = WMError::SUCCESS;
vector<unsigned> ivi_l_ids;
- for(const auto& l : this->wm_layers)
+ for(auto& l : this->wm_layers)
{
auto state = l->getLayerState();
for(const auto& id : state.getIviIdList())
for(const auto& i : ivi_l_ids)
{
id_array[count] = i;
+ HMI_DEBUG("check render order %d", i);
++count;
}
void LayerControl::dispatchCreateEvent(ilmObjectType object, unsigned id, bool created)
{
- this->cb.test(id);
if (ILM_SURFACE == object)
{
if (created)
rc = ilm_getPropertiesOfSurface(id, &sp);
if(rc != ILM_SUCCESS)
return;
- // this->cb->surfaceCreated(pid, id);
+ this->cb.surfaceCreated(sp.creatorPid, id);
ilm_surfaceAddNotification(id, surfaceCallback_static);
ilm_surfaceSetSourceRectangle(id, 0, 0, sp.origSourceWidth, sp.origSourceHeight);
}