Lines Matching refs:layerMap
227 function fill_occlusion_state(layerMap, rootLayers, includesCompositionState) { argument
229 …traverse_top_to_bottom(layerMap, layers, {opaqueRects:[], transparentRects:[], screenBounds:null},…
259 function traverse_top_to_bottom(layerMap, rootLayers, globalState, fn) { argument
261 const relatives = rootLayers[i].relatives.map(id => layerMap[id]);
262 const children = rootLayers[i].children.map(id => layerMap[id])
269 traverse_top_to_bottom(layerMap, [layer], globalState, fn);
275 traverse_top_to_bottom(layerMap, [layer], globalState, fn);
282 function fill_inherited_state(layerMap, rootLayers) { argument
283 traverse(layerMap, rootLayers, (layer, parent) => {
300 function traverse(layerMap, rootLayers, fn) { argument
303 const parent = parentId == -1 ? null : layerMap[parentId];
305 const children = rootLayers[i].children.map(id => layerMap[id]);
306 traverse(layerMap, children, fn);