/macosx-10.10/WebCore-7600.1.25/page/scrolling/cocoa/ |
H A D | ScrollingStateNode.mm | 36 void LayerRepresentation::retainPlatformLayer(PlatformLayer* layer) 38 [layer retain]; 41 void LayerRepresentation::releasePlatformLayer(PlatformLayer* layer) 43 [layer release];
|
/macosx-10.10/WebInspectorUI-7600.1.17/UserInterface/Controllers/ |
H A D | LayerTreeManager.js | 36 LayerTreeDidChange: "layer-tree-did-change" 61 function nodeIdForLayer(layer) 63 return layer.isGeneratedContent ? layer.pseudoElementId : layer.nodeId; 70 previousLayers.forEach(function(layer) { 71 layerIdsInPreviousLayers.push(layer.layerId); 73 var nodeId = nodeIdForLayer(layer); 77 if (layer.isReflection) 90 newLayers.forEach(function(layer) { [all...] |
/macosx-10.10/WebKit2-7600.1.25/Shared/mac/ |
H A D | RemoteLayerTreePropertyApplier.mm | 114 static void updateCustomAppearance(CALayer *layer, GraphicsLayer::CustomAppearance customAppearance) 119 ScrollbarThemeMac::removeOverhangAreaBackground(layer); 120 ScrollbarThemeMac::removeOverhangAreaShadow(layer); 123 ScrollbarThemeMac::setUpOverhangAreaBackground(layer); 126 ScrollbarThemeMac::setUpOverhangAreaShadow(layer); 134 static void applyPropertiesToLayer(CALayer *layer, RemoteLayerTreeHost* layerTreeHost, const RemoteLayerTreeTransaction::LayerProperties& properties) 137 layer.name = properties.name; 140 layer.position = CGPointMake(properties.position.x(), properties.position.y()); 141 layer.zPosition = properties.position.z(); 145 layer [all...] |
/macosx-10.10/WebCore-7600.1.25/rendering/ |
H A D | RenderLayerFilterInfo.cpp | 52 RenderLayer::FilterInfo* RenderLayer::FilterInfo::getIfExists(const RenderLayer& layer) argument 54 ASSERT(layer.m_hasFilterInfo == map().contains(&layer)); 56 return layer.m_hasFilterInfo ? map().get(&layer) : 0; 59 RenderLayer::FilterInfo& RenderLayer::FilterInfo::get(RenderLayer& layer) argument 61 ASSERT(layer.m_hasFilterInfo == map().contains(&layer)); 63 auto& info = map().add(&layer, nullptr).iterator->value; 65 info = std::make_unique<FilterInfo>(layer); 71 remove(RenderLayer& layer) argument 79 FilterInfo(RenderLayer& layer) argument [all...] |
H A D | RenderLayerCompositor.cpp | 91 // During page loading delay layer flushes up to this many seconds to allow them coalesce, reducing workload. 140 // Begin assuming the root layer will be composited so that there is 141 // something on the stack. The root layer should also never get an 146 void add(const RenderLayer* layer, const IntRect& bounds) argument 153 m_layers.add(layer); 156 bool contains(const RenderLayer* layer) argument 158 return m_layers.contains(layer); 396 void RenderLayerCompositor::notifyFlushRequired(const GraphicsLayer* layer) argument 398 scheduleLayerFlush(layer->canThrottleLayerFlush()); 520 // FIXME: Can we make |layer| cons 521 updateScrollingLayerWithClient(RenderLayer& layer, ChromeClient* client) argument 550 didFlushChangesForLayer(RenderLayer& layer, const GraphicsLayer* graphicsLayer) argument 793 layerBecameNonComposited(const RenderLayer& layer) argument 796 InspectorInstrumentation::renderLayerDestroyed(page(), &layer); local 803 logLayerInfo(const RenderLayer& layer, int depth) argument 841 updateBacking(RenderLayer& layer, CompositingChangeRepaint shouldRepaint) argument 945 updateLayerCompositingState(RenderLayer& layer, CompositingChangeRepaint shouldRepaint) argument 957 repaintOnCompositingChange(RenderLayer& layer) argument 977 repaintInCompositedAncestor(RenderLayer& layer, const LayoutRect& rect) argument 1021 addToOverlapMap(OverlapMap& overlapMap, RenderLayer& layer, IntRect& layerBounds, bool& boundsComputed) argument 1049 addToOverlapMapRecursive(OverlapMap& overlapMap, RenderLayer& layer, RenderLayer* ancestorLayer) argument 1089 computeCompositingRequirementsForNamedFlowFixed(RenderLayer& layer, OverlapMap* overlapMap, CompositingState& childState, bool& layersChanged, bool& anyDescendantHas3DTransform) argument 1115 computeCompositingRequirements(RenderLayer* ancestorLayer, RenderLayer& layer, OverlapMap* overlapMap, CompositingState& compositingState, bool& layersChanged, bool& descendantHas3DTransform) argument 1395 removeCompositedChildren(RenderLayer& layer) argument 1412 rebuildCompositingLayerTreeForNamedFlowFixed(RenderLayer& layer, Vector<GraphicsLayer*>& childGraphicsLayersOfEnclosingLayer, int depth) argument 1429 rebuildCompositingLayerTree(RenderLayer& layer, Vector<GraphicsLayer*>& childLayersOfEnclosingLayer, int depth) argument 1639 scrollingLayerDidChange(RenderLayer& layer) argument 1724 updateLayerTreeGeometry(RenderLayer& layer, int depth) argument 1777 updateCompositingDescendantGeometry(RenderLayer& compositingAncestor, RenderLayer& layer, bool compositedChildrenOnly) argument 1839 recursiveRepaintLayer(RenderLayer& layer) argument 1905 setIsInWindowForLayerIncludingDescendants(RenderLayer& layer, bool isInWindow) argument 1947 clearBackingForLayerIncludingDescendants(RenderLayer& layer) argument 2041 needsToBeComposited(const RenderLayer& layer, RenderLayer::ViewportConstrainedNotCompositedReason* viewportConstrainedNotCompositedReason) const argument 2052 requiresCompositingLayer(const RenderLayer& layer, RenderLayer::ViewportConstrainedNotCompositedReason* viewportConstrainedNotCompositedReason) const argument 2093 requiresOwnBackingStore(const RenderLayer& layer, const RenderLayer* compositingAncestorLayer, const LayoutRect& layerCompositedBoundsInAncestor, const LayoutRect& ancestorCompositedBounds) const argument 2237 logReasonsForCompositing(const RenderLayer& layer) argument 2505 RenderLayer& layer = *toRenderBoxModelObject(renderer).layer(); local 2545 isAsyncScrollableStickyLayer(const RenderLayer& layer, const RenderLayer** enclosingAcceleratedOverflowLayer) const argument 2593 useCoordinatedScrollingForLayer(RenderView& view, const RenderLayer& layer) argument 2605 requiresCompositingForPosition(RenderLayerModelObject& renderer, const RenderLayer& layer, RenderLayer::ViewportConstrainedNotCompositedReason* viewportConstrainedNotCompositedReason) const argument 2857 RenderLayer* layer = m_renderView.layer(); local 3435 RenderLayer* layer = m_renderView.layer(); local 3519 updateScrollCoordinatedStatus(RenderLayer& layer) argument 3537 removeFromScrollCoordinatedLayers(RenderLayer& layer) argument 3609 enclosingScrollingNodeID(RenderLayer& layer, IncludeSelfOrNot includeSelf) argument 3668 attachScrollingNode(RenderLayer& layer, ScrollingNodeType nodeType, ScrollingNodeID parentNodeID) argument 3696 updateScrollCoordinatedLayer(RenderLayer& layer, ScrollCoordinationReasons reasons) argument 3779 detachScrollCoordinatedLayer(RenderLayer& layer) argument 3819 RenderLayer& layer = **it; local 3875 RenderLayer& layer = **it; local 3883 willRemoveScrollingLayerWithBacking(RenderLayer& layer, RenderLayerBacking& backing) argument 3908 didAddScrollingLayer(RenderLayer& layer) argument [all...] |
/macosx-10.10/WebCore-7600.1.25/platform/graphics/mac/ |
H A D | WebLayer.mm | 56 PlatformCALayer* layer = PlatformCALayer::platformCALayer(self); 57 if (layer) { 58 PlatformCALayer::RepaintRectList rectsToPaint = PlatformCALayer::collectRectsToPaint(context, layer); 59 PlatformCALayer::drawLayerContents(context, layer, rectsToPaint); 69 // Fix for <rdar://problem/9015675>: Force the layer content to be updated when the tree is reparented. 78 PlatformCALayer* layer = PlatformCALayer::platformCALayer(self); 79 if (layer && layer->owner() && layer->owner()->platformCALayerDrawsContent()) 111 PlatformCALayer* layer [all...] |
H A D | WebTiledLayer.mm | 75 PlatformCALayer* layer = PlatformCALayer::platformCALayer(self); 76 if (layer && layer->owner() && layer->owner()->platformCALayerDrawsContent()) 117 PlatformCALayer* layer = PlatformCALayer::platformCALayer(self); 118 if (layer && layer->owner()) 119 layer->owner()->platformCALayerLayerDidDisplay(self); 127 PlatformCALayer* layer = PlatformCALayer::platformCALayer(self); 128 if (layer) [all...] |
/macosx-10.10/WebInspectorUI-7600.1.17/UserInterface/Views/ |
H A D | LayerTreeSidebarPanel.css | 26 .layer-tree.panel .data-grid { 32 .layer-tree.panel .name-column .icon { 36 .layer-tree.panel tr.reflection .name-column .icon { 40 .layer-tree.panel tr.pseudo-element .name-column .icon { 44 .layer-tree.panel .name-column .pseudo-element, 45 .layer-tree.panel .name-column .reflection { 49 .layer-tree.panel tr.selected .name-column .pseudo-element, 50 .layer-tree.panel tr.selected .name-column .reflection { 54 .layer-tree.panel .bottom-bar { 60 body.mac-platform.legacy .layer [all...] |
H A D | LayerTreeDataGridNode.js | 26 WebInspector.LayerTreeDataGridNode = function(layer) 32 this.layer = layer; 56 get layer() 61 set layer(layer) 63 this._layer = layer; 65 var domNode = WebInspector.domTreeManager.nodeForId(layer.nodeId); 69 paintCount: layer.paintCount || "\u2014", 70 memory: Number.bytesToString(layer [all...] |
/macosx-10.10/WebKit2-7600.1.25/UIProcess/API/CoordinatedGraphics/ |
H A D | WKCoordinatedScene.cpp | 43 WK_EXPORT uint32_t WKCoordinatedSceneGetLayerID(WKCoordinatedSceneLayer layer) argument 45 return toImpl(layer)->id(); 48 WK_EXPORT void WKCoordinatedSceneScrollBy(WKCoordinatedSceneLayer layer, WKSize offset) argument 50 toImpl(layer)->scrollBy(WebCore::FloatSize(offset.width, offset.height));
|
/macosx-10.10/WebKit2-7600.1.25/UIProcess/CoordinatedGraphics/ |
H A D | WKCoordinatedSceneAPICast.h | 50 inline WebCore::TextureMapperLayer* toImpl(WKCoordinatedSceneLayer layer) argument 52 return reinterpret_cast<WebCore::TextureMapperLayer*>(layer); 55 inline WKCoordinatedSceneLayer toAPI(WebCore::TextureMapperLayer* layer) argument 57 return reinterpret_cast<WKCoordinatedSceneLayer>(layer);
|
/macosx-10.10/pyobjc-45/2.5/pyobjc/pyobjc-framework-Quartz/PyObjCTest/ |
H A D | test_cglayer.py | 31 layer = CGLayerCreateWithContext(self.context, CGSize(50, 100), None) 32 self.failUnlessIsInstance(layer, CGLayerRef) 34 v = CGLayerRetain(layer) 35 self.failUnless(v is layer) 36 CGLayerRelease(layer) 38 sz = CGLayerGetSize(layer) 43 ctx = CGLayerGetContext(layer) 47 CGContextDrawLayerInRect(self.context, CGRectMake(0, 0, 50, 50), layer) 48 CGContextDrawLayerAtPoint(self.context, CGPoint(10, 10), layer)
|
/macosx-10.10/pyobjc-45/2.6/pyobjc/pyobjc-framework-Quartz/PyObjCTest/ |
H A D | test_cglayer.py | 32 layer = CGLayerCreateWithContext(self.context, CGSize(50, 100), None) 33 self.assertIsInstance(layer, CGLayerRef) 35 v = CGLayerRetain(layer) 36 self.assertTrue(v is layer) 37 CGLayerRelease(layer) 39 sz = CGLayerGetSize(layer) 44 ctx = CGLayerGetContext(layer) 48 CGContextDrawLayerInRect(self.context, CGRectMake(0, 0, 50, 50), layer) 49 CGContextDrawLayerAtPoint(self.context, CGPoint(10, 10), layer)
|
/macosx-10.10/pyobjc-45/pyobjc/pyobjc-framework-Quartz-2.5.1/PyObjCTest/ |
H A D | test_cglayer.py | 37 layer = CGLayerCreateWithContext(self.context, CGSize(50, 100), None) 38 self.assertIsInstance(layer, CGLayerRef) 40 v = CGLayerRetain(layer) 41 self.assertTrue(v is layer) 42 CGLayerRelease(layer) 44 sz = CGLayerGetSize(layer) 49 ctx = CGLayerGetContext(layer) 53 CGContextDrawLayerInRect(self.context, CGRectMake(0, 0, 50, 50), layer) 54 CGContextDrawLayerAtPoint(self.context, CGPoint(10, 10), layer)
|
/macosx-10.10/WebCore-7600.1.25/platform/ios/ |
H A D | LegacyTileGridTile.mm | 59 NSLog(@"unable to reuse layer with size %d x %d, creating one", pixelSize.width(), pixelSize.height()); 63 LegacyTileLayer* layer = m_tileLayer.get(); 64 [layer setTileGrid:tileGrid]; 65 [layer setOpaque:m_tileGrid->tileCache()->tilesOpaque()]; 66 [layer setEdgeAntialiasingMask:0]; 67 [layer setNeedsLayoutOnGeometryChange:NO]; 68 [layer setContentsScale:screenScale]; 69 [layer setAcceleratesDrawing:m_tileGrid->tileCache()->acceleratedDrawingEnabled()]; 71 // Host layer may have other sublayers. Keep the tile layers at the beginning of the array 73 [tileGrid->tileHostLayer() insertSublayer:layer atInde [all...] |
/macosx-10.10/WebKit2-7600.1.25/UIProcess/Cocoa/ |
H A D | LayerRepresentation.h | 42 inline CALayer *asLayer(LayerOrView *layer) argument 44 return layer;
|
/macosx-10.10/WebKit2-7600.1.25/UIProcess/ios/ |
H A D | LayerRepresentation.mm | 33 return view.layer;
|
/macosx-10.10/WebKit2-7600.1.25/WebProcess/WebPage/mac/ |
H A D | RemoteLayerTreeContext.mm | 52 for (auto& layer : m_liveLayers.values()) 53 layer->clearContext(); 56 void RemoteLayerTreeContext::layerWasCreated(PlatformCALayerRemote& layer, PlatformCALayer::LayerType type) 58 GraphicsLayer::PlatformLayerID layerID = layer.layerID(); 64 if (layer.isPlatformCALayerRemoteCustom()) 65 creationProperties.hostingContextID = layer.hostingContextID(); 68 m_liveLayers.add(layerID, &layer); 71 void RemoteLayerTreeContext::layerWillBeDestroyed(PlatformCALayerRemote& layer) 73 ASSERT(layer.layerID()); 74 GraphicsLayer::PlatformLayerID layerID = layer [all...] |
/macosx-10.10/WebKit2-7600.1.25/UIProcess/mac/ |
H A D | RemoteLayerTreeHost.mm | 81 LayerOrView *layer = getLayer(layerID); 82 ASSERT(layer); 97 RemoteLayerTreePropertyApplier::applyProperties(layer, this, properties, relatedLayers); 100 asLayer(layer).borderWidth = properties.borderWidth / indicatorScaleFactor; 101 asLayer(layer).masksToBounds = false; 103 RemoteLayerTreePropertyApplier::applyProperties(layer, this, properties, relatedLayers); 107 LayerOrView *layer = getLayer(layerPair.first); 109 asLayer(layer).contents = asLayer(clonedLayer).contents; 139 CALayer *layer = asLayer(getLayer(layerID)); 140 if (!layer) [all...] |
/macosx-10.10/WebCore-7600.1.25/page/scrolling/coordinatedgraphics/ |
H A D | ScrollingCoordinatorCoordinatedGraphics.cpp | 65 toCoordinatedGraphicsLayer(node->layer())->setFixedToViewport(false); 99 CoordinatedGraphicsLayer* layer = toCoordinatedGraphicsLayer(scrollLayerForScrollableArea(scrollableArea)); local 100 if (!layer) 103 layer->setScrollableArea(scrollableArea); 108 CoordinatedGraphicsLayer* layer = toCoordinatedGraphicsLayer(scrollLayerForScrollableArea(scrollableArea)); local 109 if (!layer) 112 layer->setScrollableArea(0);
|
/macosx-10.10/WebKit2-7600.1.25/Shared/ |
H A D | WebRenderLayer.cpp | 57 RenderLayer* rootLayer = contentRenderer->layer(); 77 for (const auto& layer : *list) 78 layers.uncheckedAppend(adoptRef(new WebRenderLayer(layer))); 83 WebRenderLayer::WebRenderLayer(RenderLayer* layer) argument 85 m_renderer = WebRenderObject::create(&layer->renderer()); 86 m_isReflection = layer->isReflection(); 88 if (layer->isComposited()) { 89 RenderLayerBacking* backing = layer->backing(); 112 m_absoluteBoundingBox = layer->absoluteBoundingBox(); 114 m_negativeZOrderList = createArrayFromLayerList(layer [all...] |
/macosx-10.10/WebKit2-7600.1.25/UIProcess/API/Cocoa/ |
H A D | _WKThumbnailView.mm | 67 self.layer.backgroundColor = [NSColor whiteColor].CGColor; 84 self.layer.contents = nil; 104 if (self.layer.contents && _lastSnapshotScale == _scale) 130 self.layer.sublayers = @[]; 131 self.layer.contentsGravity = kCAGravityResizeAspectFill; 132 self.layer.contents = (id)image; 158 self.layer.sublayerTransform = CATransform3DMakeScale(_scale, _scale, 1); 171 - (void)_setThumbnailLayer:(CALayer *)layer 173 self.layer.sublayers = layer [all...] |
/macosx-10.10/WebKit-7600.1.25/mac/WebView/ |
H A D | WebRenderLayer.mm | 43 - (id)initWithRenderLayer:(RenderLayer *)layer; 50 + (NSString *)nameForLayer:(RenderLayer*)layer 52 const RenderObject& renderer = layer->renderer(); 71 if (layer->isReflection()) 77 + (NSString *)compositingInfoForLayer:(RenderLayer*)layer 79 if (!layer->isComposited()) 83 RenderLayerBacking* backing = layer->backing(); 89 layerType = @"composited: tiled layer"; 95 layerType = @"composited: container layer"; 108 - (id)initWithRenderLayer:(RenderLayer*)layer [all...] |
/macosx-10.10/WebCore-7600.1.25/platform/graphics/ca/win/ |
H A D | PlatformCAFiltersWin.cpp | 34 void PlatformCAFilters::setFiltersOnLayer(PlatformLayer* layer, const FilterOperations& filters) argument
|
/macosx-10.10/WebCore-7600.1.25/platform/graphics/cocoa/ |
H A D | WebActionDisablingCALayerDelegate.mm | 43 - (id<CAAction>)actionForLayer:(CALayer *)layer forKey:(NSString *)event 45 UNUSED_PARAM(layer);
|