Lines Matching refs:props

48             TestUtils::createNode(0, 0, 200, 400, [](RenderProperties& props, Canvas& canvas) {  in TEST()  argument
75 [expectedDrawOrder, z](RenderProperties& props, SkiaRecordingCanvas& canvas) { in drawOrderedNode() argument
77 props.setTranslationZ(z); in drawOrderedNode()
84 std::function<void(RenderProperties& props, SkiaRecordingCanvas& canvas)> setup) { in drawOrderedNode() argument
87 [expectedDrawOrder, setup](RenderProperties& props, SkiaRecordingCanvas& canvas) { in drawOrderedNode() argument
90 setup(props, canvas); in drawOrderedNode()
112 auto parent = TestUtils::createSkiaNode(0, 0, 100, 100, [](RenderProperties& props, in TEST()
152 0, 0, 1, 1, [](RenderProperties& props, SkiaRecordingCanvas& recorder) { in TEST() argument
198 0, 0, 400, 800, [](RenderProperties& props, SkiaRecordingCanvas& recorder) { in TEST() argument
662 auto nodeA = TestUtils::createSkiaNode(0, 0, 100, 100, [](RenderProperties& props, in RENDERTHREAD_TEST()
664 drawOrderedNode(&canvas, 0, [](RenderProperties& props, SkiaRecordingCanvas& canvas) { in RENDERTHREAD_TEST() argument
665 props.setProjectionReceiver(true); in RENDERTHREAD_TEST()
667 drawOrderedNode(&canvas, 2, [](RenderProperties& props, SkiaRecordingCanvas& canvas) { in RENDERTHREAD_TEST() argument
668 drawOrderedNode(&canvas, 1, [](RenderProperties& props, SkiaRecordingCanvas& canvas) { in RENDERTHREAD_TEST() argument
669 props.setProjectBackwards(true); in RENDERTHREAD_TEST()
670 props.setClipToBounds(false); in RENDERTHREAD_TEST()
686 auto nodeA = TestUtils::createSkiaNode(0, 0, 100, 100, [](RenderProperties& props, in RENDERTHREAD_TEST()
689 drawOrderedNode(&canvas, 1, [](RenderProperties& props, SkiaRecordingCanvas& canvas) { in RENDERTHREAD_TEST() argument
690 drawOrderedNode(&canvas, 3, [](RenderProperties& props, in RENDERTHREAD_TEST()
692 props.setProjectBackwards(true); in RENDERTHREAD_TEST()
693 props.setClipToBounds(false); in RENDERTHREAD_TEST()
697 [](RenderProperties& props, SkiaRecordingCanvas& canvas) { // drawn as 3 in RENDERTHREAD_TEST() argument
698 props.setProjectionReceiver(true); in RENDERTHREAD_TEST()
712 auto nodeA = TestUtils::createSkiaNode(0, 0, 100, 100, [](RenderProperties& props, in RENDERTHREAD_TEST()
715 drawOrderedNode(&canvas, 1, [](RenderProperties& props, SkiaRecordingCanvas& canvas) { in RENDERTHREAD_TEST() argument
716 drawOrderedNode(&canvas, 255, [](RenderProperties& props, SkiaRecordingCanvas& canvas) { in RENDERTHREAD_TEST() argument
718 props.setProjectBackwards(true); in RENDERTHREAD_TEST()
719 props.setClipToBounds(false); in RENDERTHREAD_TEST()
734 auto nodeA = TestUtils::createSkiaNode(0, 0, 100, 100, [](RenderProperties& props, in RENDERTHREAD_TEST()
737 drawOrderedNode(&canvas, 1, [](RenderProperties& props, SkiaRecordingCanvas& canvas) { in RENDERTHREAD_TEST() argument
738 props.setProjectionReceiver(true); in RENDERTHREAD_TEST()
739 drawOrderedNode(&canvas, 2, [](RenderProperties& props, SkiaRecordingCanvas& canvas) { in RENDERTHREAD_TEST() argument
740 props.setProjectBackwards(true); in RENDERTHREAD_TEST()
741 props.setClipToBounds(false); in RENDERTHREAD_TEST()
756 auto nodeA = TestUtils::createSkiaNode(0, 0, 100, 100, [](RenderProperties& props, in RENDERTHREAD_TEST()
759 drawOrderedNode(&canvas, 1, [](RenderProperties& props, SkiaRecordingCanvas& canvas) { in RENDERTHREAD_TEST() argument
760 drawOrderedNode(&canvas, 255, [](RenderProperties& props, SkiaRecordingCanvas& canvas) { in RENDERTHREAD_TEST() argument
762 props.setProjectionReceiver(true); in RENDERTHREAD_TEST()
763 props.setProjectBackwards(true); in RENDERTHREAD_TEST()
764 props.setClipToBounds(false); in RENDERTHREAD_TEST()
779 auto nodeA = TestUtils::createSkiaNode(0, 0, 100, 100, [](RenderProperties& props, in RENDERTHREAD_TEST()
781 drawOrderedNode(&canvas, 0, [](RenderProperties& props, SkiaRecordingCanvas& canvas) { in RENDERTHREAD_TEST() argument
782 props.setProjectionReceiver(true); in RENDERTHREAD_TEST()
785 [](RenderProperties& props, SkiaRecordingCanvas& canvas) {}); // nodeC in RENDERTHREAD_TEST() argument
786 drawOrderedNode(&canvas, 255, [](RenderProperties& props, SkiaRecordingCanvas& canvas) { in RENDERTHREAD_TEST() argument
787 props.setProjectBackwards(true); in RENDERTHREAD_TEST()
788 props.setClipToBounds(false); in RENDERTHREAD_TEST()
803 auto nodeA = TestUtils::createSkiaNode(0, 0, 100, 100, [](RenderProperties& props, in RENDERTHREAD_TEST()
805 drawOrderedNode(&canvas, 0, [](RenderProperties& props, SkiaRecordingCanvas& canvas) { in RENDERTHREAD_TEST() argument
806 drawOrderedNode(&canvas, 1, [](RenderProperties& props, SkiaRecordingCanvas& canvas) { in RENDERTHREAD_TEST() argument
807 props.setProjectionReceiver(true); in RENDERTHREAD_TEST()
810 [](RenderProperties& props, SkiaRecordingCanvas& canvas) {}); // nodeC in RENDERTHREAD_TEST() argument
811 drawOrderedNode(&canvas, 255, [](RenderProperties& props, SkiaRecordingCanvas& canvas) { in RENDERTHREAD_TEST() argument
812 props.setProjectBackwards(true); in RENDERTHREAD_TEST()
813 props.setClipToBounds(false); in RENDERTHREAD_TEST()
830 auto nodeA = TestUtils::createSkiaNode(0, 0, 100, 100, [](RenderProperties& props, in RENDERTHREAD_TEST()
832 drawOrderedNode(&canvas, 0, [](RenderProperties& props, SkiaRecordingCanvas& canvas) { in RENDERTHREAD_TEST() argument
833 props.setProjectionReceiver(true); in RENDERTHREAD_TEST()
834 drawOrderedNode(&canvas, 1, [](RenderProperties& props, SkiaRecordingCanvas& canvas) { in RENDERTHREAD_TEST() argument
836 [](RenderProperties& props, SkiaRecordingCanvas& canvas) { in RENDERTHREAD_TEST() argument
837 props.setProjectBackwards(true); in RENDERTHREAD_TEST()
838 props.setClipToBounds(false); in RENDERTHREAD_TEST()
854 auto nodeA = TestUtils::createSkiaNode(0, 0, 100, 100, [](RenderProperties& props, in RENDERTHREAD_TEST()
856 drawOrderedNode(&canvas, 0, [](RenderProperties& props, SkiaRecordingCanvas& canvas) { // B in RENDERTHREAD_TEST() argument
857 props.setProjectionReceiver(true); in RENDERTHREAD_TEST()
859 drawOrderedNode(&canvas, 2, [](RenderProperties& props, SkiaRecordingCanvas& canvas) { // C in RENDERTHREAD_TEST() argument
861 [](RenderProperties& props, SkiaRecordingCanvas& canvas) { // G in RENDERTHREAD_TEST() argument
862 props.setProjectionReceiver(true); in RENDERTHREAD_TEST()
865 [](RenderProperties& props, SkiaRecordingCanvas& canvas) { // R in RENDERTHREAD_TEST() argument
866 props.setProjectBackwards(true); in RENDERTHREAD_TEST()
867 props.setClipToBounds(false); in RENDERTHREAD_TEST()
882 auto nodeA = TestUtils::createSkiaNode(0, 0, 100, 100, [](RenderProperties& props, in RENDERTHREAD_TEST()
884 drawOrderedNode(&canvas, 0, [](RenderProperties& props, SkiaRecordingCanvas& canvas) { // B in RENDERTHREAD_TEST() argument
885 props.setProjectionReceiver(true); in RENDERTHREAD_TEST()
887 drawOrderedNode(&canvas, 2, [](RenderProperties& props, SkiaRecordingCanvas& canvas) { // C in RENDERTHREAD_TEST() argument
889 [](RenderProperties& props, SkiaRecordingCanvas& canvas) { // G in RENDERTHREAD_TEST() argument
890 props.setProjectionReceiver(true); in RENDERTHREAD_TEST()
891 props.setProjectBackwards(true); in RENDERTHREAD_TEST()
892 props.setClipToBounds(false); in RENDERTHREAD_TEST()
895 [](RenderProperties& props, SkiaRecordingCanvas& canvas) { // R in RENDERTHREAD_TEST() argument
912 auto nodeA = TestUtils::createSkiaNode(0, 0, 100, 100, [](RenderProperties& props, in RENDERTHREAD_TEST()
914 drawOrderedNode(&canvas, 0, [](RenderProperties& props, SkiaRecordingCanvas& canvas) { // B in RENDERTHREAD_TEST() argument
915 props.setProjectionReceiver(true); in RENDERTHREAD_TEST()
917 drawOrderedNode(&canvas, 1, [](RenderProperties& props, SkiaRecordingCanvas& canvas) { // C in RENDERTHREAD_TEST() argument
919 [](RenderProperties& props, SkiaRecordingCanvas& canvas) { // G in RENDERTHREAD_TEST() argument
920 props.setProjectionReceiver(true); in RENDERTHREAD_TEST()
923 [](RenderProperties& props, SkiaRecordingCanvas& canvas) { // D in RENDERTHREAD_TEST() argument
924 drawOrderedNode(&canvas, 3, [](RenderProperties& props, in RENDERTHREAD_TEST()
926 props.setProjectBackwards(true); in RENDERTHREAD_TEST()
927 props.setClipToBounds(false); in RENDERTHREAD_TEST()
952 [](RenderProperties& props, SkiaRecordingCanvas& canvas) { in RENDERTHREAD_TEST() argument
987 0, 0, 10, 10, [](RenderProperties& props, SkiaRecordingCanvas& canvas) { in RENDERTHREAD_TEST() argument
988 props.setClipToBounds(false); in RENDERTHREAD_TEST()
993 0, 0, 10, 10, [](RenderProperties& props, SkiaRecordingCanvas& canvas) { in RENDERTHREAD_TEST() argument
1030 10, 10, 110, 110, [](RenderProperties& props, SkiaRecordingCanvas& canvas) { in TEST() argument
1038 [&child](RenderProperties& props, SkiaRecordingCanvas& canvas) { in TEST() argument
1151 [](RenderProperties& props, SkiaRecordingCanvas& canvas) { in TEST() argument
1157 [](RenderProperties& props, SkiaRecordingCanvas& canvas) { in TEST() argument
1158 props.setElevation(42); in TEST()
1159 props.mutableOutline().setRoundRect(0, 0, 20, 20, 5, 1); in TEST()
1160 props.mutableOutline().setShouldClip(true); in TEST()
1203 [&](RenderProperties& props, SkiaRecordingCanvas& canvas) { in RENDERTHREAD_TEST() argument
1256 [](RenderProperties& props, SkiaRecordingCanvas& canvas) { in RENDERTHREAD_TEST() argument