//Note: We assume that if matte is valid, next layer must be a matte source.
LOTMatteType matte = MatteNone;
- Eina_Bool skip = EINA_FALSE;
//Is this layer a container layer?
for (unsigned int i = 0; i < layer->mLayerList.size; i++)
{
LOTLayerNode *clayer = layer->mLayerList.ptr[i];
- //FIXME: we can skip at the top of this function if mVisible is false.
- if (skip)
- {
- //Next layer must be a dummy. so skip it.
- if (clayer->mMatte != MatteNone)
- skip = EINA_TRUE;
- else
- skip = EINA_FALSE;
- continue;
- }
-
char *key = _get_key_val(clayer);
Efl_Canvas_Vg_Container *ctree = efl_key_data_get(root, key);
if (!ctree)