Lines Matching refs:source

97         auto source =  in createImageWithColor()  local
100 if (source == nullptr) { in createImageWithColor()
105 if (!source->write(sourcePixels)) { in createImageWithColor()
109 return source; in createImageWithColor()
120 auto source = in createSourceImageFromPng() local
123 if (source == nullptr) { in createSourceImageFromPng()
127 if (!source->write(sourcePixels)) { in createSourceImageFromPng()
131 return source; in createSourceImageFromPng()
406 auto source = createSourceImageFromPng(GetTestDataPath("256x256_android.png")); in TEST_F() local
407 ASSERT_NE(source, nullptr); in TEST_F()
410 m_vkCommandPool, source->m_width, source->m_height); in TEST_F()
418 .source = createBorrowedImageInfo(source.get()), in TEST_F()
433 .right = static_cast<float>(source->m_width), in TEST_F()
434 .bottom = static_cast<float>(source->m_height), in TEST_F()
461 auto source = in TEST_F() local
463 ASSERT_NE(source, nullptr); in TEST_F()
466 m_vkCommandPool, source->m_width, source->m_height); in TEST_F()
474 .source = createBorrowedImageInfo(source.get()), in TEST_F()
489 .right = static_cast<float>(source->m_width), in TEST_F()
490 .bottom = static_cast<float>(source->m_height), in TEST_F()
517 auto source = createSourceImageFromPng(GetTestDataPath("256x256_android.png")); in TEST_F() local
518 ASSERT_NE(source, nullptr); in TEST_F()
521 m_vkCommandPool, source->m_width, source->m_height); in TEST_F()
529 .source = createBorrowedImageInfo(source.get()), in TEST_F()
544 .right = static_cast<float>(source->m_width) / 2.0f, in TEST_F()
545 .bottom = static_cast<float>(source->m_height) / 2.0f, in TEST_F()
580 .source = nullptr, in TEST_F()
613 auto source = in TEST_F() local
615 ASSERT_NE(source, nullptr); in TEST_F()
618 m_vkCommandPool, source->m_width, source->m_height); in TEST_F()
626 .source = nullptr, in TEST_F()
648 .source = createBorrowedImageInfo(source.get()), in TEST_F()
663 .right = static_cast<float>(source->m_width), in TEST_F()
664 .bottom = static_cast<float>(source->m_height), in TEST_F()
690 auto source = createSourceImageFromPng(GetTestDataPath("256x256_android.png")); in TEST_F() local
691 ASSERT_NE(source, nullptr); in TEST_F()
694 m_vkCommandPool, source->m_width, source->m_height); in TEST_F()
702 .source = createBorrowedImageInfo(source.get()), in TEST_F()
717 .right = static_cast<float>(source->m_width), in TEST_F()
718 .bottom = static_cast<float>(source->m_height), in TEST_F()
733 .source = nullptr, in TEST_F()
766 auto source = createSourceImageFromPng(GetTestDataPath("256x256_android.png")); in TEST_F() local
767 ASSERT_NE(source, nullptr); in TEST_F()
785 .right = static_cast<float>(source->m_width), in TEST_F()
786 .bottom = static_cast<float>(source->m_height), in TEST_F()
820 compositionRequest.layers[0].source = createBorrowedImageInfo(source.get()); in TEST_F()
836 auto source = createImageWithColor<SourceImage>(256, 256, kColorGreen); in TEST_F() local
837 ASSERT_NE(source, nullptr); in TEST_F()
856 .bottom = static_cast<int>(source->m_height), in TEST_F()
862 .right = static_cast<float>(source->m_width), in TEST_F()
863 .bottom = static_cast<float>(source->m_height), in TEST_F()
883 compositionRequest.layers[0].source = createBorrowedImageInfo(source.get()), in TEST_F()
917 .source = createBorrowedImageInfo(source1.get()), in TEST_F()
948 .source = createBorrowedImageInfo(source2.get()), in TEST_F()
979 .source = createBorrowedImageInfo(source2.get()), in TEST_F()