Lines Matching refs:ctInfo
794 const auto& ctInfo = formatInfo.fColorTypeInfos[j]; in setColorType() local
795 if (ctInfo.fColorType == colorType && in setColorType()
796 !SkToBool(ctInfo.fFlags & ColorTypeInfo::kWrappedOnly_Flag)) { in setColorType()
857 auto& ctInfo = info.fColorTypeInfos[ctIdx++]; in initFormatTable() local
858 ctInfo.fColorType = ct; in initFormatTable()
859 ctInfo.fTransferColorType = ct; in initFormatTable()
860 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kRenderable_Flag; in initFormatTable()
865 auto& ctInfo = info.fColorTypeInfos[ctIdx++]; in initFormatTable() local
866 ctInfo.fColorType = ct; in initFormatTable()
867 ctInfo.fTransferColorType = ct; in initFormatTable()
868 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag; in initFormatTable()
869 ctInfo.fReadSwizzle = GrSwizzle::RGB1(); in initFormatTable()
886 auto& ctInfo = info.fColorTypeInfos[ctIdx++]; in initFormatTable() local
887 ctInfo.fColorType = ct; in initFormatTable()
888 ctInfo.fTransferColorType = ct; in initFormatTable()
889 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kRenderable_Flag; in initFormatTable()
890 ctInfo.fReadSwizzle = GrSwizzle("000r"); in initFormatTable()
891 ctInfo.fWriteSwizzle = GrSwizzle("a000"); in initFormatTable()
896 auto& ctInfo = info.fColorTypeInfos[ctIdx++]; in initFormatTable() local
897 ctInfo.fColorType = ct; in initFormatTable()
898 ctInfo.fTransferColorType = ct; in initFormatTable()
899 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag; in initFormatTable()
900 ctInfo.fReadSwizzle = GrSwizzle("rrr1"); in initFormatTable()
916 auto& ctInfo = info.fColorTypeInfos[ctIdx++]; in initFormatTable() local
917 ctInfo.fColorType = ct; in initFormatTable()
918 ctInfo.fTransferColorType = ct; in initFormatTable()
919 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kRenderable_Flag; in initFormatTable()
935 auto& ctInfo = info.fColorTypeInfos[ctIdx++]; in initFormatTable() local
936 ctInfo.fColorType = ct; in initFormatTable()
937 ctInfo.fTransferColorType = ct; in initFormatTable()
938 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kRenderable_Flag; in initFormatTable()
954 auto& ctInfo = info.fColorTypeInfos[ctIdx++]; in initFormatTable() local
955 ctInfo.fColorType = ct; in initFormatTable()
956 ctInfo.fTransferColorType = ct; in initFormatTable()
957 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kRenderable_Flag; in initFormatTable()
962 auto& ctInfo = info.fColorTypeInfos[ctIdx++]; in initFormatTable() local
963 ctInfo.fColorType = ct; in initFormatTable()
964 ctInfo.fTransferColorType = ct; in initFormatTable()
965 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kRenderable_Flag; in initFormatTable()
981 auto& ctInfo = info.fColorTypeInfos[ctIdx++]; in initFormatTable() local
982 ctInfo.fColorType = ct; in initFormatTable()
983 ctInfo.fTransferColorType = ct; in initFormatTable()
984 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kRenderable_Flag; in initFormatTable()
985 ctInfo.fReadSwizzle = GrSwizzle("000r"); in initFormatTable()
986 ctInfo.fWriteSwizzle = GrSwizzle("a000"); in initFormatTable()
1002 auto& ctInfo = info.fColorTypeInfos[ctIdx++]; in initFormatTable() local
1003 ctInfo.fColorType = ct; in initFormatTable()
1005 ctInfo.fTransferColorType = GrColorType::kRGB_888; in initFormatTable()
1006 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kRenderable_Flag; in initFormatTable()
1022 auto& ctInfo = info.fColorTypeInfos[ctIdx++]; in initFormatTable() local
1023 ctInfo.fColorType = ct; in initFormatTable()
1024 ctInfo.fTransferColorType = ct; in initFormatTable()
1025 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kRenderable_Flag; in initFormatTable()
1041 auto& ctInfo = info.fColorTypeInfos[ctIdx++]; in initFormatTable() local
1042 ctInfo.fColorType = ct; in initFormatTable()
1043 ctInfo.fTransferColorType = ct; in initFormatTable()
1044 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kRenderable_Flag; in initFormatTable()
1060 auto& ctInfo = info.fColorTypeInfos[ctIdx++]; in initFormatTable() local
1061 ctInfo.fColorType = ct; in initFormatTable()
1062 ctInfo.fTransferColorType = ct; in initFormatTable()
1063 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kRenderable_Flag; in initFormatTable()
1079 auto& ctInfo = info.fColorTypeInfos[ctIdx++]; in initFormatTable() local
1080 ctInfo.fColorType = ct; in initFormatTable()
1081 ctInfo.fTransferColorType = ct; in initFormatTable()
1082 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kRenderable_Flag; in initFormatTable()
1083 ctInfo.fReadSwizzle = GrSwizzle::BGRA(); in initFormatTable()
1084 ctInfo.fWriteSwizzle = GrSwizzle::BGRA(); in initFormatTable()
1101 auto& ctInfo = info.fColorTypeInfos[ctIdx++]; in initFormatTable() local
1102 ctInfo.fColorType = ct; in initFormatTable()
1103 ctInfo.fTransferColorType = ct; in initFormatTable()
1104 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kRenderable_Flag; in initFormatTable()
1120 auto& ctInfo = info.fColorTypeInfos[ctIdx++]; in initFormatTable() local
1121 ctInfo.fColorType = ct; in initFormatTable()
1122 ctInfo.fTransferColorType = ct; in initFormatTable()
1123 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kRenderable_Flag; in initFormatTable()
1139 auto& ctInfo = info.fColorTypeInfos[ctIdx++]; in initFormatTable() local
1140 ctInfo.fColorType = ct; in initFormatTable()
1141 ctInfo.fTransferColorType = ct; in initFormatTable()
1142 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kRenderable_Flag; in initFormatTable()
1143 ctInfo.fReadSwizzle = GrSwizzle("000r"); in initFormatTable()
1144 ctInfo.fWriteSwizzle = GrSwizzle("a000"); in initFormatTable()
1160 auto& ctInfo = info.fColorTypeInfos[ctIdx++]; in initFormatTable() local
1161 ctInfo.fColorType = ct; in initFormatTable()
1162 ctInfo.fTransferColorType = ct; in initFormatTable()
1163 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kRenderable_Flag; in initFormatTable()
1179 auto& ctInfo = info.fColorTypeInfos[ctIdx++]; in initFormatTable() local
1180 ctInfo.fColorType = ct; in initFormatTable()
1181 ctInfo.fTransferColorType = ct; in initFormatTable()
1182 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kRenderable_Flag; in initFormatTable()
1198 auto& ctInfo = info.fColorTypeInfos[ctIdx++]; in initFormatTable() local
1199 ctInfo.fColorType = ct; in initFormatTable()
1200 ctInfo.fTransferColorType = ct; in initFormatTable()
1201 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kRenderable_Flag; in initFormatTable()
1219 auto& ctInfo = info.fColorTypeInfos[ctIdx++]; in initFormatTable() local
1220 ctInfo.fColorType = ct; in initFormatTable()
1221 ctInfo.fTransferColorType = ct; in initFormatTable()
1222 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kWrappedOnly_Flag; in initFormatTable()
1240 auto& ctInfo = info.fColorTypeInfos[ctIdx++]; in initFormatTable() local
1241 ctInfo.fColorType = ct; in initFormatTable()
1242 ctInfo.fTransferColorType = ct; in initFormatTable()
1243 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kWrappedOnly_Flag; in initFormatTable()
1541 const auto& ctInfo = info.fColorTypeInfos[i]; in supportedWritePixelsColorType() local
1542 if (ctInfo.fColorType == surfaceColorType) { in supportedWritePixelsColorType()
1543 return {ctInfo.fTransferColorType, offsetAlignment}; in supportedWritePixelsColorType()
1670 const auto& ctInfo = info.fColorTypeInfos[i]; in onGetReadSwizzle() local
1671 if (ctInfo.fColorType == colorType) { in onGetReadSwizzle()
1672 return ctInfo.fReadSwizzle; in onGetReadSwizzle()
1684 const auto& ctInfo = info.fColorTypeInfos[i]; in getWriteSwizzle() local
1685 if (ctInfo.fColorType == colorType) { in getWriteSwizzle()
1686 return ctInfo.fWriteSwizzle; in getWriteSwizzle()
1742 const auto& ctInfo = info.fColorTypeInfos[i]; in onSupportedReadPixelsColorType() local
1743 if (ctInfo.fColorType == srcColorType) { in onSupportedReadPixelsColorType()
1744 return {ctInfo.fTransferColorType, offsetAlignment}; in onSupportedReadPixelsColorType()