Home | History | Annotate | Download | only in rendering

Lines Matching refs:transformState

4253 // Compute the z-offset of the point in the transformState.
4256 static double computeZOffset(const HitTestingTransformState& transformState)
4259 if (transformState.m_accumulatedTransform.isAffine())
4263 FloatPoint targetPoint = transformState.mappedPoint();
4266 FloatPoint3D backmappedPoint = transformState.m_accumulatedTransform.mapPoint(FloatPoint3D(targetPoint));
4275 RefPtr<HitTestingTransformState> transformState;
4279 transformState = HitTestingTransformState::create(*containerTransformState);
4284 transformState = HitTestingTransformState::create(hitTestLocation.transformedPoint(), hitTestLocation.transformedRect(), FloatQuad(hitTestRect));
4293 transformState->applyTransform(containerTransform, HitTestingTransformState::AccumulateTransform);
4295 transformState->translate(offset.x(), offset.y(), HitTestingTransformState::AccumulateTransform);
4298 return transformState;
4302 static bool isHitCandidate(const RenderLayer* hitLayer, bool canDepthSort, double* zOffset, const HitTestingTransformState* transformState)
4313 ASSERT(transformState);
4315 double childZOffset = computeZOffset(*transformState);
4328 // transformState.m_accumulatedTransform holds the transform from the containing flattening layer.
4329 // transformState.m_lastPlanarPoint is the hitTestLocation in the plane of the containing flattening layer.
4330 // transformState.m_lastPlanarQuad is the hitTestRect as a quad in the plane of the containing flattening layer.
4336 const HitTestingTransformState* transformState, double* zOffset)
4346 return hitTestTransformedLayerInFragments(rootLayer, containerLayer, request, result, hitTestRect, hitTestLocation, transformState, zOffset);
4357 return hitTestLayerByApplyingTransform(rootLayer, containerLayer, request, result, hitTestRect, hitTestLocation, transformState, zOffset);
4367 ASSERT(transformState);
4368 localTransformState = const_cast<HitTestingTransformState*>(transformState);
4369 } else if (transformState || m_has3DTransformedDescendant || preserves3D()) {
4371 localTransformState = createLocalTransformState(rootLayer, containerLayer, hitTestRect, hitTestLocation, transformState);
4528 const LayoutRect& hitTestRect, const HitTestLocation& hitTestLocation, const HitTestingTransformState* transformState, double* zOffset)
4557 transformState, zOffset, fragment.paginationOffset);
4566 const LayoutRect& hitTestRect, const HitTestLocation& hitTestLocation, const HitTestingTransformState* transformState, double* zOffset,
4570 RefPtr<HitTestingTransformState> newTransformState = createLocalTransformState(rootLayer, containerLayer, hitTestRect, hitTestLocation, transformState, translationOffset);
4577 // from the transformState, which store the point and quad in the coords of the last flattened
4624 const HitTestingTransformState* transformState,
4641 hitLayer = hitTestPaginatedChildLayer(childLayer, rootLayer, request, tempResult, hitTestRect, hitTestLocation, transformState, zOffsetForDescendants);
4643 hitLayer = childLayer->hitTestLayer(rootLayer, this, request, tempResult, hitTestRect, hitTestLocation, false, transformState, zOffsetForDescendants);
4663 const LayoutRect& hitTestRect, const HitTestLocation& hitTestLocation, const HitTestingTransformState* transformState, double* zOffset)
4675 return hitTestChildLayerColumns(childLayer, rootLayer, request, result, hitTestRect, hitTestLocation, transformState, zOffset,
4680 const LayoutRect& hitTestRect, const HitTestLocation& hitTestLocation, const HitTestingTransformState* transformState, double* zOffset,
4749 hitLayer = childLayer->hitTestLayer(rootLayer, columnLayers[0], request, result, localClipRect, hitTestLocation, false, transformState, zOffset);
4758 RefPtr<HitTestingTransformState> newTransformState = nextLayer->createLocalTransformState(rootLayer, nextLayer, localClipRect, hitTestLocation, transformState);