Lines Matching refs:combo

606     for (auto combo : combinations) {  in color_type_backend_allocation_test()  local
607 SkColorType colorType = combo.fColorType; in color_type_backend_allocation_test()
611 if (kRGBA_F32_SkColorType == combo.fColorType) { in color_type_backend_allocation_test()
628 if (kRGB_888x_SkColorType == combo.fColorType) { in color_type_backend_allocation_test()
685 SkColorTypeToGrColorType(colorType), combo.fColor, mipmapped, in color_type_backend_allocation_test()
807 for (auto combo : combinations) { in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS() local
809 GrBackendFormat format = GrBackendFormat::MakeGL(combo.fFormat, target); in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS()
815 if (GrColorType::kBGRA_8888 == combo.fColorType || in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS()
816 GrColorType::kBGRA_1010102 == combo.fColorType) { in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS()
820 (GR_GL_RGBA8 == combo.fFormat || GR_GL_RGB10_A2 == combo.fFormat)) { in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS()
833 if (!glCaps->isFormatAsColorTypeRenderable(combo.fColorType, format)) { in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS()
850 test_wrapping(context, reporter, uninitCreateMtd, combo.fColorType, in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS()
864 switch (combo.fColorType) { in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS()
890 test_color_init(context, reporter, createWithColorMtd, combo.fColorType, in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS()
891 combo.fColor, mipMapped, renderable); in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS()
958 for (auto combo : combinations) { in DEF_GPUTEST_FOR_VULKAN_CONTEXT() local
959 if (!vkCaps->isVkFormatTexturable(combo.fFormat)) { in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
963 GrBackendFormat format = GrBackendFormat::MakeVk(combo.fFormat); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
976 combo.fColorType, GrBackendFormat::MakeVk(combo.fFormat), 1)) { in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
995 test_wrapping(context, reporter, uninitCreateMtd, combo.fColorType, mipMapped, in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
1009 switch (combo.fColorType) { in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
1011 SkASSERT(combo.fFormat == VK_FORMAT_R8_UNORM); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
1015 SkASSERT(combo.fFormat == VK_FORMAT_R16_UNORM); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
1019 SkASSERT(combo.fFormat == VK_FORMAT_R16_SFLOAT); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
1023 if (combo.fFormat == VK_FORMAT_B4G4R4A4_UNORM_PACK16) { in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
1047 test_color_init(context, reporter, createWithColorMtd, combo.fColorType, in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
1048 combo.fColor, mipMapped, renderable); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()