Lines Matching defs:ctInfo

808             const auto& ctInfo = formatInfo.fColorTypeInfos[j];
809 if (ctInfo.fColorType == colorType &&
810 !SkToBool(ctInfo.fFlags & ColorTypeInfo::kWrappedOnly_Flag)) {
871 auto& ctInfo = info.fColorTypeInfos[ctIdx++];
872 ctInfo.fColorType = ct;
873 ctInfo.fTransferColorType = ct;
874 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kRenderable_Flag;
879 auto& ctInfo = info.fColorTypeInfos[ctIdx++];
880 ctInfo.fColorType = ct;
881 ctInfo.fTransferColorType = ct;
882 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag;
883 ctInfo.fReadSwizzle = GrSwizzle::RGB1();
900 auto& ctInfo = info.fColorTypeInfos[ctIdx++];
901 ctInfo.fColorType = ct;
902 ctInfo.fTransferColorType = ct;
903 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kRenderable_Flag;
904 ctInfo.fReadSwizzle = GrSwizzle("000r");
905 ctInfo.fWriteSwizzle = GrSwizzle("a000");
910 auto& ctInfo = info.fColorTypeInfos[ctIdx++];
911 ctInfo.fColorType = ct;
912 ctInfo.fTransferColorType = ct;
913 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag;
914 ctInfo.fReadSwizzle = GrSwizzle("rrr1");
930 auto& ctInfo = info.fColorTypeInfos[ctIdx++];
931 ctInfo.fColorType = ct;
932 ctInfo.fTransferColorType = ct;
933 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kRenderable_Flag;
949 auto& ctInfo = info.fColorTypeInfos[ctIdx++];
950 ctInfo.fColorType = ct;
951 ctInfo.fTransferColorType = ct;
952 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kRenderable_Flag;
968 auto& ctInfo = info.fColorTypeInfos[ctIdx++];
969 ctInfo.fColorType = ct;
970 ctInfo.fTransferColorType = ct;
971 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kRenderable_Flag;
976 auto& ctInfo = info.fColorTypeInfos[ctIdx++];
977 ctInfo.fColorType = ct;
978 ctInfo.fTransferColorType = ct;
979 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kRenderable_Flag;
995 auto& ctInfo = info.fColorTypeInfos[ctIdx++];
996 ctInfo.fColorType = ct;
997 ctInfo.fTransferColorType = ct;
998 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kRenderable_Flag;
999 ctInfo.fReadSwizzle = GrSwizzle("000r");
1000 ctInfo.fWriteSwizzle = GrSwizzle("a000");
1016 auto& ctInfo = info.fColorTypeInfos[ctIdx++];
1017 ctInfo.fColorType = ct;
1019 ctInfo.fTransferColorType = GrColorType::kRGB_888;
1020 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kRenderable_Flag;
1036 auto& ctInfo = info.fColorTypeInfos[ctIdx++];
1037 ctInfo.fColorType = ct;
1038 ctInfo.fTransferColorType = ct;
1039 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kRenderable_Flag;
1055 auto& ctInfo = info.fColorTypeInfos[ctIdx++];
1056 ctInfo.fColorType = ct;
1057 ctInfo.fTransferColorType = ct;
1058 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kRenderable_Flag;
1074 auto& ctInfo = info.fColorTypeInfos[ctIdx++];
1075 ctInfo.fColorType = ct;
1076 ctInfo.fTransferColorType = ct;
1077 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kRenderable_Flag;
1093 auto& ctInfo = info.fColorTypeInfos[ctIdx++];
1094 ctInfo.fColorType = ct;
1095 ctInfo.fTransferColorType = ct;
1096 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kRenderable_Flag;
1097 ctInfo.fReadSwizzle = GrSwizzle::BGRA();
1098 ctInfo.fWriteSwizzle = GrSwizzle::BGRA();
1115 auto& ctInfo = info.fColorTypeInfos[ctIdx++];
1116 ctInfo.fColorType = ct;
1117 ctInfo.fTransferColorType = ct;
1118 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kRenderable_Flag;
1134 auto& ctInfo = info.fColorTypeInfos[ctIdx++];
1135 ctInfo.fColorType = ct;
1136 ctInfo.fTransferColorType = ct;
1137 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kRenderable_Flag;
1153 auto& ctInfo = info.fColorTypeInfos[ctIdx++];
1154 ctInfo.fColorType = ct;
1155 ctInfo.fTransferColorType = ct;
1156 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kRenderable_Flag;
1157 ctInfo.fReadSwizzle = GrSwizzle("000r");
1158 ctInfo.fWriteSwizzle = GrSwizzle("a000");
1174 auto& ctInfo = info.fColorTypeInfos[ctIdx++];
1175 ctInfo.fColorType = ct;
1176 ctInfo.fTransferColorType = ct;
1177 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kRenderable_Flag;
1193 auto& ctInfo = info.fColorTypeInfos[ctIdx++];
1194 ctInfo.fColorType = ct;
1195 ctInfo.fTransferColorType = ct;
1196 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kRenderable_Flag;
1212 auto& ctInfo = info.fColorTypeInfos[ctIdx++];
1213 ctInfo.fColorType = ct;
1214 ctInfo.fTransferColorType = ct;
1215 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kRenderable_Flag;
1233 auto& ctInfo = info.fColorTypeInfos[ctIdx++];
1234 ctInfo.fColorType = ct;
1235 ctInfo.fTransferColorType = ct;
1236 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kWrappedOnly_Flag;
1254 auto& ctInfo = info.fColorTypeInfos[ctIdx++];
1255 ctInfo.fColorType = ct;
1256 ctInfo.fTransferColorType = ct;
1257 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kWrappedOnly_Flag;
1582 const auto& ctInfo = info.fColorTypeInfos[i];
1583 if (ctInfo.fColorType == surfaceColorType) {
1584 return {ctInfo.fTransferColorType, offsetAlignment};
1756 const auto& ctInfo = info.fColorTypeInfos[i];
1757 if (ctInfo.fColorType == colorType) {
1758 return ctInfo.fReadSwizzle;
1771 const auto& ctInfo = info.fColorTypeInfos[i];
1772 if (ctInfo.fColorType == colorType) {
1773 return ctInfo.fWriteSwizzle;
1830 const auto& ctInfo = info.fColorTypeInfos[i];
1831 if (ctInfo.fColorType == srcColorType) {
1832 return {ctInfo.fTransferColorType, offsetAlignment};