Lines Matching refs:globalState
229 …yerMap, layers, {opaqueRects:[], transparentRects:[], screenBounds:null}, (layer, globalState) => {
232 …globalState.screenBounds = {left:0, top:0, bottom:layer.sourceBounds.bottom, right:layer.sourceBo…
241 layer.occludedBy = globalState.opaqueRects.filter(fullyOccludes).map(layer => layer.id);
242 …layer.partiallyOccludedBy = globalState.opaqueRects.filter(partiallyOccludes).map(layer => layer.i…
243 layer.coveredBy = globalState.transparentRects.filter(covers).map(layer => layer.id);
246 globalState.opaqueRects.push(layer);
248 globalState.transparentRects.push(layer);
259 function traverse_top_to_bottom(layerMap, rootLayers, globalState, fn) { argument
269 traverse_top_to_bottom(layerMap, [layer], globalState, fn);
272 fn(rootLayers[i], globalState);
275 traverse_top_to_bottom(layerMap, [layer], globalState, fn);