Lines Matching refs:info
824 const auto& info = this->getFormatInfo(*it);
825 for (int i = 0; i < info.fColorTypeInfoCount; ++i) {
826 if (info.fColorTypeInfos[i].fColorType == colorType) {
862 auto& info = this->getFormatInfo(format);
863 info.init(interface, physDev, properties, format);
864 if (SkToBool(info.fOptimalFlags & FormatInfo::kTexturable_Flag)) {
865 info.fColorTypeInfoCount = 2;
866 info.fColorTypeInfos = std::make_unique<ColorTypeInfo[]>(info.fColorTypeInfoCount);
871 auto& ctInfo = info.fColorTypeInfos[ctIdx++];
879 auto& ctInfo = info.fColorTypeInfos[ctIdx++];
891 auto& info = this->getFormatInfo(format);
892 info.init(interface, physDev, properties, format);
893 if (SkToBool(info.fOptimalFlags & FormatInfo::kTexturable_Flag)) {
894 info.fColorTypeInfoCount = 2;
895 info.fColorTypeInfos = std::make_unique<ColorTypeInfo[]>(info.fColorTypeInfoCount);
900 auto& ctInfo = info.fColorTypeInfos[ctIdx++];
910 auto& ctInfo = info.fColorTypeInfos[ctIdx++];
921 auto& info = this->getFormatInfo(format);
922 info.init(interface, physDev, properties, format);
923 if (SkToBool(info.fOptimalFlags & FormatInfo::kTexturable_Flag)) {
924 info.fColorTypeInfoCount = 1;
925 info.fColorTypeInfos = std::make_unique<ColorTypeInfo[]>(info.fColorTypeInfoCount);
930 auto& ctInfo = info.fColorTypeInfos[ctIdx++];
940 auto& info = this->getFormatInfo(format);
941 info.init(interface, physDev, properties, format);
942 if (SkToBool(info.fOptimalFlags & FormatInfo::kTexturable_Flag)) {
943 info.fColorTypeInfoCount = 1;
944 info.fColorTypeInfos = std::make_unique<ColorTypeInfo[]>(info.fColorTypeInfoCount);
949 auto& ctInfo = info.fColorTypeInfos[ctIdx++];
959 auto& info = this->getFormatInfo(format);
960 info.init(interface, physDev, properties, format);
961 if (SkToBool(info.fOptimalFlags & FormatInfo::kTexturable_Flag)) {
962 info.fColorTypeInfoCount = 2;
963 info.fColorTypeInfos = std::make_unique<ColorTypeInfo[]>(info.fColorTypeInfoCount);
968 auto& ctInfo = info.fColorTypeInfos[ctIdx++];
976 auto& ctInfo = info.fColorTypeInfos[ctIdx++];
986 auto& info = this->getFormatInfo(format);
987 info.init(interface, physDev, properties, format);
988 if (SkToBool(info.fOptimalFlags & FormatInfo::kTexturable_Flag)) {
989 info.fColorTypeInfoCount = 1;
990 info.fColorTypeInfos = std::make_unique<ColorTypeInfo[]>(info.fColorTypeInfoCount);
995 auto& ctInfo = info.fColorTypeInfos[ctIdx++];
1007 auto& info = this->getFormatInfo(format);
1008 info.init(interface, physDev, properties, format);
1009 if (SkToBool(info.fOptimalFlags & FormatInfo::kTexturable_Flag)) {
1010 info.fColorTypeInfoCount = 1;
1011 info.fColorTypeInfos = std::make_unique<ColorTypeInfo[]>(info.fColorTypeInfoCount);
1016 auto& ctInfo = info.fColorTypeInfos[ctIdx++];
1027 auto& info = this->getFormatInfo(format);
1028 info.init(interface, physDev, properties, format);
1029 if (SkToBool(info.fOptimalFlags & FormatInfo::kTexturable_Flag)) {
1030 info.fColorTypeInfoCount = 1;
1031 info.fColorTypeInfos = std::make_unique<ColorTypeInfo[]>(info.fColorTypeInfoCount);
1036 auto& ctInfo = info.fColorTypeInfos[ctIdx++];
1046 auto& info = this->getFormatInfo(format);
1047 info.init(interface, physDev, properties, format);
1048 if (SkToBool(info.fOptimalFlags & FormatInfo::kTexturable_Flag)) {
1049 info.fColorTypeInfoCount = 1;
1050 info.fColorTypeInfos = std::make_unique<ColorTypeInfo[]>(info.fColorTypeInfoCount);
1055 auto& ctInfo = info.fColorTypeInfos[ctIdx++];
1065 auto& info = this->getFormatInfo(format);
1066 info.init(interface, physDev, properties, format);
1067 if (SkToBool(info.fOptimalFlags & FormatInfo::kTexturable_Flag)) {
1068 info.fColorTypeInfoCount = 1;
1069 info.fColorTypeInfos = std::make_unique<ColorTypeInfo[]>(info.fColorTypeInfoCount);
1074 auto& ctInfo = info.fColorTypeInfos[ctIdx++];
1084 auto& info = this->getFormatInfo(format);
1085 info.init(interface, physDev, properties, format);
1086 if (SkToBool(info.fOptimalFlags & FormatInfo::kTexturable_Flag)) {
1087 info.fColorTypeInfoCount = 1;
1088 info.fColorTypeInfos = std::make_unique<ColorTypeInfo[]>(info.fColorTypeInfoCount);
1093 auto& ctInfo = info.fColorTypeInfos[ctIdx++];
1106 auto& info = this->getFormatInfo(format);
1107 info.init(interface, physDev, properties, format);
1108 if (SkToBool(info.fOptimalFlags & FormatInfo::kTexturable_Flag)) {
1109 info.fColorTypeInfoCount = 1;
1110 info.fColorTypeInfos = std::make_unique<ColorTypeInfo[]>(info.fColorTypeInfoCount);
1115 auto& ctInfo = info.fColorTypeInfos[ctIdx++];
1125 auto& info = this->getFormatInfo(format);
1126 info.init(interface, physDev, properties, format);
1127 if (SkToBool(info.fOptimalFlags & FormatInfo::kTexturable_Flag)) {
1128 info.fColorTypeInfoCount = 1;
1129 info.fColorTypeInfos = std::make_unique<ColorTypeInfo[]>(info.fColorTypeInfoCount);
1134 auto& ctInfo = info.fColorTypeInfos[ctIdx++];
1144 auto& info = this->getFormatInfo(format);
1145 info.init(interface, physDev, properties, format);
1146 if (SkToBool(info.fOptimalFlags & FormatInfo::kTexturable_Flag)) {
1147 info.fColorTypeInfoCount = 1;
1148 info.fColorTypeInfos = std::make_unique<ColorTypeInfo[]>(info.fColorTypeInfoCount);
1153 auto& ctInfo = info.fColorTypeInfos[ctIdx++];
1165 auto& info = this->getFormatInfo(format);
1166 info.init(interface, physDev, properties, format);
1167 if (SkToBool(info.fOptimalFlags & FormatInfo::kTexturable_Flag)) {
1168 info.fColorTypeInfoCount = 1;
1169 info.fColorTypeInfos = std::make_unique<ColorTypeInfo[]>(info.fColorTypeInfoCount);
1174 auto& ctInfo = info.fColorTypeInfos[ctIdx++];
1184 auto& info = this->getFormatInfo(format);
1185 info.init(interface, physDev, properties, format);
1186 if (SkToBool(info.fOptimalFlags & FormatInfo::kTexturable_Flag)) {
1187 info.fColorTypeInfoCount = 1;
1188 info.fColorTypeInfos = std::make_unique<ColorTypeInfo[]>(info.fColorTypeInfoCount);
1193 auto& ctInfo = info.fColorTypeInfos[ctIdx++];
1203 auto& info = this->getFormatInfo(format);
1204 info.init(interface, physDev, properties, format);
1205 if (SkToBool(info.fOptimalFlags & FormatInfo::kTexturable_Flag)) {
1206 info.fColorTypeInfoCount = 1;
1207 info.fColorTypeInfos = std::make_unique<ColorTypeInfo[]>(info.fColorTypeInfoCount);
1212 auto& ctInfo = info.fColorTypeInfos[ctIdx++];
1222 auto& info = this->getFormatInfo(format);
1224 info.init(interface, physDev, properties, format);
1226 if (SkToBool(info.fOptimalFlags & FormatInfo::kTexturable_Flag)) {
1227 info.fColorTypeInfoCount = 1;
1228 info.fColorTypeInfos = std::make_unique<ColorTypeInfo[]>(info.fColorTypeInfoCount);
1233 auto& ctInfo = info.fColorTypeInfos[ctIdx++];
1243 auto& info = this->getFormatInfo(format);
1245 info.init(interface, physDev, properties, format);
1247 if (SkToBool(info.fOptimalFlags & FormatInfo::kTexturable_Flag)) {
1248 info.fColorTypeInfoCount = 1;
1249 info.fColorTypeInfos = std::make_unique<ColorTypeInfo[]>(info.fColorTypeInfoCount);
1254 auto& ctInfo = info.fColorTypeInfos[ctIdx++];
1264 auto& info = this->getFormatInfo(format);
1265 info.init(interface, physDev, properties, format);
1273 auto& info = this->getFormatInfo(format);
1274 info.init(interface, physDev, properties, format);
1282 auto& info = this->getFormatInfo(format);
1283 info.init(interface, physDev, properties, format);
1291 auto& info = this->getFormatInfo(format);
1292 info.init(interface, physDev, properties, format);
1300 auto& info = this->getFormatInfo(format);
1301 info.init(interface, physDev, properties, format);
1309 auto& info = this->getFormatInfo(format);
1310 info.init(interface, physDev, properties, format);
1461 // info which we require to be passed in).
1468 const FormatInfo& info = this->getFormatInfo(format);
1469 return SkToBool(FormatInfo::kTexturable_Flag & info.fOptimalFlags);
1481 const auto& info = this->getFormatInfo(vkFormat);
1482 if (!SkToBool(info.colorTypeFlags(ct) & ColorTypeInfo::kRenderable_Flag)) {
1513 const FormatInfo& info = this->getFormatInfo(format);
1515 int count = info.fColorSampleCounts.count();
1522 SkASSERT(info.fColorSampleCounts.count() && info.fColorSampleCounts[0] == 1);
1527 if (info.fColorSampleCounts[i] >= requestedCount) {
1528 return info.fColorSampleCounts[i];
1543 const FormatInfo& info = this->getFormatInfo(format);
1545 const auto& table = info.fColorSampleCounts;
1580 const auto& info = this->getFormatInfo(vkFormat);
1581 for (int i = 0; i < info.fColorTypeInfoCount; ++i) {
1582 const auto& ctInfo = info.fColorTypeInfos[i];
1619 const auto& info = this->getFormatInfo(vkFormat);
1620 for (int i = 0; i < info.fColorTypeInfoCount; ++i) {
1621 if (info.fColorTypeInfos[i].fColorType == surfaceColorType) {
1622 return info.fColorTypeInfos[i].fTransferColorType;
1663 const auto& info = this->getFormatInfo(vkFormat);
1664 for (int i = 0; i < info.fColorTypeInfoCount; ++i) {
1665 if (info.fColorTypeInfos[i].fColorType == ct) {
1754 const auto& info = this->getFormatInfo(vkFormat);
1755 for (int i = 0; i < info.fColorTypeInfoCount; ++i) {
1756 const auto& ctInfo = info.fColorTypeInfos[i];
1769 const auto& info = this->getFormatInfo(vkFormat);
1770 for (int i = 0; i < info.fColorTypeInfoCount; ++i) {
1771 const auto& ctInfo = info.fColorTypeInfos[i];
1828 const auto& info = this->getFormatInfo(vkFormat);
1829 for (int i = 0; i < info.fColorTypeInfoCount; ++i) {
1830 const auto& ctInfo = info.fColorTypeInfos[i];