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

/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DRenderGeometryMap.cpp50 void RenderGeometryMap::mapToContainer(TransformState& transformState, const RenderLayerModelObject* container) const argument
54 m_mapping.last().m_renderer->mapLocalToContainer(container, transformState, ApplyContainerFlip | m_mapCoordinatesFlags);
55 transformState.flatten();
88 transformState.applyTransform(*currentStep.m_transform.get());
92 transformState.applyTransform(*currentStep.m_transform.get(), accumulate);
94 transformState.move(currentStep.m_offset.width(), currentStep.m_offset.height(), accumulate);
99 transformState.move(currentStep.m_offsetForFixedPosition);
104 transformState.flatten();
114 TransformState transformState(TransformState::ApplyTransformDirection, p);
115 mapToContainer(transformState, containe
[all...]
H A DRenderObject.cpp1978 TransformState transformState(TransformState::ApplyTransformDirection, localPoint);
1979 mapLocalToContainer(0, transformState, mode | ApplyContainerFlip);
1980 transformState.flatten();
1982 return transformState.lastPlanarPoint();
1987 TransformState transformState(TransformState::UnapplyInverseTransformDirection, containerPoint);
1988 mapAbsoluteToLocalPoint(mode, transformState);
1989 transformState.flatten();
1991 return transformState.lastPlanarPoint();
1996 TransformState transformState(TransformState::UnapplyInverseTransformDirection, quad.boundingBox().center(), quad);
1997 mapAbsoluteToLocalPoint(mode, transformState);
2002 mapLocalToContainer(const RenderLayerModelObject* paintInvalidationContainer, TransformState& transformState, MapCoordinatesFlags mode, bool* wasFixed, const PaintInvalidationState* paintInvalidationState) const argument
[all...]
H A DRenderBoxModelObject.cpp579 void RenderBoxModelObject::mapAbsoluteToLocalPoint(MapCoordinatesFlags mode, TransformState& transformState) const
586 transformState.move(o->columnOffset(LayoutPoint(transformState.mappedPoint())));
588 o->mapAbsoluteToLocalPoint(mode, transformState);
594 LayoutPoint point(roundedLayoutPoint(transformState.mappedPoint()));
603 transformState.applyTransform(t, preserve3D ? TransformState::AccumulateTransform : TransformState::FlattenTransform);
605 transformState.move(containerOffset.width(), containerOffset.height(), preserve3D ? TransformState::AccumulateTransform : TransformState::FlattenTransform);
H A DRenderLayer.cpp921 TransformState transformState(TransformState::ApplyTransformDirection, FloatPoint());
923 renderer()->mapLocalToContainer(properties.transformAncestor ? properties.transformAncestor->renderer() : 0, transformState, ApplyContainerFlip);
924 transformState.flatten();
925 return LayoutPoint(transformState.lastPlanarPoint());
2458 // Compute the z-offset of the point in the transformState.
2461 static double computeZOffset(const HitTestingTransformState& transformState) argument
2464 if (transformState.m_accumulatedTransform.isAffine())
2468 FloatPoint targetPoint = transformState.mappedPoint();
2471 FloatPoint3D backmappedPoint = transformState.m_accumulatedTransform.mapPoint(FloatPoint3D(targetPoint));
2480 RefPtr<HitTestingTransformState> transformState; local
2507 isHitCandidate(const RenderLayer* hitLayer, bool canDepthSort, double* zOffset, const HitTestingTransformState* transformState) argument
2539 hitTestLayer(RenderLayer* rootLayer, RenderLayer* containerLayer, const HitTestRequest& request, HitTestResult& result, const LayoutRect& hitTestRect, const HitTestLocation& hitTestLocation, bool appliedTransform, const HitTestingTransformState* transformState, double* zOffset) argument
2712 hitTestTransformedLayerInFragments(RenderLayer* rootLayer, RenderLayer* containerLayer, const HitTestRequest& request, HitTestResult& result, const LayoutRect& hitTestRect, const HitTestLocation& hitTestLocation, const HitTestingTransformState* transformState, double* zOffset) argument
2749 hitTestLayerByApplyingTransform(RenderLayer* rootLayer, RenderLayer* containerLayer, const HitTestRequest& request, HitTestResult& result, const LayoutRect& hitTestRect, const HitTestLocation& hitTestLocation, const HitTestingTransformState* transformState, double* zOffset, const LayoutPoint& translationOffset) argument
2805 hitTestChildren(ChildrenIteration childrentoVisit, RenderLayer* rootLayer, const HitTestRequest& request, HitTestResult& result, const LayoutRect& hitTestRect, const HitTestLocation& hitTestLocation, const HitTestingTransformState* transformState, double* zOffsetForDescendants, double* zOffset, const HitTestingTransformState* unflattenedTransformState, bool depthSortDescendants) argument
2844 hitTestPaginatedChildLayer(RenderLayer* childLayer, RenderLayer* rootLayer, const HitTestRequest& request, HitTestResult& result, const LayoutRect& hitTestRect, const HitTestLocation& hitTestLocation, const HitTestingTransformState* transformState, double* zOffset) argument
2861 hitTestChildLayerColumns(RenderLayer* childLayer, RenderLayer* rootLayer, const HitTestRequest& request, HitTestResult& result, const LayoutRect& hitTestRect, const HitTestLocation& hitTestLocation, const HitTestingTransformState* transformState, double* zOffset, const Vector<RenderLayer*>& columnLayers, size_t columnIndex) argument
[all...]
H A DRenderView.cpp235 void RenderView::mapLocalToContainer(const RenderLayerModelObject* paintInvalidationContainer, TransformState& transformState, MapCoordinatesFlags mode, bool* wasFixed, const PaintInvalidationState* paintInvalidationState) const argument
242 transformState.applyTransform(t);
246 transformState.move(m_frameView->scrollOffsetForFixedPosition());
253 transformState.move(-frame()->view()->scrollOffset());
255 transformState.move(toLayoutSize(toRenderBox(parentDocRenderer)->contentBoxRect().location()));
256 parentDocRenderer->mapLocalToContainer(paintInvalidationContainer, transformState, mode, wasFixed, paintInvalidationState);
294 void RenderView::mapAbsoluteToLocalPoint(MapCoordinatesFlags mode, TransformState& transformState) const
297 transformState.move(m_frameView->scrollOffsetForFixedPosition());
302 transformState.applyTransform(t);
H A DRenderInline.cpp1149 void RenderInline::mapLocalToContainer(const RenderLayerModelObject* paintInvalidationContainer, TransformState& transformState, MapCoordinatesFlags mode, bool* wasFixed, const PaintInvalidationState* paintInvalidationState) const argument
1158 transformState.move(offset);
1169 IntPoint centerPoint = roundedIntPoint(transformState.mappedPoint());
1170 transformState.move(toRenderBox(o)->flipForWritingModeIncludingColumns(centerPoint) - centerPoint);
1175 LayoutSize containerOffset = offsetFromContainer(o, roundedLayoutPoint(transformState.mappedPoint()));
1181 transformState.applyTransform(t, preserve3D ? TransformState::AccumulateTransform : TransformState::FlattenTransform);
1183 transformState.move(containerOffset.width(), containerOffset.height(), preserve3D ? TransformState::AccumulateTransform : TransformState::FlattenTransform);
1189 transformState.move(-containerOffset.width(), -containerOffset.height(), preserve3D ? TransformState::AccumulateTransform : TransformState::FlattenTransform);
1193 o->mapLocalToContainer(paintInvalidationContainer, transformState, mode, wasFixed, paintInvalidationState);
H A 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,
H A DRenderBox.cpp1547 void RenderBox::mapLocalToContainer(const RenderLayerModelObject* paintInvalidationContainer, TransformState& transformState, MapCoordinatesFlags mode, bool* wasFixed, const PaintInvalidationState* paintInvalidationState) const argument
1556 transformState.move(offset);
1577 LayoutSize containerOffset = offsetFromContainer(o, roundedLayoutPoint(transformState.mappedPoint()));
1583 transformState.applyTransform(t, preserve3D ? TransformState::AccumulateTransform : TransformState::FlattenTransform);
1585 transformState.move(containerOffset.width(), containerOffset.height(), preserve3D ? TransformState::AccumulateTransform : TransformState::FlattenTransform);
1591 transformState.move(-containerOffset.width(), -containerOffset.height(), preserve3D ? TransformState::AccumulateTransform : TransformState::FlattenTransform);
1597 o->mapLocalToContainer(paintInvalidationContainer, transformState, mode, wasFixed);
1600 void RenderBox::mapAbsoluteToLocalPoint(MapCoordinatesFlags mode, TransformState& transformState) const
1611 RenderBoxModelObject::mapAbsoluteToLocalPoint(mode, transformState);
H A DRenderBlock.cpp1848 TransformState transformState(TransformState::ApplyTransformDirection, FloatPoint());
1849 mapLocalToContainer(paintInvalidationContainer, transformState, ApplyContainerFlip | UseTransforms);
1850 LayoutPoint offsetFromPaintInvalidationContainer = roundedLayoutPoint(transformState.mappedPoint());
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
H A DRenderSVGBlock.cpp89 void RenderSVGBlock::mapLocalToContainer(const RenderLayerModelObject* paintInvalidationContainer, TransformState& transformState, MapCoordinatesFlags, bool* wasFixed, const PaintInvalidationState* paintInvalidationState) const argument
91 SVGRenderSupport::mapLocalToContainer(this, paintInvalidationContainer, transformState, wasFixed, paintInvalidationState);
H A DRenderSVGModelObject.cpp64 void RenderSVGModelObject::mapLocalToContainer(const RenderLayerModelObject* paintInvalidationContainer, TransformState& transformState, MapCoordinatesFlags, bool* wasFixed, const PaintInvalidationState* paintInvalidationState) const argument
66 SVGRenderSupport::mapLocalToContainer(this, paintInvalidationContainer, transformState, wasFixed, paintInvalidationState);
H A DRenderSVGInline.cpp98 void RenderSVGInline::mapLocalToContainer(const RenderLayerModelObject* paintInvalidationContainer, TransformState& transformState, MapCoordinatesFlags, bool* wasFixed, const PaintInvalidationState* paintInvalidationState) const argument
100 SVGRenderSupport::mapLocalToContainer(this, paintInvalidationContainer, transformState, wasFixed, paintInvalidationState);
H A DSVGRenderSupport.cpp70 void SVGRenderSupport::mapLocalToContainer(const RenderObject* object, const RenderLayerModelObject* paintInvalidationContainer, TransformState& transformState, bool* wasFixed, const PaintInvalidationState* paintInvalidationState) argument
72 transformState.applyTransform(object->localToParentTransform());
80 transformState.applyTransform(toRenderSVGRoot(parent)->localToBorderBoxTransform());
83 parent->mapLocalToContainer(paintInvalidationContainer, transformState, mode, wasFixed, paintInvalidationState);
H A DRenderSVGRoot.cpp394 void RenderSVGRoot::mapLocalToContainer(const RenderLayerModelObject* paintInvalidationContainer, TransformState& transformState, MapCoordinatesFlags mode, bool* wasFixed, const PaintInvalidationState* paintInvalidationState) const argument
401 RenderReplaced::mapLocalToContainer(paintInvalidationContainer, transformState, mode | ApplyContainerFlip, wasFixed, paintInvalidationState);
/external/chromium_org/third_party/WebKit/Source/core/rendering/compositing/
H A DCompositedLayerMapping.cpp800 TransformState transformState(TransformState::ApplyTransformDirection, FloatPoint());
801 m_owningLayer.renderer()->mapLocalToContainer(compositingStackingContext->renderer(), transformState, ApplyContainerFlip);
802 transformState.flatten();
803 LayoutPoint offsetFromStackingContainer = LayoutPoint(transformState.lastPlanarPoint());

Completed in 2235 milliseconds