Home
last modified time | relevance | path

Searched refs:transformState (Results 1 – 15 of 15) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderGeometryMap.cpp50 void RenderGeometryMap::mapToContainer(TransformState& transformState, const RenderLayerModelObject… in mapToContainer() argument
54 …m_mapping.last().m_renderer->mapLocalToContainer(container, transformState, ApplyContainerFlip | m… in mapToContainer()
55 transformState.flatten(); in mapToContainer()
88 transformState.applyTransform(*currentStep.m_transform.get()); in mapToContainer()
92 transformState.applyTransform(*currentStep.m_transform.get(), accumulate); in mapToContainer()
94transformState.move(currentStep.m_offset.width(), currentStep.m_offset.height(), accumulate); in mapToContainer()
99 transformState.move(currentStep.m_offsetForFixedPosition); in mapToContainer()
104 transformState.flatten(); in mapToContainer()
114 TransformState transformState(TransformState::ApplyTransformDirection, p); in mapToContainer() local
115 mapToContainer(transformState, container); in mapToContainer()
[all …]
DRenderObject.cpp1978 TransformState transformState(TransformState::ApplyTransformDirection, localPoint); in localToAbsolute() local
1979 mapLocalToContainer(0, transformState, mode | ApplyContainerFlip); in localToAbsolute()
1980 transformState.flatten(); in localToAbsolute()
1982 return transformState.lastPlanarPoint(); in localToAbsolute()
1987 TransformState transformState(TransformState::UnapplyInverseTransformDirection, containerPoint); in absoluteToLocal() local
1988 mapAbsoluteToLocalPoint(mode, transformState); in absoluteToLocal()
1989 transformState.flatten(); in absoluteToLocal()
1991 return transformState.lastPlanarPoint(); in absoluteToLocal()
1996 …TransformState transformState(TransformState::UnapplyInverseTransformDirection, quad.boundingBox()… in absoluteToLocalQuad() local
1997 mapAbsoluteToLocalPoint(mode, transformState); in absoluteToLocalQuad()
[all …]
DRenderLayer.cpp921 TransformState transformState(TransformState::ApplyTransformDirection, FloatPoint()); in computeOffsetFromTransformedAncestor() local
923 …es.transformAncestor ? properties.transformAncestor->renderer() : 0, transformState, ApplyContaine… in computeOffsetFromTransformedAncestor()
924 transformState.flatten(); in computeOffsetFromTransformedAncestor()
925 return LayoutPoint(transformState.lastPlanarPoint()); in computeOffsetFromTransformedAncestor()
2461 static double computeZOffset(const HitTestingTransformState& transformState) in computeZOffset() argument
2464 if (transformState.m_accumulatedTransform.isAffine()) in computeZOffset()
2468 FloatPoint targetPoint = transformState.mappedPoint(); in computeZOffset()
2471 …FloatPoint3D backmappedPoint = transformState.m_accumulatedTransform.mapPoint(FloatPoint3D(targetP… in computeZOffset()
2480 RefPtr<HitTestingTransformState> transformState; in createLocalTransformState() local
2484 transformState = HitTestingTransformState::create(*containerTransformState); in createLocalTransformState()
[all …]
DRenderBoxModelObject.cpp579 …odelObject::mapAbsoluteToLocalPoint(MapCoordinatesFlags mode, TransformState& transformState) const in mapAbsoluteToLocalPoint()
586 transformState.move(o->columnOffset(LayoutPoint(transformState.mappedPoint()))); in mapAbsoluteToLocalPoint()
588 o->mapAbsoluteToLocalPoint(mode, transformState); in mapAbsoluteToLocalPoint()
594 LayoutPoint point(roundedLayoutPoint(transformState.mappedPoint())); in mapAbsoluteToLocalPoint()
603transformState.applyTransform(t, preserve3D ? TransformState::AccumulateTransform : TransformState… in mapAbsoluteToLocalPoint()
605transformState.move(containerOffset.width(), containerOffset.height(), preserve3D ? TransformState… in mapAbsoluteToLocalPoint()
DRenderView.cpp235 … RenderLayerModelObject* paintInvalidationContainer, TransformState& transformState, MapCoordinate… in mapLocalToContainer() argument
242 transformState.applyTransform(t); in mapLocalToContainer()
246 transformState.move(m_frameView->scrollOffsetForFixedPosition()); in mapLocalToContainer()
253 transformState.move(-frame()->view()->scrollOffset()); in mapLocalToContainer()
255transformState.move(toLayoutSize(toRenderBox(parentDocRenderer)->contentBoxRect().location())); in mapLocalToContainer()
256 …parentDocRenderer->mapLocalToContainer(paintInvalidationContainer, transformState, mode, wasFixed,… in mapLocalToContainer()
294 void RenderView::mapAbsoluteToLocalPoint(MapCoordinatesFlags mode, TransformState& transformState) … in mapAbsoluteToLocalPoint()
297 transformState.move(m_frameView->scrollOffsetForFixedPosition()); in mapAbsoluteToLocalPoint()
302 transformState.applyTransform(t); in mapAbsoluteToLocalPoint()
DRenderInline.cpp1149 … RenderLayerModelObject* paintInvalidationContainer, TransformState& transformState, MapCoordinate… in mapLocalToContainer() argument
1158 transformState.move(offset); in mapLocalToContainer()
1169 IntPoint centerPoint = roundedIntPoint(transformState.mappedPoint()); in mapLocalToContainer()
1170transformState.move(toRenderBox(o)->flipForWritingModeIncludingColumns(centerPoint) - centerPoint); in mapLocalToContainer()
1175 …LayoutSize containerOffset = offsetFromContainer(o, roundedLayoutPoint(transformState.mappedPoint(… in mapLocalToContainer()
1181transformState.applyTransform(t, preserve3D ? TransformState::AccumulateTransform : TransformState… in mapLocalToContainer()
1183transformState.move(containerOffset.width(), containerOffset.height(), preserve3D ? TransformState… in mapLocalToContainer()
1189transformState.move(-containerOffset.width(), -containerOffset.height(), preserve3D ? TransformSta… in mapLocalToContainer()
1193 …o->mapLocalToContainer(paintInvalidationContainer, transformState, mode, wasFixed, paintInvalidati… in mapLocalToContainer()
DRenderLayer.h587 … const HitTestingTransformState* transformState = 0, double* zOffset = 0);
593 … const HitTestingTransformState* transformState, double* zOffsetForDescendants, double* zOffset,
597 … const HitTestingTransformState* transformState, double* zOffset);
600 … const HitTestingTransformState* transformState, double* zOffset,
DRenderBox.cpp1547 … RenderLayerModelObject* paintInvalidationContainer, TransformState& transformState, MapCoordinate… in mapLocalToContainer() argument
1556 transformState.move(offset); in mapLocalToContainer()
1577 …LayoutSize containerOffset = offsetFromContainer(o, roundedLayoutPoint(transformState.mappedPoint(… in mapLocalToContainer()
1583transformState.applyTransform(t, preserve3D ? TransformState::AccumulateTransform : TransformState… in mapLocalToContainer()
1585transformState.move(containerOffset.width(), containerOffset.height(), preserve3D ? TransformState… in mapLocalToContainer()
1591transformState.move(-containerOffset.width(), -containerOffset.height(), preserve3D ? TransformSta… in mapLocalToContainer()
1597 o->mapLocalToContainer(paintInvalidationContainer, transformState, mode, wasFixed); in mapLocalToContainer()
1600 void RenderBox::mapAbsoluteToLocalPoint(MapCoordinatesFlags mode, TransformState& transformState) c… in mapAbsoluteToLocalPoint()
1611 RenderBoxModelObject::mapAbsoluteToLocalPoint(mode, transformState); in mapAbsoluteToLocalPoint()
DRenderBlock.cpp1848 TransformState transformState(TransformState::ApplyTransformDirection, FloatPoint()); in selectionGapRectsForPaintInvalidation() local
1849 …mapLocalToContainer(paintInvalidationContainer, transformState, ApplyContainerFlip | UseTransforms… in selectionGapRectsForPaintInvalidation()
1850 …LayoutPoint offsetFromPaintInvalidationContainer = roundedLayoutPoint(transformState.mappedPoint()… in selectionGapRectsForPaintInvalidation()
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
DRenderSVGBlock.cpp89 … RenderLayerModelObject* paintInvalidationContainer, TransformState& transformState, MapCoordinate… in mapLocalToContainer() argument
91 …SVGRenderSupport::mapLocalToContainer(this, paintInvalidationContainer, transformState, wasFixed, … in mapLocalToContainer()
DRenderSVGModelObject.cpp64 … RenderLayerModelObject* paintInvalidationContainer, TransformState& transformState, MapCoordinate… in mapLocalToContainer() argument
66 …SVGRenderSupport::mapLocalToContainer(this, paintInvalidationContainer, transformState, wasFixed, … in mapLocalToContainer()
DSVGRenderSupport.cpp70 … RenderLayerModelObject* paintInvalidationContainer, TransformState& transformState, bool* wasFixe… in mapLocalToContainer() argument
72 transformState.applyTransform(object->localToParentTransform()); in mapLocalToContainer()
80 transformState.applyTransform(toRenderSVGRoot(parent)->localToBorderBoxTransform()); in mapLocalToContainer()
83 …parent->mapLocalToContainer(paintInvalidationContainer, transformState, mode, wasFixed, paintInval… in mapLocalToContainer()
DRenderSVGInline.cpp98 … RenderLayerModelObject* paintInvalidationContainer, TransformState& transformState, MapCoordinate… in mapLocalToContainer() argument
100 …SVGRenderSupport::mapLocalToContainer(this, paintInvalidationContainer, transformState, wasFixed, … in mapLocalToContainer()
DRenderSVGRoot.cpp394 … RenderLayerModelObject* paintInvalidationContainer, TransformState& transformState, MapCoordinate… in mapLocalToContainer() argument
401 …RenderReplaced::mapLocalToContainer(paintInvalidationContainer, transformState, mode | ApplyContai… in mapLocalToContainer()
/external/chromium_org/third_party/WebKit/Source/core/rendering/compositing/
DCompositedLayerMapping.cpp800 TransformState transformState(TransformState::ApplyTransformDirection, FloatPoint()); in updateOverflowControlsHostLayerGeometry() local
801 …derer()->mapLocalToContainer(compositingStackingContext->renderer(), transformState, ApplyContaine… in updateOverflowControlsHostLayerGeometry()
802 transformState.flatten(); in updateOverflowControlsHostLayerGeometry()
803 LayoutPoint offsetFromStackingContainer = LayoutPoint(transformState.lastPlanarPoint()); in updateOverflowControlsHostLayerGeometry()