Lines Matching defs:info
326 const auto& info = this->getFormatInfo(*it);
327 for (int i = 0; i < info.fColorTypeInfoCount; ++i) {
328 if (info.fColorTypeInfos[i].fColorType == colorType) {
363 auto& info = this->getFormatInfo(format);
364 info.init(adapterDesc, device, format);
365 info.fFormatColorType = GrColorType::kRGBA_8888;
366 if (SkToBool(info.fFlags & FormatInfo::kTexturable_Flag)) {
367 info.fColorTypeInfoCount = 2;
368 info.fColorTypeInfos.reset(new ColorTypeInfo[info.fColorTypeInfoCount]());
373 auto& ctInfo = info.fColorTypeInfos[ctIdx++];
380 auto& ctInfo = info.fColorTypeInfos[ctIdx++];
391 auto& info = this->getFormatInfo(format);
392 info.init(adapterDesc, device, format);
393 info.fFormatColorType = GrColorType::kR_8;
394 if (SkToBool(info.fFlags & FormatInfo::kTexturable_Flag)) {
395 info.fColorTypeInfoCount = 2;
396 info.fColorTypeInfos.reset(new ColorTypeInfo[info.fColorTypeInfoCount]());
401 auto& ctInfo = info.fColorTypeInfos[ctIdx++];
410 auto& ctInfo = info.fColorTypeInfos[ctIdx++];
420 auto& info = this->getFormatInfo(format);
421 info.init(adapterDesc, device, format);
422 info.fFormatColorType = GrColorType::kBGRA_8888;
423 if (SkToBool(info.fFlags & FormatInfo::kTexturable_Flag)) {
424 info.fColorTypeInfoCount = 1;
425 info.fColorTypeInfos.reset(new ColorTypeInfo[info.fColorTypeInfoCount]());
430 auto& ctInfo = info.fColorTypeInfos[ctIdx++];
439 auto& info = this->getFormatInfo(format);
440 info.init(adapterDesc, device, format);
441 info.fFormatColorType = GrColorType::kBGR_565;
442 if (SkToBool(info.fFlags & FormatInfo::kTexturable_Flag)) {
443 info.fColorTypeInfoCount = 1;
444 info.fColorTypeInfos.reset(new ColorTypeInfo[info.fColorTypeInfoCount]());
449 auto& ctInfo = info.fColorTypeInfos[ctIdx++];
458 auto& info = this->getFormatInfo(format);
459 info.init(adapterDesc, device, format);
460 info.fFormatColorType = GrColorType::kRGBA_F16;
461 if (SkToBool(info.fFlags & FormatInfo::kTexturable_Flag)) {
462 info.fColorTypeInfoCount = 2;
463 info.fColorTypeInfos.reset(new ColorTypeInfo[info.fColorTypeInfoCount]());
468 auto& ctInfo = info.fColorTypeInfos[ctIdx++];
475 auto& ctInfo = info.fColorTypeInfos[ctIdx++];
484 auto& info = this->getFormatInfo(format);
485 info.init(adapterDesc, device, format);
486 info.fFormatColorType = GrColorType::kR_F16;
487 if (SkToBool(info.fFlags & FormatInfo::kTexturable_Flag)) {
488 info.fColorTypeInfoCount = 1;
489 info.fColorTypeInfos.reset(new ColorTypeInfo[info.fColorTypeInfoCount]());
494 auto& ctInfo = info.fColorTypeInfos[ctIdx++];
505 auto& info = this->getFormatInfo(format);
506 info.init(adapterDesc, device, format);
507 info.fFormatColorType = GrColorType::kRG_88;
508 if (SkToBool(info.fFlags & FormatInfo::kTexturable_Flag)) {
509 info.fColorTypeInfoCount = 1;
510 info.fColorTypeInfos.reset(new ColorTypeInfo[info.fColorTypeInfoCount]());
515 auto& ctInfo = info.fColorTypeInfos[ctIdx++];
524 auto& info = this->getFormatInfo(format);
525 info.init(adapterDesc, device, format);
526 info.fFormatColorType = GrColorType::kRGBA_1010102;
527 if (SkToBool(info.fFlags & FormatInfo::kTexturable_Flag)) {
528 info.fColorTypeInfoCount = 1;
529 info.fColorTypeInfos.reset(new ColorTypeInfo[info.fColorTypeInfoCount]());
534 auto& ctInfo = info.fColorTypeInfos[ctIdx++];
543 auto& info = this->getFormatInfo(format);
544 info.init(adapterDesc, device, format);
545 info.fFormatColorType = GrColorType::kBGRA_4444;
546 if (SkToBool(info.fFlags & FormatInfo::kTexturable_Flag)) {
547 info.fColorTypeInfoCount = 1;
548 info.fColorTypeInfos.reset(new ColorTypeInfo[info.fColorTypeInfoCount]());
553 auto& ctInfo = info.fColorTypeInfos[ctIdx++];
564 auto& info = this->getFormatInfo(format);
565 info.init(adapterDesc, device, format);
566 info.fFormatColorType = GrColorType::kRGBA_8888_SRGB;
567 if (SkToBool(info.fFlags & FormatInfo::kTexturable_Flag)) {
568 info.fColorTypeInfoCount = 1;
569 info.fColorTypeInfos.reset(new ColorTypeInfo[info.fColorTypeInfoCount]());
574 auto& ctInfo = info.fColorTypeInfos[ctIdx++];
583 auto& info = this->getFormatInfo(format);
584 info.init(adapterDesc, device, format);
585 info.fFormatColorType = GrColorType::kR_16;
586 if (SkToBool(info.fFlags & FormatInfo::kTexturable_Flag)) {
587 info.fColorTypeInfoCount = 1;
588 info.fColorTypeInfos.reset(new ColorTypeInfo[info.fColorTypeInfoCount]());
593 auto& ctInfo = info.fColorTypeInfos[ctIdx++];
604 auto& info = this->getFormatInfo(format);
605 info.init(adapterDesc, device, format);
606 info.fFormatColorType = GrColorType::kRG_1616;
607 if (SkToBool(info.fFlags & FormatInfo::kTexturable_Flag)) {
608 info.fColorTypeInfoCount = 1;
609 info.fColorTypeInfos.reset(new ColorTypeInfo[info.fColorTypeInfoCount]());
614 auto& ctInfo = info.fColorTypeInfos[ctIdx++];
623 auto& info = this->getFormatInfo(format);
624 info.init(adapterDesc, device, format);
625 info.fFormatColorType = GrColorType::kRGBA_16161616;
626 if (SkToBool(info.fFlags & FormatInfo::kTexturable_Flag)) {
627 info.fColorTypeInfoCount = 1;
628 info.fColorTypeInfos.reset(new ColorTypeInfo[info.fColorTypeInfoCount]());
633 auto& ctInfo = info.fColorTypeInfos[ctIdx++];
642 auto& info = this->getFormatInfo(format);
643 info.init(adapterDesc, device, format);
644 info.fFormatColorType = GrColorType::kRG_F16;
645 if (SkToBool(info.fFlags & FormatInfo::kTexturable_Flag)) {
646 info.fColorTypeInfoCount = 1;
647 info.fColorTypeInfos.reset(new ColorTypeInfo[info.fColorTypeInfoCount]());
652 auto& ctInfo = info.fColorTypeInfos[ctIdx++];
662 auto& info = this->getFormatInfo(format);
663 info.init(adapterDesc, device, format);
795 const FormatInfo& info = this->getFormatInfo(format);
796 return SkToBool(FormatInfo::kTexturable_Flag & info.fFlags);
808 const auto& info = this->getFormatInfo(dxgiFormat);
809 if (!SkToBool(info.colorTypeFlags(ct) & ColorTypeInfo::kRenderable_Flag)) {
828 const FormatInfo& info = this->getFormatInfo(format);
829 return SkToBool(FormatInfo::kUnorderedAccess_Flag & info.fFlags);
845 const FormatInfo& info = this->getFormatInfo(format);
847 int count = info.fColorSampleCounts.count();
854 SkASSERT(info.fColorSampleCounts.count() && info.fColorSampleCounts[0] == 1);
859 if (info.fColorSampleCounts[i] >= requestedCount) {
860 return info.fColorSampleCounts[i];
875 const FormatInfo& info = this->getFormatInfo(format);
877 const auto& table = info.fColorSampleCounts;
885 const FormatInfo& info = this->getFormatInfo(format);
886 return info.fFormatColorType;
901 const auto& info = this->getFormatInfo(dxgiFormat);
902 for (int i = 0; i < info.fColorTypeInfoCount; ++i) {
903 const auto& ctInfo = info.fColorTypeInfos[i];
945 const auto& info = this->getFormatInfo(dxgiFormat);
946 for (int i = 0; i < info.fColorTypeInfoCount; ++i) {
947 if (info.fColorTypeInfos[i].fColorType == ct) {
980 const auto& info = this->getFormatInfo(dxgiFormat);
981 for (int i = 0; i < info.fColorTypeInfoCount; ++i) {
982 const auto& ctInfo = info.fColorTypeInfos[i];
995 const auto& info = this->getFormatInfo(dxgiFormat);
996 for (int i = 0; i < info.fColorTypeInfoCount; ++i) {
997 const auto& ctInfo = info.fColorTypeInfos[i];
1031 const auto& info = this->getFormatInfo(dxgiFormat);
1032 for (int i = 0; i < info.fColorTypeInfoCount; ++i) {
1033 const auto& ctInfo = info.fColorTypeInfos[i];