Searched refs:graphicsLayer (Results 1 - 17 of 17) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/platform/graphics/
H A DImageLayerChromiumTest.cpp112 OwnPtr<GraphicsLayerForTesting> graphicsLayer = adoptPtr(new GraphicsLayerForTesting(&client)); local
113 ASSERT_TRUE(graphicsLayer.get());
115 ASSERT_FALSE(graphicsLayer->hasContentsLayer());
116 ASSERT_FALSE(graphicsLayer->contentsLayer());
121 graphicsLayer->setContentsToImage(image.get());
122 ASSERT_TRUE(graphicsLayer->hasContentsLayer());
123 ASSERT_TRUE(graphicsLayer->contentsLayer());
125 graphicsLayer->setContentsToImage(0);
126 ASSERT_FALSE(graphicsLayer->hasContentsLayer());
127 ASSERT_FALSE(graphicsLayer
133 OwnPtr<GraphicsLayerForTesting> graphicsLayer = adoptPtr(new GraphicsLayerForTesting(&client)); local
[all...]
/external/chromium_org/third_party/WebKit/Source/core/inspector/
H A DInspectorLayerTreeAgent.cpp62 inline String idForLayer(const GraphicsLayer* graphicsLayer) argument
64 return String::number(graphicsLayer->platformLayer()->id());
80 static PassRefPtr<TypeBuilder::Array<TypeBuilder::LayerTree::ScrollRect> > buildScrollRectsForLayer(GraphicsLayer* graphicsLayer) argument
83 blink::WebLayer* webLayer = graphicsLayer->platformLayer();
97 static PassRefPtr<TypeBuilder::LayerTree::Layer> buildObjectForLayer(GraphicsLayer* graphicsLayer, int nodeId) argument
99 blink::WebLayer* webLayer = graphicsLayer->platformLayer();
101 .setLayerId(idForLayer(graphicsLayer))
106 .setPaintCount(graphicsLayer->paintCount());
111 GraphicsLayer* parent = graphicsLayer->parent();
113 parent = graphicsLayer
201 didPaint(RenderObject*, const GraphicsLayer* graphicsLayer, GraphicsContext*, const LayoutRect& rect) argument
232 GraphicsLayer* graphicsLayer = root->compositedLayerMapping()->childForSuperlayers(); local
308 const GraphicsLayer* graphicsLayer = layerById(errorString, layerId); local
[all...]
H A DInspectorTraceEvents.cpp304 PassRefPtr<TraceEvent::ConvertableToTraceFormat> InspectorPaintEvent::data(RenderObject* renderer, const LayoutRect& clipRect, const GraphicsLayer* graphicsLayer) argument
312 int graphicsLayerId = graphicsLayer ? graphicsLayer->platformLayer()->id() : 0;
H A DInspectorTimelineAgent.cpp596 void InspectorTimelineAgent::willPaint(RenderObject* renderer, const GraphicsLayer* graphicsLayer) argument
603 if (graphicsLayer) {
604 int layerIdentifier = graphicsLayer->platformLayer()->id();
617 void InspectorTimelineAgent::didPaint(RenderObject* renderer, const GraphicsLayer* graphicsLayer, GraphicsContext*, const LayoutRect& clipRect) argument
623 int graphicsLayerId = graphicsLayer ? graphicsLayer->platformLayer()->id() : 0;
626 if (m_mayEmitFirstPaint && !graphicsLayer) {
/external/chromium_org/third_party/WebKit/Source/web/
H A DPageOverlay.h61 GraphicsLayer* graphicsLayer() const { return m_layer.get(); } function in class:blink::PageOverlay
H A DPageOverlay.cpp83 virtual String debugName(const GraphicsLayer* graphicsLayer) OVERRIDE
H A DPageOverlayList.cpp133 if (m_pageOverlays[i]->graphicsLayer() == layer)
H A DWebPagePopupImpl.cpp156 virtual void attachRootGraphicsLayer(GraphicsLayer* graphicsLayer) OVERRIDE
158 m_popup->setRootGraphicsLayer(graphicsLayer);
/external/chromium_org/third_party/WebKit/Source/platform/scroll/
H A DScrollableArea.cpp381 if (GraphicsLayer* graphicsLayer = layerForHorizontalScrollbar()) {
382 graphicsLayer->setNeedsDisplay();
383 graphicsLayer->setContentsNeedsDisplay();
387 if (GraphicsLayer* graphicsLayer = layerForVerticalScrollbar()) {
388 graphicsLayer->setNeedsDisplay();
389 graphicsLayer->setContentsNeedsDisplay();
398 if (GraphicsLayer* graphicsLayer = layerForScrollCorner()) {
399 graphicsLayer->setNeedsDisplay();
H A DScrollView.cpp727 static void positionScrollbarLayer(GraphicsLayer* graphicsLayer, Scrollbar* scrollbar) argument
729 if (!graphicsLayer || !scrollbar)
733 graphicsLayer->setPosition(scrollbarRect.location());
735 if (scrollbarRect.size() == graphicsLayer->size())
738 graphicsLayer->setSize(scrollbarRect.size());
740 if (graphicsLayer->hasContentsLayer()) {
741 graphicsLayer->setContentsRect(IntRect(0, 0, scrollbarRect.width(), scrollbarRect.height()));
745 graphicsLayer->setDrawsContent(true);
746 graphicsLayer->setNeedsDisplay();
749 static void positionScrollCornerLayer(GraphicsLayer* graphicsLayer, cons argument
[all...]
/external/chromium_org/third_party/WebKit/Source/core/rendering/compositing/
H A DRenderLayerCompositor.cpp796 void RenderLayerCompositor::paintContents(const GraphicsLayer* graphicsLayer, GraphicsContext& context, GraphicsLayerPaintingPhase, const IntRect& clip) argument
798 if (graphicsLayer == layerForHorizontalScrollbar())
800 else if (graphicsLayer == layerForVerticalScrollbar())
802 else if (graphicsLayer == layerForScrollCorner()) {
841 static void resetTrackedPaintInvalidationRectsRecursive(GraphicsLayer* graphicsLayer) argument
843 if (!graphicsLayer)
846 graphicsLayer->resetTrackedPaintInvalidations();
848 for (size_t i = 0; i < graphicsLayer->children().size(); ++i)
849 resetTrackedPaintInvalidationRectsRecursive(graphicsLayer->children()[i]);
851 if (GraphicsLayer* replicaLayer = graphicsLayer
1169 debugName(const GraphicsLayer* graphicsLayer) argument
[all...]
H A DCompositedLayerMapping.cpp208 OwnPtr<GraphicsLayer> graphicsLayer = GraphicsLayer::create(graphicsLayerFactory, this); local
210 graphicsLayer->setCompositingReasons(reasons);
212 graphicsLayer->setOwnerNodeId(InspectorNodeIds::idForNode(owningNode));
214 return graphicsLayer.release();
2171 void CompositedLayerMapping::paintContents(const GraphicsLayer* graphicsLayer, GraphicsContext& context, GraphicsLayerPaintingPhase graphicsLayerPaintingPhase, const IntRect& clip) argument
2180 TRACE_EVENT1(TRACE_DISABLED_BY_DEFAULT("devtools.timeline"), "Paint", "data", InspectorPaintEvent::data(m_owningLayer.renderer(), clip, graphicsLayer));
2183 InspectorInstrumentation::willPaint(m_owningLayer.renderer(), graphicsLayer);
2199 if (graphicsLayer == m_backgroundLayer)
2204 if (graphicsLayer == m_graphicsLayer.get()
2205 || graphicsLayer
2322 debugName(const GraphicsLayer* graphicsLayer) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/web/tests/
H A DScrollingCoordinatorChromiumTest.cpp158 GraphicsLayer* graphicsLayer = compositedLayerMapping->mainGraphicsLayer(); local
159 if (!graphicsLayer)
161 return graphicsLayer->platformLayer();
313 GraphicsLayer* graphicsLayer = compositedLayerMapping->scrollingContentsLayer(); local
314 ASSERT_EQ(box->layer()->scrollableArea(), graphicsLayer->scrollableArea());
353 GraphicsLayer* graphicsLayer = compositedLayerMapping->scrollingContentsLayer(); local
354 ASSERT_EQ(box->layer()->scrollableArea(), graphicsLayer->scrollableArea());
376 graphicsLayer = compositedLayerMapping->scrollingContentsLayer();
377 ASSERT_EQ(box->layer()->scrollableArea(), graphicsLayer->scrollableArea());
/external/chromium_org/third_party/WebKit/Source/core/frame/
H A DPinchViewport.cpp431 String PinchViewport::debugName(const GraphicsLayer* graphicsLayer) argument
434 if (graphicsLayer == m_innerViewportContainerLayer.get()) {
436 } else if (graphicsLayer == m_pageScaleLayer.get()) {
438 } else if (graphicsLayer == m_innerViewportScrollLayer.get()) {
440 } else if (graphicsLayer == m_overlayScrollbarHorizontal.get()) {
442 } else if (graphicsLayer == m_overlayScrollbarVertical.get()) {
H A DFrameView.cpp1007 GraphicsLayer* graphicsLayer = layoutRoot->enclosingLayer()->compositedLayerMapping()->mainGraphicsLayer(); local
1008 if (!graphicsLayer)
1011 GraphicsLayerDebugInfo& debugInfo = graphicsLayer->debugInfo();
/external/chromium_org/third_party/WebKit/Source/core/testing/
H A DInternals.cpp1180 static RenderLayer* findRenderLayerForGraphicsLayer(RenderLayer* searchRoot, GraphicsLayer* graphicsLayer, IntSize* layerOffset, String* layerType) argument
1183 if (searchRoot->hasCompositedLayerMapping() && graphicsLayer == searchRoot->compositedLayerMapping()->mainGraphicsLayer()) {
1191 if (graphicsLayer == layerForScrolling) {
1198 if (graphicsLayer == squashingLayer) {
1208 if (graphicsLayer == layerForHorizontalScrollbar) {
1214 if (graphicsLayer == layerForVerticalScrollbar) {
1220 if (graphicsLayer == layerForScrollCorner) {
1228 RenderLayer* foundLayer = findRenderLayerForGraphicsLayer(child, graphicsLayer, layerOffset, layerType);
1281 static void accumulateLayerRectList(RenderLayerCompositor* compositor, GraphicsLayer* graphicsLayer, LayerRectList* rects) argument
1283 blink::WebVector<blink::WebRect> layerRects = graphicsLayer
[all...]
/external/chromium_org/third_party/WebKit/Source/core/page/scrolling/
H A DScrollingCoordinator.cpp427 GraphicsLayer* graphicsLayer = compositedLayer->graphicsLayerBackingForScrolling(); local
429 GraphicsLayerHitTestRects::iterator glIter = graphicsRects.find(graphicsLayer);
432 glRects = &graphicsRects.add(graphicsLayer, Vector<LayoutRect>()).storedValue->value;
436 // Transform each rect to the co-ordinate space of the graphicsLayer.
574 const GraphicsLayer* graphicsLayer = iter->key; local
578 graphicsLayer->platformLayer()->setTouchEventHandlerRegion(webRects);

Completed in 321 milliseconds