Home | History | Annotate | Download | only in rendering

Lines Matching refs:transformState

89 #include "TransformState.h"
2945 // Compute the z-offset of the point in the transformState.
2948 static double computeZOffset(const HitTestingTransformState& transformState)
2951 if (transformState.m_accumulatedTransform.isAffine())
2955 FloatPoint targetPoint = transformState.mappedPoint();
2958 FloatPoint3D backmappedPoint = transformState.m_accumulatedTransform.mapPoint(FloatPoint3D(targetPoint));
2966 RefPtr<HitTestingTransformState> transformState;
2971 transformState = HitTestingTransformState::create(*containerTransformState);
2976 transformState = HitTestingTransformState::create(hitTestPoint, FloatQuad(hitTestRect));
2984 transformState->applyTransform(containerTransform, HitTestingTransformState::AccumulateTransform);
2986 transformState->translate(offsetX, offsetY, HitTestingTransformState::AccumulateTransform);
2989 return transformState;
2993 static bool isHitCandidate(const RenderLayer* hitLayer, bool canDepthSort, double* zOffset, const HitTestingTransformState* transformState)
3004 ASSERT(transformState);
3006 double childZOffset = computeZOffset(*transformState);
3019 // transformState.m_accumulatedTransform holds the transform from the containing flattening layer.
3020 // transformState.m_lastPlanarPoint is the hitTestPoint in the plane of the containing flattening layer.
3021 // transformState.m_lastPlanarQuad is the hitTestRect as a quad in the plane of the containing flattening layer.
3027 const HitTestingTransformState* transformState, double* zOffset)
3050 RefPtr<HitTestingTransformState> newTransformState = createLocalTransformState(rootLayer, containerLayer, hitTestRect, hitTestPoint, transformState);
3057 // from the transformState, which store the point and quad in the coords of the last flattened
3083 ASSERT(transformState);
3084 localTransformState = const_cast<HitTestingTransformState*>(transformState);
3085 } else if (transformState || m_has3DTransformedDescendant || preserves3D()) {
3087 localTransformState = createLocalTransformState(rootLayer, containerLayer, hitTestRect, hitTestPoint, transformState);
3234 const HitTestingTransformState* transformState,
3248 hitLayer = hitTestPaginatedChildLayer(childLayer, rootLayer, request, tempResult, hitTestRect, hitTestPoint, transformState, zOffsetForDescendants);
3250 hitLayer = childLayer->hitTestLayer(rootLayer, this, request, tempResult, hitTestRect, hitTestPoint, false, transformState, zOffsetForDescendants);
3270 const IntRect& hitTestRect, const IntPoint& hitTestPoint, const HitTestingTransformState* transformState, double* zOffset)
3282 return hitTestChildLayerColumns(childLayer, rootLayer, request, result, hitTestRect, hitTestPoint, transformState, zOffset,
3287 const IntRect& hitTestRect, const IntPoint& hitTestPoint, const HitTestingTransformState* transformState, double* zOffset,
3345 hitLayer = childLayer->hitTestLayer(rootLayer, columnLayers[0], request, result, localClipRect, hitTestPoint, false, transformState, zOffset);
3354 RefPtr<HitTestingTransformState> newTransformState = nextLayer->createLocalTransformState(rootLayer, nextLayer, localClipRect, hitTestPoint, transformState);