Home | History | Annotate | Download | only in mac

Lines Matching refs:layer

43 void drawLayerContents(CGContextRef context, CALayer *layer, WebCore::PlatformCALayer* platformLayer)
51 CGRect layerBounds = [layer bounds];
74 // smaller than the layer bounds (e.g. tiled layers)
82 bool isTiledLayer = [layer isKindOfClass:[CATiledLayer class]];
111 void setLayerNeedsDisplayInRect(CALayer *layer, WebCore::PlatformCALayerClient* layerContents, CGRect rect)
114 struct objc_super layerSuper = { layer, class_getSuperclass(object_getClass(layer)) };
116 rect = CGRectApplyAffineTransform(rect, [layer contentsTransform]);
119 rect.origin.y = [layer bounds].size.height - rect.origin.y - rect.size.height;
125 CGRect bounds = [layer bounds];
128 indicatorRect = CGRectApplyAffineTransform(indicatorRect, [layer contentsTransform]);
131 indicatorRect.origin.y = [layer bounds].size.height - indicatorRect.origin.y - indicatorRect.size.height;
148 PlatformCALayer* layer = PlatformCALayer::platformCALayer(self);
149 if (layer && layer->owner() && layer->owner()->platformCALayerDrawsContent())
155 PlatformCALayer* layer = PlatformCALayer::platformCALayer(self);
156 if (layer)
157 setLayerNeedsDisplayInRect(self, layer->owner(), dirtyRect);
163 PlatformCALayer* layer = PlatformCALayer::platformCALayer(self);
164 if (layer && layer->owner())
165 layer->owner()->platformCALayerLayerDidDisplay(self);
170 PlatformCALayer* layer = PlatformCALayer::platformCALayer(self);
171 if (layer)
172 drawLayerContents(context, self, layer);