Home | History | Annotate | Download | only in inspector

Lines Matching refs:graphicsLayer

58 inline String idForLayer(const GraphicsLayer* graphicsLayer)
60 return String::number(graphicsLayer->platformLayer()->id());
76 static PassRefPtr<TypeBuilder::Array<TypeBuilder::LayerTree::ScrollRect> > buildScrollRectsForLayer(GraphicsLayer* graphicsLayer)
79 blink::WebLayer* webLayer = graphicsLayer->platformLayer();
93 static PassRefPtr<TypeBuilder::LayerTree::Layer> buildObjectForLayer(GraphicsLayer* graphicsLayer, int nodeId)
95 blink::WebLayer* webLayer = graphicsLayer->platformLayer();
97 .setLayerId(idForLayer(graphicsLayer))
102 .setPaintCount(graphicsLayer->paintCount());
107 GraphicsLayer* parent = graphicsLayer->parent();
109 parent = graphicsLayer->replicatedLayer();
112 if (!graphicsLayer->contentsAreVisible())
114 const TransformationMatrix& transform = graphicsLayer->transform();
122 const FloatPoint3D& transformOrigin = graphicsLayer->transformOrigin();
134 RefPtr<TypeBuilder::Array<TypeBuilder::LayerTree::ScrollRect> > scrollRects = buildScrollRectsForLayer(graphicsLayer);
191 void InspectorLayerTreeAgent::didPaint(RenderObject*, const GraphicsLayer* graphicsLayer, GraphicsContext*, const LayoutRect& rect)
194 if (!graphicsLayer)
202 m_frontend->layerPainted(idForLayer(graphicsLayer), domRect.release());
222 GraphicsLayer* graphicsLayer = root->compositedLayerMapping()->childForSuperlayers();
223 layerIdToNodeIdMap.set(graphicsLayer->platformLayer()->id(), idForNode(node));
237 void InspectorLayerTreeAgent::gatherGraphicsLayers(GraphicsLayer* root, HashMap<int, int>& layerIdToNodeIdMap, RefPtr<TypeBuilder::Array<TypeBuilder::LayerTree::Layer> >& layers)
243 if (GraphicsLayer* replica = root->replicaLayer())
261 static GraphicsLayer* findLayerById(GraphicsLayer* root, int layerId)
266 if (GraphicsLayer* layer = findLayerById(root->replicaLayer(), layerId))
270 if (GraphicsLayer* layer = findLayerById(root->children()[i], layerId))
276 GraphicsLayer* InspectorLayerTreeAgent::layerById(ErrorString* errorString, const String& layerId)
290 GraphicsLayer* result = findLayerById(compositor->rootGraphicsLayer(), id);
298 const GraphicsLayer* graphicsLayer = layerById(errorString, layerId);
299 if (!graphicsLayer)
301 CompositingReasons reasonsBitmask = graphicsLayer->compositingReasons();
316 GraphicsLayer* layer = layerById(errorString, layerId);
400 void InspectorLayerTreeAgent::willAddPageOverlay(const GraphicsLayer* layer)
405 void InspectorLayerTreeAgent::didRemovePageOverlay(const GraphicsLayer* layer)