Lines Matching refs:ts

397 static void writeIndent(TextStream& ts, int indent)
400 ts << " ";
403 void GraphicsLayer::dumpLayer(TextStream& ts, int indent, LayerTreeAsTextBehavior behavior) const
405 writeIndent(ts, indent);
406 ts << "(" << "GraphicsLayer";
409 ts << " " << static_cast<void*>(const_cast<GraphicsLayer*>(this));
410 ts << " \"" << m_name << "\"";
413 ts << "\n";
414 dumpProperties(ts, indent, behavior);
415 writeIndent(ts, indent);
416 ts << ")\n";
419 void GraphicsLayer::dumpProperties(TextStream& ts, int indent, LayerTreeAsTextBehavior behavior) const
422 writeIndent(ts, indent + 1);
423 ts << "(position " << m_position.x() << " " << m_position.y() << ")\n";
427 writeIndent(ts, indent + 1);
428 ts << "(anchor " << m_anchorPoint.x() << " " << m_anchorPoint.y() << ")\n";
432 writeIndent(ts, indent + 1);
433 ts << "(bounds " << m_size.width() << " " << m_size.height() << ")\n";
437 writeIndent(ts, indent + 1);
438 ts << "(opacity " << m_opacity << ")\n";
442 writeIndent(ts, indent + 1);
443 ts << "(usingTiledLayer " << m_usingTiledLayer << ")\n";
447 writeIndent(ts, indent + 1);
448 ts << "(preserves3D " << m_preserves3D << ")\n";
452 writeIndent(ts, indent + 1);
453 ts << "(drawsContent " << m_drawsContent << ")\n";
457 writeIndent(ts, indent + 1);
458 ts << "(backfaceVisibility " << (m_backfaceVisibility ? "visible" : "hidden") << ")\n";
462 writeIndent(ts, indent + 1);
463 ts << "(";
465 ts << "client " << static_cast<void*>(m_client);
467 ts << "no client";
468 ts << ")\n";
472 writeIndent(ts, indent + 1);
473 ts << "(backgroundColor " << m_backgroundColor.nameForRenderTreeAsText() << ")\n";
477 writeIndent(ts, indent + 1);
478 ts << "(transform ";
479 ts << "[" << m_transform.m11() << " " << m_transform.m12() << " " << m_transform.m13() << " " << m_transform.m14() << "] ";
480 ts << "[" << m_transform.m21() << " " << m_transform.m22() << " " << m_transform.m23() << " " << m_transform.m24() << "] ";
481 ts << "[" << m_transform.m31() << " " << m_transform.m32() << " " << m_transform.m33() << " " << m_transform.m34() << "] ";
482 ts << "[" << m_transform.m41() << " " << m_transform.m42() << " " << m_transform.m43() << " " << m_transform.m44() << "])\n";
488 writeIndent(ts, indent + 1);
489 ts << "(childrenTransform ";
490 ts << "[" << m_childrenTransform.m11() << " " << m_childrenTransform.m12() << " " << m_childrenTransform.m13() << " " << m_childrenTransform.m14() << "] ";
491 ts << "[" << m_childrenTransform.m21() << " " << m_childrenTransform.m22() << " " << m_childrenTransform.m23() << " " << m_childrenTransform.m24() << "] ";
492 ts << "[" << m_childrenTransform.m31() << " " << m_childrenTransform.m32() << " " << m_childrenTransform.m33() << " " << m_childrenTransform.m34() << "] ";
493 ts << "[" << m_childrenTransform.m41() << " " << m_childrenTransform.m42() << " " << m_childrenTransform.m43() << " " << m_childrenTransform.m44() << "])\n";
497 writeIndent(ts, indent + 1);
498 ts << "(replica layer";
500 ts << " " << m_replicaLayer;
501 ts << ")\n";
502 m_replicaLayer->dumpLayer(ts, indent + 2, behavior);
506 writeIndent(ts, indent + 1);
507 ts << "(replicated layer";
509 ts << " " << m_replicatedLayer;;
510 ts << ")\n";
514 writeIndent(ts, indent + 1);
515 ts << "(children " << m_children.size() << "\n";
519 m_children[i]->dumpLayer(ts, indent + 2, behavior);
520 writeIndent(ts, indent + 1);
521 ts << ")\n";
527 TextStream ts;
529 dumpLayer(ts, 0, behavior);
530 return ts.release();