Lines Matching refs:ctInfo
538 const auto& ctInfo = formatInfo.fColorTypeInfos[j];
539 if (ctInfo.fColorType == colorType) {
590 auto& ctInfo = info->fColorTypeInfos[ctIdx++];
591 ctInfo.fColorType = GrColorType::kAlpha_8;
592 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kRenderable_Flag;
593 ctInfo.fReadSwizzle = GrSwizzle("000r");
594 ctInfo.fWriteSwizzle = GrSwizzle("a000");
598 auto& ctInfo = info->fColorTypeInfos[ctIdx++];
599 ctInfo.fColorType = GrColorType::kGray_8;
600 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag;
601 ctInfo.fReadSwizzle = GrSwizzle("rrr1");
614 auto& ctInfo = info->fColorTypeInfos[ctIdx++];
615 ctInfo.fColorType = GrColorType::kAlpha_8;
616 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kRenderable_Flag;
630 auto& ctInfo = info->fColorTypeInfos[ctIdx++];
631 ctInfo.fColorType = GrColorType::kBGR_565;
632 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kRenderable_Flag;
645 auto& ctInfo = info->fColorTypeInfos[ctIdx++];
646 ctInfo.fColorType = GrColorType::kABGR_4444;
647 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kRenderable_Flag;
661 auto& ctInfo = info->fColorTypeInfos[ctIdx++];
662 ctInfo.fColorType = GrColorType::kRGBA_8888;
663 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kRenderable_Flag;
667 auto& ctInfo = info->fColorTypeInfos[ctIdx++];
668 ctInfo.fColorType = GrColorType::kRGB_888x;
669 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag;
670 ctInfo.fReadSwizzle = GrSwizzle::RGB1();
683 auto& ctInfo = info->fColorTypeInfos[ctIdx++];
684 ctInfo.fColorType = GrColorType::kRG_88;
685 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kRenderable_Flag;
698 auto& ctInfo = info->fColorTypeInfos[ctIdx++];
699 ctInfo.fColorType = GrColorType::kBGRA_8888;
700 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kRenderable_Flag;
713 auto& ctInfo = info->fColorTypeInfos[ctIdx++];
714 ctInfo.fColorType = GrColorType::kRGBA_8888_SRGB;
715 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kRenderable_Flag;
732 auto& ctInfo = info->fColorTypeInfos[ctIdx++];
733 ctInfo.fColorType = GrColorType::kRGBA_1010102;
734 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kRenderable_Flag;
752 auto& ctInfo = info->fColorTypeInfos[ctIdx++];
753 ctInfo.fColorType = GrColorType::kBGRA_1010102;
754 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kRenderable_Flag;
768 auto& ctInfo = info->fColorTypeInfos[ctIdx++];
769 ctInfo.fColorType = GrColorType::kAlpha_F16;
770 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kRenderable_Flag;
771 ctInfo.fReadSwizzle = GrSwizzle("000r");
772 ctInfo.fWriteSwizzle = GrSwizzle("a000");
785 auto& ctInfo = info->fColorTypeInfos[ctIdx++];
786 ctInfo.fColorType = GrColorType::kRGBA_F16;
787 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kRenderable_Flag;
791 auto& ctInfo = info->fColorTypeInfos[ctIdx++];
792 ctInfo.fColorType = GrColorType::kRGBA_F16_Clamped;
793 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kRenderable_Flag;
810 auto& ctInfo = info->fColorTypeInfos[ctIdx++];
811 ctInfo.fColorType = GrColorType::kAlpha_16;
812 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kRenderable_Flag;
813 ctInfo.fReadSwizzle = GrSwizzle("000r");
814 ctInfo.fWriteSwizzle = GrSwizzle("a000");
831 auto& ctInfo = info->fColorTypeInfos[ctIdx++];
832 ctInfo.fColorType = GrColorType::kRG_1616;
833 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kRenderable_Flag;
862 auto& ctInfo = info->fColorTypeInfos[ctIdx++];
863 ctInfo.fColorType = GrColorType::kRGBA_16161616;
864 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kRenderable_Flag;
877 auto& ctInfo = info->fColorTypeInfos[ctIdx++];
878 ctInfo.fColorType = GrColorType::kRG_F16;
879 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kRenderable_Flag;
1004 const auto& ctInfo = info.fColorTypeInfos[i];
1005 if (ctInfo.fColorType == colorType) {
1006 return ctInfo.fReadSwizzle;
1019 const auto& ctInfo = info.fColorTypeInfos[i];
1020 if (ctInfo.fColorType == colorType) {
1021 return ctInfo.fWriteSwizzle;
1048 const auto& ctInfo = info.fColorTypeInfos[i];
1049 if (ctInfo.fColorType == surfaceColorType) {
1077 const auto& ctInfo = info.fColorTypeInfos[i];
1078 if (ctInfo.fColorType == srcColorType) {