Searched refs:ctInfo (Results 1 – 4 of 4) sorted by relevance
305 const auto& ctInfo = formatInfo.fColorTypeInfos[j]; in setColorType() local306 if (ctInfo.fColorType == colorType && in setColorType()307 !SkToBool(ctInfo.fFlags & ColorTypeInfo::kWrappedOnly_Flag)) { in setColorType()368 auto& ctInfo = info.fColorTypeInfos[ctIdx++]; in initFormatTable() local369 ctInfo.fColorType = ct; in initFormatTable()370 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kRenderable_Flag; in initFormatTable()375 auto& ctInfo = info.fColorTypeInfos[ctIdx++]; in initFormatTable() local376 ctInfo.fColorType = ct; in initFormatTable()377 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag; in initFormatTable()378 ctInfo.fReadSwizzle = GrSwizzle("rgb1"); in initFormatTable()[all …]
794 const auto& ctInfo = formatInfo.fColorTypeInfos[j]; in setColorType() local795 if (ctInfo.fColorType == colorType && in setColorType()796 !SkToBool(ctInfo.fFlags & ColorTypeInfo::kWrappedOnly_Flag)) { in setColorType()857 auto& ctInfo = info.fColorTypeInfos[ctIdx++]; in initFormatTable() local858 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() local866 ctInfo.fColorType = ct; in initFormatTable()867 ctInfo.fTransferColorType = ct; in initFormatTable()[all …]
1201 const auto& ctInfo = fFormatTable[i].fColorTypeInfos[j]; in onDumpJSON() local1203 writer->appendHexU32("colorType", (uint32_t)ctInfo.fColorType); in onDumpJSON()1204 writer->appendHexU32("flags", ctInfo.fFlags); in onDumpJSON()1207 for (int k = 0; k < ctInfo.fExternalIOFormatCount; ++k) { in onDumpJSON()1208 const auto& ioInfo = ctInfo.fExternalIOFormats[k]; in onDumpJSON()1376 auto& ctInfo = info.fColorTypeInfos[ctIdx++]; in initFormatTable() local1377 ctInfo.fColorType = GrColorType::kRGBA_8888; in initFormatTable()1378 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kRenderable_Flag; in initFormatTable()1382 ctInfo.fExternalIOFormatCount = 2; in initFormatTable()1383 ctInfo.fExternalIOFormats = std::make_unique<ColorTypeInfo::ExternalIOFormats[]>( in initFormatTable()[all …]
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;[all …]