Lines Matching refs:zOffset
2727 static bool isHitCandidate(const RenderLayer* hitLayer, bool canDepthSort, double* zOffset, const HitTestingTransformState* transformState)
2737 if (zOffset) {
2741 if (childZOffset > *zOffset) {
2742 *zOffset = childZOffset;
2757 // If zOffset is non-null (which indicates that the caller wants z offset information),
2758 // *zOffset on return is the z offset of the hit point relative to the containing flattening layer.
2761 const HitTestingTransformState* transformState, double* zOffset)
2771 return hitTestTransformedLayerInFragments(rootLayer, containerLayer, request, result, hitTestRect, hitTestLocation, transformState, zOffset);
2782 return hitTestLayerByApplyingTransform(rootLayer, containerLayer, request, result, hitTestRect, hitTestLocation, transformState, zOffset);
2825 zOffsetForDescendantsPtr = zOffset ? zOffset : &localZOffset;
2826 zOffsetForContentsPtr = zOffset ? zOffset : &localZOffset;
2828 // Flattening layer with 3d children; use a local zOffset pointer to depth-test children and foreground.
2830 zOffsetForDescendantsPtr = zOffset ? zOffset : &localZOffset;
2831 zOffsetForContentsPtr = zOffset ? zOffset : &localZOffset;
2832 } else if (zOffset) {
2835 zOffsetForContentsPtr = zOffset;
2843 localTransformState.get(), zOffsetForDescendantsPtr, zOffset, unflattenedTransformState.get(), depthSortDescendants);
2852 localTransformState.get(), zOffsetForDescendantsPtr, zOffset, unflattenedTransformState.get(), depthSortDescendants);
2890 localTransformState.get(), zOffsetForDescendantsPtr, zOffset, unflattenedTransformState.get(), depthSortDescendants);
2939 const LayoutRect& hitTestRect, const HitTestLocation& hitTestLocation, const HitTestingTransformState* transformState, double* zOffset)
2969 transformState, zOffset, fragment.paginationOffset);
2978 const LayoutRect& hitTestRect, const HitTestLocation& hitTestLocation, const HitTestingTransformState* transformState, double* zOffset,
3004 return hitTestLayer(this, containerLayer, request, result, localHitTestRect, newHitTestLocation, true, newTransformState.get(), zOffset);
3037 double* zOffsetForDescendants, double* zOffset,
3060 if (isHitCandidate(hitLayer, depthSortDescendants, zOffset, unflattenedTransformState)) {
3073 const LayoutRect& hitTestRect, const HitTestLocation& hitTestLocation, const HitTestingTransformState* transformState, double* zOffset)
3085 return hitTestChildLayerColumns(childLayer, rootLayer, request, result, hitTestRect, hitTestLocation, transformState, zOffset,
3090 const LayoutRect& hitTestRect, const HitTestLocation& hitTestLocation, const HitTestingTransformState* transformState, double* zOffset,
3159 hitLayer = childLayer->hitTestLayer(rootLayer, columnLayers[0], request, result, localClipRect, hitTestLocation, false, transformState, zOffset);
3181 newTransformState.get(), zOffset, columnLayers, columnIndex - 1);