/external/chromium_org/third_party/WebKit/Source/core/inspector/ |
D | InspectorLayerTreeAgent.cpp | 70 inline String idForLayer(const GraphicsLayer* graphicsLayer) in idForLayer() argument 72 return String::number(graphicsLayer->platformLayer()->id()); in idForLayer() 75 static PassRefPtr<TypeBuilder::LayerTree::Layer> buildObjectForLayer(GraphicsLayer* graphicsLayer, … in buildObjectForLayer() argument 78 .setLayerId(idForLayer(graphicsLayer)) in buildObjectForLayer() 79 .setOffsetX(graphicsLayer->position().x()) in buildObjectForLayer() 80 .setOffsetY(graphicsLayer->position().y()) in buildObjectForLayer() 81 .setWidth(graphicsLayer->size().width()) in buildObjectForLayer() 82 .setHeight(graphicsLayer->size().height()) in buildObjectForLayer() 83 .setPaintCount(graphicsLayer->paintCount()); in buildObjectForLayer() 88 GraphicsLayer* parent = graphicsLayer->parent(); in buildObjectForLayer() [all …]
|
D | InspectorTimelineAgent.cpp | 555 void InspectorTimelineAgent::willPaint(RenderObject* renderer, const GraphicsLayer* graphicsLayer) in willPaint() argument 562 if (graphicsLayer) { in willPaint() 563 int layerIdentifier = graphicsLayer->platformLayer()->id(); in willPaint() 577 void InspectorTimelineAgent::didPaint(RenderObject* renderer, const GraphicsLayer* graphicsLayer, G… in didPaint() argument 583 int graphicsLayerId = graphicsLayer ? graphicsLayer->platformLayer()->id() : 0; in didPaint() 586 if (m_mayEmitFirstPaint && !graphicsLayer) { in didPaint()
|
/external/chromium_org/third_party/WebKit/Source/web/tests/ |
D | ImageLayerChromiumTest.cpp | 112 OwnPtr<GraphicsLayerForTesting> graphicsLayer = adoptPtr(new GraphicsLayerForTesting(&client)); in TEST() local 113 ASSERT_TRUE(graphicsLayer.get()); in TEST() 120 ASSERT_FALSE(graphicsLayer->contentsLayer()); in TEST() 122 graphicsLayer->setContentsToImage(opaqueImage.get()); in TEST() 123 ASSERT_TRUE(graphicsLayer->contentsLayer()->opaque()); in TEST() 125 graphicsLayer->setContentsToImage(nonOpaqueImage.get()); in TEST() 126 ASSERT_FALSE(graphicsLayer->contentsLayer()->opaque()); in TEST()
|
D | ScrollingCoordinatorChromiumTest.cpp | 166 GraphicsLayer* graphicsLayer = compositedLayerMapping->mainGraphicsLayer(); in webLayerFromElement() local 167 if (!graphicsLayer) in webLayerFromElement() 169 return graphicsLayer->platformLayer(); in webLayerFromElement() 313 GraphicsLayer* graphicsLayer = compositedLayerMapping->scrollingContentsLayer(); in TEST_F() local 314 ASSERT_EQ(box->layer()->scrollableArea(), graphicsLayer->scrollableArea()); in TEST_F() 353 GraphicsLayer* graphicsLayer = compositedLayerMapping->scrollingContentsLayer(); in TEST_F() local 354 ASSERT_EQ(box->layer()->scrollableArea(), graphicsLayer->scrollableArea()); in TEST_F() 376 graphicsLayer = compositedLayerMapping->scrollingContentsLayer(); in TEST_F() 377 ASSERT_EQ(box->layer()->scrollableArea(), graphicsLayer->scrollableArea()); in TEST_F()
|
/external/chromium_org/third_party/WebKit/Source/web/ |
D | PinchViewports.cpp | 196 String PinchViewports::debugName(const GraphicsLayer* graphicsLayer) in debugName() argument 199 if (graphicsLayer == m_innerViewportContainerLayer.get()) { in debugName() 201 } else if (graphicsLayer == m_pageScaleLayer.get()) { in debugName() 203 } else if (graphicsLayer == m_innerViewportScrollLayer.get()) { in debugName() 205 } else if (graphicsLayer == m_overlayScrollbarHorizontal.get()) { in debugName() 207 } else if (graphicsLayer == m_overlayScrollbarVertical.get()) { in debugName()
|
D | PageOverlay.h | 63 WebCore::GraphicsLayer* graphicsLayer() const { return m_layer.get(); } in graphicsLayer() function
|
D | PageOverlay.cpp | 84 virtual String debugName(const GraphicsLayer* graphicsLayer) OVERRIDE in debugName() argument
|
D | PageOverlayList.cpp | 133 if (m_pageOverlays[i]->graphicsLayer() == layer) in findGraphicsLayer()
|
D | ChromeClientImpl.cpp | 823 void ChromeClientImpl::attachRootGraphicsLayer(Frame* frame, GraphicsLayer* graphicsLayer) in attachRootGraphicsLayer() argument 825 m_webView->setRootGraphicsLayer(graphicsLayer); in attachRootGraphicsLayer()
|
/external/chromium_org/third_party/WebKit/Source/platform/scroll/ |
D | ScrollableArea.cpp | 326 if (GraphicsLayer* graphicsLayer = layerForHorizontalScrollbar()) { in invalidateScrollbar() local 327 graphicsLayer->setNeedsDisplay(); in invalidateScrollbar() 328 graphicsLayer->setContentsNeedsDisplay(); in invalidateScrollbar() 332 if (GraphicsLayer* graphicsLayer = layerForVerticalScrollbar()) { in invalidateScrollbar() local 333 graphicsLayer->setNeedsDisplay(); in invalidateScrollbar() 334 graphicsLayer->setContentsNeedsDisplay(); in invalidateScrollbar() 343 if (GraphicsLayer* graphicsLayer = layerForScrollCorner()) { in invalidateScrollCorner() local 344 graphicsLayer->setNeedsDisplay(); in invalidateScrollCorner()
|
D | ScrollView.cpp | 734 static void positionScrollbarLayer(GraphicsLayer* graphicsLayer, Scrollbar* scrollbar) in positionScrollbarLayer() argument 736 if (!graphicsLayer || !scrollbar) in positionScrollbarLayer() 740 graphicsLayer->setPosition(scrollbarRect.location()); in positionScrollbarLayer() 742 if (scrollbarRect.size() == graphicsLayer->size()) in positionScrollbarLayer() 745 graphicsLayer->setSize(scrollbarRect.size()); in positionScrollbarLayer() 747 if (graphicsLayer->hasContentsLayer()) { in positionScrollbarLayer() 748 … graphicsLayer->setContentsRect(IntRect(0, 0, scrollbarRect.width(), scrollbarRect.height())); in positionScrollbarLayer() 752 graphicsLayer->setDrawsContent(true); in positionScrollbarLayer() 753 graphicsLayer->setNeedsDisplay(); in positionScrollbarLayer() 756 static void positionScrollCornerLayer(GraphicsLayer* graphicsLayer, const IntRect& cornerRect) in positionScrollCornerLayer() argument [all …]
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
D | CompositedLayerMapping.cpp | 201 OwnPtr<GraphicsLayer> graphicsLayer = GraphicsLayer::create(graphicsLayerFactory, this); in createGraphicsLayer() local 203 graphicsLayer->setCompositingReasons(reasons); in createGraphicsLayer() 205 return graphicsLayer.release(); in createGraphicsLayer() 1890 void CompositedLayerMapping::paintContents(const GraphicsLayer* graphicsLayer, GraphicsContext& con… in paintContents() argument 1896 InspectorInstrumentation::willPaint(m_owningLayer->renderer(), graphicsLayer); in paintContents() 1898 if (graphicsLayer == m_graphicsLayer.get() in paintContents() 1899 || graphicsLayer == m_foregroundLayer.get() in paintContents() 1900 || graphicsLayer == m_backgroundLayer.get() in paintContents() 1901 || graphicsLayer == m_maskLayer.get() in paintContents() 1902 || graphicsLayer == m_childClippingMaskLayer.get() in paintContents() [all …]
|
D | RenderLayerCompositor.cpp | 2048 void RenderLayerCompositor::paintContents(const GraphicsLayer* graphicsLayer, GraphicsContext& cont… in paintContents() argument 2050 if (graphicsLayer == layerForHorizontalScrollbar()) in paintContents() 2052 else if (graphicsLayer == layerForVerticalScrollbar()) in paintContents() 2054 else if (graphicsLayer == layerForScrollCorner()) { in paintContents() 2095 static void resetTrackedRepaintRectsRecursive(GraphicsLayer* graphicsLayer) in resetTrackedRepaintRectsRecursive() argument 2097 if (!graphicsLayer) in resetTrackedRepaintRectsRecursive() 2100 graphicsLayer->resetTrackedRepaints(); in resetTrackedRepaintRectsRecursive() 2102 for (size_t i = 0; i < graphicsLayer->children().size(); ++i) in resetTrackedRepaintRectsRecursive() 2103 resetTrackedRepaintRectsRecursive(graphicsLayer->children()[i]); in resetTrackedRepaintRectsRecursive() 2105 if (GraphicsLayer* replicaLayer = graphicsLayer->replicaLayer()) in resetTrackedRepaintRectsRecursive() [all …]
|
/external/chromium_org/third_party/WebKit/Source/core/page/scrolling/ |
D | ScrollingCoordinator.cpp | 79 GraphicsLayer* graphicsLayer = scrollLayerForScrollableArea(scrollableArea); in scrollingWebLayerForScrollableArea() local 80 return graphicsLayer ? scrollingWebLayerForGraphicsLayer(graphicsLayer) : 0; in scrollingWebLayerForScrollableArea() 537 GraphicsLayer* graphicsLayer = compositedLayerMapping->scrollingContentsLayer(); in setTouchEventTargetRects() local 538 if (!graphicsLayer) in setTouchEventTargetRects() 539 graphicsLayer = compositedLayerMapping->mainGraphicsLayer(); in setTouchEventTargetRects() 540 graphicsLayer->platformLayer()->setTouchEventHandlerRegion(webRects); in setTouchEventTargetRects() 552 … GraphicsLayer* graphicsLayer = (*it)->compositedLayerMapping()->scrollingContentsLayer(); in setTouchEventTargetRects() local 553 if (!graphicsLayer) in setTouchEventTargetRects() 554 graphicsLayer = (*it)->compositedLayerMapping()->mainGraphicsLayer(); in setTouchEventTargetRects() 555 graphicsLayer->platformLayer()->setTouchEventHandlerRegion(WebVector<WebRect>()); in setTouchEventTargetRects()
|
/external/chromium_org/third_party/WebKit/Source/core/testing/ |
D | Internals.cpp | 1299 …ndRenderLayerForGraphicsLayer(RenderLayer* searchRoot, GraphicsLayer* graphicsLayer, String* layer… in findRenderLayerForGraphicsLayer() argument 1301 …if (searchRoot->hasCompositedLayerMapping() && graphicsLayer == searchRoot->compositedLayerMapping… in findRenderLayerForGraphicsLayer() 1305 if (graphicsLayer == layerForScrolling) { in findRenderLayerForGraphicsLayer() 1311 if (graphicsLayer == layerForHorizontalScrollbar) { in findRenderLayerForGraphicsLayer() 1317 if (graphicsLayer == layerForVerticalScrollbar) { in findRenderLayerForGraphicsLayer() 1323 if (graphicsLayer == layerForScrollCorner) { in findRenderLayerForGraphicsLayer() 1329 RenderLayer* foundLayer = findRenderLayerForGraphicsLayer(child, graphicsLayer, layerType); in findRenderLayerForGraphicsLayer() 1382 static void accumulateLayerRectList(RenderLayerCompositor* compositor, GraphicsLayer* graphicsLayer… in accumulateLayerRectList() argument 1384 …blink::WebVector<blink::WebRect> layerRects = graphicsLayer->platformLayer()->touchEventHandlerReg… in accumulateLayerRectList() 1388 …rLayer = findRenderLayerForGraphicsLayer(compositor->rootRenderLayer(), graphicsLayer, &layerType); in accumulateLayerRectList() [all …]
|
/external/chromium_org/third_party/WebKit/Source/core/frame/ |
D | FrameView.cpp | 1226 …GraphicsLayer* graphicsLayer = layoutRoot->enclosingLayer()->compositedLayerMapping()->mainGraphic… in gatherDebugLayoutRects() local 1227 if (!graphicsLayer) in gatherDebugLayoutRects() 1239 graphicsLayer->setDebugInfo(debugInfo); in gatherDebugLayoutRects()
|