Home | History | Annotate | Download | only in rendering

Lines Matching defs:graphicsLayer

45 #include "core/platform/graphics/GraphicsLayer.h"
183 PassOwnPtr<GraphicsLayer> RenderLayerBacking::createGraphicsLayer(const String& name, CompositingReasons reasons)
189 OwnPtr<GraphicsLayer> graphicsLayer = GraphicsLayer::create(graphicsLayerFactory, this);
192 graphicsLayer->setName(name);
197 graphicsLayer->setCompositingReasons(reasons);
199 return graphicsLayer.release();
353 // the transform-origin via the GraphicsLayer anchorPoint (which is expressed as a fractional value).
386 // position of this layer's GraphicsLayer depends on the position of our compositing
387 // ancestor's GraphicsLayer. That cannot be determined until all the descendant
449 GraphicsLayer* reflectionLayer = m_owningLayer->reflectionLayer()->backing()->graphicsLayer();
512 // m_graphicsLayer is the corresponding GraphicsLayer for this RenderLayer and its non-compositing
591 if (GraphicsLayer* clipLayer = clippingLayer()) {
622 GraphicsLayer* clipLayer = clippingLayer();
684 reflectionBacking->graphicsLayer()->setReplicatedLayerPosition(FloatPoint(layerBounds.location() - reflectionLayerBounds.location()));
720 m_scrollingContentsLayer->setOffsetFromRenderer(scrollingContentsOffset, GraphicsLayer::DontSetNeedsDisplay);
779 GraphicsLayer* superlayer = m_childContainmentLayer ? m_childContainmentLayer.get() : m_graphicsLayer.get();
938 if (GraphicsLayer* layer = layerForHorizontalScrollbar()) {
949 if (GraphicsLayer* layer = layerForVerticalScrollbar()) {
960 if (GraphicsLayer* layer = layerForScrollCorner()) {
970 if (GraphicsLayer* layer = layerForHorizontalScrollbar())
974 if (GraphicsLayer* layer = layerForVerticalScrollbar())
978 if (GraphicsLayer* layer = layerForScrollCorner())
1175 if (!GraphicsLayer::supportsBackgroundColorContent())
1454 GraphicsLayer* RenderLayerBacking::parentForSublayers() const
1462 GraphicsLayer* RenderLayerBacking::childForSuperlayers() const
1623 void RenderLayerBacking::paintContents(const GraphicsLayer* graphicsLayer, GraphicsContext& context, GraphicsLayerPaintingPhase paintingPhase, const IntRect& clip)
1630 if (graphicsLayer == m_graphicsLayer.get()
1631 || graphicsLayer == m_foregroundLayer.get()
1632 || graphicsLayer == m_backgroundLayer.get()
1633 || graphicsLayer == m_maskLayer.get()
1634 || graphicsLayer
1639 paintInfo.offsetFromRenderer = graphicsLayer->offsetFromRenderer();
1641 paintInfo.isBackgroundLayer = (graphicsLayer == m_backgroundLayer);
1645 } else if (graphicsLayer == layerForHorizontalScrollbar()) {
1647 } else if (graphicsLayer == layerForVerticalScrollbar()) {
1649 } else if (graphicsLayer == layerForScrollCorner()) {
1665 void RenderLayerBacking::didCommitChangesForLayer(const GraphicsLayer* layer) const
1669 bool RenderLayerBacking::getCurrentTransform(const GraphicsLayer* graphicsLayer, TransformationMatrix& transform) const
1671 if (graphicsLayer != m_graphicsLayer.get())
1767 if (m_graphicsLayer->addAnimation(opacityVector, IntSize(), opacityAnim, GraphicsLayer::animationNameForTransition(AnimatedPropertyOpacity), timeOffset)) {
1781 if (m_graphicsLayer->addAnimation(transformVector, toRenderBox(renderer())->pixelSnappedBorderBoxRect().size(), transformAnim, GraphicsLayer::animationNameForTransition(AnimatedPropertyWebkitTransform), timeOffset)) {
1795 if (m_graphicsLayer->addAnimation(filterVector, IntSize(), filterAnim, GraphicsLayer::animationNameForTransition(AnimatedPropertyWebkitFilter), timeOffset)) {
1810 m_graphicsLayer->pauseAnimation(GraphicsLayer::animationNameForTransition(animatedProperty), timeOffset);
1817 m_graphicsLayer->removeAnimation(GraphicsLayer::animationNameForTransition(animatedProperty));
1820 void RenderLayerBacking::notifyAnimationStarted(const GraphicsLayer*, double time)