Home
last modified time | relevance | path

Searched refs:ctInfo (Results 1 – 4 of 4) sorted by relevance

/external/skia/src/gpu/d3d/
DGrD3DCaps.cpp305 const auto& ctInfo = formatInfo.fColorTypeInfos[j]; in setColorType() local
306 if (ctInfo.fColorType == colorType && in setColorType()
307 !SkToBool(ctInfo.fFlags & ColorTypeInfo::kWrappedOnly_Flag)) { in setColorType()
368 auto& ctInfo = info.fColorTypeInfos[ctIdx++]; in initFormatTable() local
369 ctInfo.fColorType = ct; in initFormatTable()
370 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kRenderable_Flag; in initFormatTable()
375 auto& ctInfo = info.fColorTypeInfos[ctIdx++]; in initFormatTable() local
376 ctInfo.fColorType = ct; in initFormatTable()
377 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag; in initFormatTable()
378 ctInfo.fReadSwizzle = GrSwizzle("rgb1"); in initFormatTable()
[all …]
/external/skia/src/gpu/vk/
DGrVkCaps.cpp794 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()
[all …]
/external/skia/src/gpu/gl/
DGrGLCaps.cpp1201 const auto& ctInfo = fFormatTable[i].fColorTypeInfos[j]; in onDumpJSON() local
1203 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() local
1377 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 …]
/external/skia/src/gpu/mtl/
DGrMtlCaps.mm538 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 …]