Lines Matching refs:platformCALayer
30 #include "PlatformCALayer.h"
43 bool PlatformCALayer::isValueFunctionSupported()
48 void PlatformCALayer::setOwner(PlatformCALayerClient* owner)
53 static CFStringRef toCACFLayerType(PlatformCALayer::LayerType type)
55 return (type == PlatformCALayer::LayerTypeTransformLayer) ? kCACFTransformLayer : kCACFLayer;
58 static CFStringRef toCACFFilterType(PlatformCALayer::FilterType type)
61 case PlatformCALayer::Linear: return kCACFFilterLinear;
62 case PlatformCALayer::Nearest: return kCACFFilterNearest;
63 case PlatformCALayer::Trilinear: return kCACFFilterTrilinear;
68 static AbstractCACFLayerTreeHost* layerTreeHostForLayer(const PlatformCALayer* layer)
78 static PlatformCALayerWinInternal* intern(const PlatformCALayer* layer)
88 PassRefPtr<PlatformCALayer> PlatformCALayer::create(LayerType layerType, PlatformCALayerClient* owner)
90 return adoptRef(new PlatformCALayer(layerType, 0, owner));
93 PassRefPtr<PlatformCALayer> PlatformCALayer::create(void* platformLayer, PlatformCALayerClient* owner)
95 return adoptRef(new PlatformCALayer(LayerTypeCustom, static_cast<PlatformLayer*>(platformLayer), owner));
106 PlatformCALayer* layer = PlatformCALayer::platformCALayer(caLayer);
111 PlatformCALayer::PlatformCALayer(LayerType layerType, PlatformLayer* layer, PlatformCALayerClient* owner)
131 PlatformCALayer::~PlatformCALayer()
143 PlatformCALayer* PlatformCALayer::platformCALayer(void* platformLayer)
152 PlatformLayer* PlatformCALayer::platformLayer() const
157 PlatformCALayer* PlatformCALayer::rootLayer() const
163 void PlatformCALayer::setNeedsDisplay(const FloatRect* dirtyRect)
168 void PlatformCALayer::setNeedsCommit()
175 void PlatformCALayer::setContentsChanged()
186 void PlatformCALayer::setNeedsLayout()
195 PlatformCALayer* PlatformCALayer::superlayer() const
197 return platformCALayer(CACFLayerGetSuperlayer(m_layer.get()));
200 void PlatformCALayer::removeFromSuperlayer()
206 void PlatformCALayer::setSublayers(const PlatformCALayerList& list)
211 void PlatformCALayer::removeAllSublayers()
216 void PlatformCALayer::appendSublayer(PlatformCALayer* layer)
222 void PlatformCALayer::insertSublayer(PlatformCALayer* layer, size_t index)
227 void PlatformCALayer::replaceSublayer(PlatformCALayer* reference, PlatformCALayer* newLayer)
249 size_t PlatformCALayer::sublayerCount() const
254 void PlatformCALayer::adoptSublayers(PlatformCALayer* source)
263 void PlatformCALayer::addAnimationForKey(const String& key, PlatformCAAnimation* animation)
278 void PlatformCALayer::removeAnimationForKey(const String& key)
293 PassRefPtr<PlatformCAAnimation> PlatformCALayer::animationForKey(const String& key)
302 PlatformCALayer* PlatformCALayer::mask() const
304 return platformCALayer(CACFLayerGetMask(m_layer.get()));
307 void PlatformCALayer::setMask(PlatformCALayer* layer)
313 bool PlatformCALayer::isOpaque() const
318 void PlatformCALayer::setOpaque(bool value)
324 FloatRect PlatformCALayer::bounds() const
329 void PlatformCALayer::setBounds(const FloatRect& value)
335 FloatPoint3D PlatformCALayer::position() const
341 void PlatformCALayer::setPosition(const FloatPoint3D& value)
348 FloatPoint3D PlatformCALayer::anchorPoint() const
355 void PlatformCALayer::setAnchorPoint(const FloatPoint3D& value)
362 TransformationMatrix PlatformCALayer::transform() const
367 void PlatformCALayer::setTransform(const TransformationMatrix& value)
373 TransformationMatrix PlatformCALayer::sublayerTransform() const
378 void PlatformCALayer::setSublayerTransform(const TransformationMatrix& value)
384 TransformationMatrix PlatformCALayer::contentsTransform() const
390 void PlatformCALayer::setContentsTransform(const TransformationMatrix&)
395 bool PlatformCALayer::isHidden() const
400 void PlatformCALayer::setHidden(bool value)
406 bool PlatformCALayer::isGeometryFlipped() const
411 void PlatformCALayer::setGeometryFlipped(bool value)
417 bool PlatformCALayer::isDoubleSided() const
422 void PlatformCALayer::setDoubleSided(bool value)
428 bool PlatformCALayer::masksToBounds() const
433 void PlatformCALayer::setMasksToBounds(bool value)
439 bool PlatformCALayer::acceleratesDrawing() const
444 void PlatformCALayer::setAcceleratesDrawing(bool)
448 CFTypeRef PlatformCALayer::contents() const
453 void PlatformCALayer::setContents(CFTypeRef value)
459 FloatRect PlatformCALayer::contentsRect() const
464 void PlatformCALayer::setContentsRect(const FloatRect& value)
470 void PlatformCALayer::setMinificationFilter(FilterType value)
475 void PlatformCALayer::setMagnificationFilter(FilterType value)
481 Color PlatformCALayer::backgroundColor() const
486 void PlatformCALayer::setBackgroundColor(const Color& value)
498 float PlatformCALayer::borderWidth() const
503 void PlatformCALayer::setBorderWidth(float value)
509 Color PlatformCALayer::borderColor() const
514 void PlatformCALayer::setBorderColor(const Color& value)
526 float PlatformCALayer::opacity() const
531 void PlatformCALayer::setOpacity(float value)
537 String PlatformCALayer::name() const
542 void PlatformCALayer::setName(const String& value)
549 FloatRect PlatformCALayer::frame() const
554 void PlatformCALayer::setFrame(const FloatRect& value)
560 float PlatformCALayer::speed() const
565 void PlatformCALayer::setSpeed(float value)
571 CFTimeInterval PlatformCALayer::timeOffset() const
576 void PlatformCALayer::setTimeOffset(CFTimeInterval value)
582 float PlatformCALayer::contentsScale() const
587 void PlatformCALayer::setContentsScale(float)
607 static void printLayer(const PlatformCALayer* layer, int indent)
616 case PlatformCALayer::LayerTypeLayer: layerTypeName = "layer"; break;
617 case PlatformCALayer::LayerTypeWebLayer: layerTypeName = "web-layer"; break;
618 case PlatformCALayer::LayerTypeTransformLayer: layerTypeName = "transform-layer"; break;
619 case PlatformCALayer::LayerTypeWebTiledLayer: layerTypeName = "web-tiled-layer"; break;
620 case PlatformCALayer::LayerTypeRootLayer: layerTypeName = "root-layer"; break;
621 case PlatformCALayer::LayerTypeCustom: layerTypeName = "custom-layer"; break;
700 void PlatformCALayer::printTree() const