/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
GraphicsLayer.h | 62 class GraphicsLayer; 79 typedef Vector<GraphicsLayer*, 64> GraphicsLayerVector; 81 // GraphicsLayer is an abstraction for a rendering surface with backing store, 84 class PLATFORM_EXPORT GraphicsLayer : public GraphicsContextPainter, public blink::WebAnimationDelegate, public blink::WebLayerScrollClient, public blink::WebLayerClient { 85 WTF_MAKE_NONCOPYABLE(GraphicsLayer); WTF_MAKE_FAST_ALLOCATED; 87 static PassOwnPtr<GraphicsLayer> create(GraphicsLayerFactory*, GraphicsLayerClient*); 89 virtual ~GraphicsLayer(); 102 GraphicsLayer* parent() const { return m_parent; }; 103 void setParent(GraphicsLayer*); // Internal use only. 105 const Vector<GraphicsLayer*>& children() const { return m_children; [all...] |
ImageLayerChromiumTest.cpp | 28 #include "platform/graphics/GraphicsLayer.h" 41 virtual void notifyAnimationStarted(const GraphicsLayer*, double monotonicTime) OVERRIDE { } 42 virtual void paintContents(const GraphicsLayer*, GraphicsContext&, GraphicsLayerPaintingPhase, const IntRect& inClip) OVERRIDE { } 43 virtual String debugName(const GraphicsLayer*) OVERRIDE { return String(); } 102 class GraphicsLayerForTesting : public GraphicsLayer { 105 : GraphicsLayer(client) { }; 107 virtual blink::WebLayer* contentsLayer() const { return GraphicsLayer::contentsLayer(); } 113 OwnPtr<GraphicsLayerForTesting> graphicsLayer = adoptPtr(new GraphicsLayerForTesting(&client)); 114 ASSERT_TRUE(graphicsLayer.get()); 121 ASSERT_FALSE(graphicsLayer->contentsLayer()) [all...] |
GraphicsLayer.cpp | 28 #include "platform/graphics/GraphicsLayer.h" 69 typedef HashMap<const GraphicsLayer*, Vector<FloatRect> > RepaintMap; 76 PassOwnPtr<GraphicsLayer> GraphicsLayer::create(GraphicsLayerFactory* factory, GraphicsLayerClient* client) 81 GraphicsLayer::GraphicsLayer(GraphicsLayerClient* client) 120 GraphicsLayer::~GraphicsLayer() 144 void GraphicsLayer::setParent(GraphicsLayer* layer [all...] |
GraphicsLayerClient.h | 36 class GraphicsLayer; 67 virtual void notifyAnimationStarted(const GraphicsLayer*, double monotonicTime) = 0; 69 virtual void paintContents(const GraphicsLayer*, GraphicsContext&, GraphicsLayerPaintingPhase, const IntRect& inClip) = 0; 72 virtual String debugName(const GraphicsLayer*) = 0; 77 // This is executed in GraphicsLayer construction and destruction
|
GraphicsLayerFactory.h | 34 class GraphicsLayer; 41 virtual PassOwnPtr<GraphicsLayer> createGraphicsLayer(GraphicsLayerClient*) = 0;
|
GraphicsLayerTest.cpp | 27 #include "platform/graphics/GraphicsLayer.h" 51 virtual void notifyAnimationStarted(const GraphicsLayer*, double monotonicTime) OVERRIDE { } 52 virtual void paintContents(const GraphicsLayer*, GraphicsContext&, GraphicsLayerPaintingPhase, const IntRect& inClip) OVERRIDE { } 53 virtual String debugName(const GraphicsLayer*) OVERRIDE { return String(); } 56 class GraphicsLayerForTesting : public GraphicsLayer { 59 : GraphicsLayer(client) { }; 61 virtual blink::WebLayer* contentsLayer() const { return GraphicsLayer::contentsLayer(); }
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/compositing/ |
CompositedLayerMapping.h | 33 #include "platform/graphics/GraphicsLayer.h" 40 // A GraphicsLayerPaintInfo contains all the info needed to paint a partial subtree of RenderLayers into a GraphicsLayer. 49 // Offset describing where this squashed RenderLayer paints into the shared GraphicsLayer backing. 80 // and paint phases contribute to each GraphicsLayer. 101 GraphicsLayer* mainGraphicsLayer() const { return m_graphicsLayer.get(); } 105 GraphicsLayer* clippingLayer() const { return m_childContainmentLayer.get(); } 109 GraphicsLayer* ancestorClippingLayer() const { return m_ancestorClippingLayer.get(); } 112 GraphicsLayer* foregroundLayer() const { return m_foregroundLayer.get(); } 114 GraphicsLayer* backgroundLayer() const { return m_backgroundLayer.get(); } 118 GraphicsLayer* scrollingLayer() const { return m_scrollingLayer.get(); [all...] |
RenderLayerCompositor.h | 37 class GraphicsLayer; 106 // Whether layer's compositedLayerMapping needs a GraphicsLayer to clip z-order children of the given RenderLayer. 114 GraphicsLayer* fixedRootBackgroundLayer() const; 124 GraphicsLayer* rootGraphicsLayer() const; 125 GraphicsLayer* scrollLayer() const; 126 GraphicsLayer* containerLayer() const; 130 GraphicsLayer* ensureRootTransformLayer(); 159 GraphicsLayer* layerForHorizontalScrollbar() const { return m_layerForHorizontalScrollbar.get(); } 160 GraphicsLayer* layerForVerticalScrollbar() const { return m_layerForVerticalScrollbar.get(); } 161 GraphicsLayer* layerForScrollCorner() const { return m_layerForScrollCorner.get(); [all...] |
RenderLayerCompositor.cpp | 55 #include "platform/graphics/GraphicsLayer.h" 272 GraphicsLayer* backgroundLayer = fixedRootBackgroundLayer(); 279 GraphicsLayer* videoLayer = video->compositedLayerMapping()->mainGraphicsLayer(); 291 if (GraphicsLayer* backgroundLayer = fixedRootBackgroundLayer()) 421 // If we're removing the compositedLayerMapping from a reflection, clear the source GraphicsLayer's pointer to 422 // its replica GraphicsLayer. In practice this should never happen because reflectee and reflection 611 if (GraphicsLayer* backgroundLayer = fixedRootBackgroundLayer()) 632 GraphicsLayer* rootLayer = m_rootContentLayer.get(); 671 GraphicsLayer* hostingLayer = compositedLayerMapping->parentForSublayers(); 672 GraphicsLayer* rootLayer = innerCompositor->rootGraphicsLayer() [all...] |
CompositedLayerMapping.cpp | 206 PassOwnPtr<GraphicsLayer> CompositedLayerMapping::createGraphicsLayer(CompositingReasons reasons) 212 OwnPtr<GraphicsLayer> graphicsLayer = GraphicsLayer::create(graphicsLayerFactory, this); 214 graphicsLayer->setCompositingReasons(reasons); 216 graphicsLayer->setOwnerNodeId(InspectorNodeIds::idForNode(owningNode)); 218 return graphicsLayer.release(); 421 // that's plugged into another GraphicsLayer that is part of the hierarchy. 422 // It has no parent or child GraphicsLayer. For that reason, we process it 450 GraphicsLayer* reflectionLayer = m_owningLayer.reflectionInfo()->reflectionLayer()->compositedLayerMapping()->ma (…) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/frame/ |
PinchViewport.h | 53 class GraphicsLayer; 61 // offset is set through the GraphicsLayer <-> CC sync mechanisms. Its contents is the page's 69 void attachToLayerTree(GraphicsLayer*, GraphicsLayerFactory*); 70 GraphicsLayer* rootGraphicsLayer() 74 GraphicsLayer* containerLayer() 132 virtual GraphicsLayer* layerForContainer() const OVERRIDE; 133 virtual GraphicsLayer* layerForScrolling() const OVERRIDE; 134 virtual GraphicsLayer* layerForHorizontalScrollbar() const OVERRIDE; 135 virtual GraphicsLayer* layerForVerticalScrollbar() const OVERRIDE; 138 virtual void notifyAnimationStarted(const GraphicsLayer*, double monotonicTime) OVERRIDE [all...] |
PinchViewport.cpp | 46 #include "platform/graphics/GraphicsLayer.h" 61 using WebCore::GraphicsLayer; 212 void PinchViewport::attachToLayerTree(GraphicsLayer* currentLayerTreeRoot, GraphicsLayerFactory* graphicsLayerFactory) 230 m_rootTransformLayer = GraphicsLayer::create(graphicsLayerFactory, this); 231 m_innerViewportContainerLayer = GraphicsLayer::create(graphicsLayerFactory, this); 232 m_pageScaleLayer = GraphicsLayer::create(graphicsLayerFactory, this); 233 m_innerViewportScrollLayer = GraphicsLayer::create(graphicsLayerFactory, this); 234 m_overlayScrollbarHorizontal = GraphicsLayer::create(graphicsLayerFactory, this); 235 m_overlayScrollbarVertical = GraphicsLayer::create(graphicsLayerFactory, this); 273 // if (GraphicsLayer* scrollbar = m_frameHost->compositor()->layerForHorizontalScrollbar() [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/ |
repaint_overlay_unittest.py | 12 (GraphicsLayer 15 (GraphicsLayer 29 (GraphicsLayer 32 (GraphicsLayer
|
/external/chromium_org/third_party/WebKit/Source/core/inspector/ |
InspectorLayerTreeAgent.cpp | 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)) [all...] |
InspectorLayerTreeAgent.h | 65 void willAddPageOverlay(const GraphicsLayer*); 66 void didRemovePageOverlay(const GraphicsLayer*); 70 void didPaint(RenderObject*, const GraphicsLayer*, GraphicsContext*, const LayoutRect&); 92 GraphicsLayer* layerById(ErrorString*, const String& layerId); 97 void gatherGraphicsLayers(GraphicsLayer*, HashMap<int, int>& layerIdToNodeIdMap, RefPtr<TypeBuilder::Array<TypeBuilder::LayerTree::Layer> >&);
|
/external/chromium_org/third_party/WebKit/Source/platform/ |
OverscrollTheme.h | 31 #include "platform/graphics/GraphicsLayer.h" 43 virtual void setUpOverhangShadowLayer(GraphicsLayer*); 44 virtual void updateOverhangShadowLayer(GraphicsLayer* shadowLayer, GraphicsLayer* rootContentLayer);
|
OverscrollTheme.cpp | 46 void OverscrollTheme::setUpOverhangShadowLayer(GraphicsLayer* overhangShadowLayer) 55 void OverscrollTheme::updateOverhangShadowLayer(GraphicsLayer* shadowLayer, GraphicsLayer* rootContentLayer)
|
/external/chromium_org/third_party/WebKit/Source/web/ |
GraphicsLayerFactoryChromium.cpp | 29 #include "platform/graphics/GraphicsLayer.h" 45 PassOwnPtr<GraphicsLayer> GraphicsLayerFactoryChromium::createGraphicsLayer(GraphicsLayerClient* client) 47 OwnPtr<GraphicsLayer> layer = adoptPtr(new GraphicsLayer(client));
|
PageOverlay.h | 37 class GraphicsLayer; 63 WebCore::GraphicsLayer* graphicsLayer() const { return m_layer.get(); } 72 OwnPtr<WebCore::GraphicsLayer> m_layer;
|
PageOverlayList.h | 38 class GraphicsLayer; 62 size_t findGraphicsLayer(WebCore::GraphicsLayer*);
|
/external/chromium_org/third_party/WebKit/Source/web/painting/ |
ContinuousPainter.cpp | 33 #include "platform/graphics/GraphicsLayer.h" 40 void ContinuousPainter::setNeedsDisplayRecursive(GraphicsLayer* layer, PageOverlayList* pageOverlays) 55 const Vector<GraphicsLayer*>& children = layer->children(); 56 Vector<GraphicsLayer*>::const_iterator it;
|
/external/chromium_org/third_party/WebKit/Source/platform/scroll/ |
ScrollableArea.cpp | 35 #include "platform/graphics/GraphicsLayer.h" 106 GraphicsLayer* ScrollableArea::layerForContainer() const 356 if (GraphicsLayer* graphicsLayer = layerForHorizontalScrollbar()) { 357 graphicsLayer->setNeedsDisplay(); 358 graphicsLayer->setContentsNeedsDisplay(); 362 if (GraphicsLayer* graphicsLayer = layerForVerticalScrollbar()) { 363 graphicsLayer->setNeedsDisplay(); 364 graphicsLayer->setContentsNeedsDisplay() [all...] |
/external/chromium_org/third_party/WebKit/Source/core/page/scrolling/ |
ScrollingCoordinator.cpp | 50 #include "platform/graphics/GraphicsLayer.h" 72 WebLayer* toWebLayer(WebCore::GraphicsLayer* layer) 188 void ScrollingCoordinator::setLayerIsContainerForFixedPositionLayers(GraphicsLayer* layer, bool enable) 194 static void clearPositionConstraintExceptForLayer(GraphicsLayer* layer, GraphicsLayer* except) 213 // Composited layers that inherit a fixed position state will be positioned with respect to the nearest compositedLayerMapping's GraphicsLayer. 223 GraphicsLayer* mainLayer = compositedLayerMapping->localRootForOwningLayer(); 243 GraphicsLayer::unregisterContentsLayer(scrollbarLayer->layer()); 253 GraphicsLayer::registerContentsLayer(scrollbarLayer->layer()); 261 GraphicsLayer::registerContentsLayer(scrollbarLayer->layer()) [all...] |
ScrollingCoordinator.h | 47 class GraphicsLayer; 101 void setLayerIsContainerForFixedPositionLayers(GraphicsLayer*, bool); 106 void updateScrollParentForGraphicsLayer(GraphicsLayer* child, RenderLayer* parent); 107 void updateClipParentForGraphicsLayer(GraphicsLayer* child, RenderLayer* parent);
|
/external/chromium_org/third_party/WebKit/Source/core/testing/ |
LayerRect.idl | 40 /* Offset of the associated node from the GraphicsLayer */ 43 /* Rectange in the GraphicsLayer co-ordinate space */
|