Lines Matching refs:ctInfo
310 const auto& ctInfo = formatInfo.fColorTypeInfos[j];
311 if (ctInfo.fColorType == colorType &&
312 !SkToBool(ctInfo.fFlags & ColorTypeInfo::kWrappedOnly_Flag)) {
373 auto& ctInfo = info.fColorTypeInfos[ctIdx++];
374 ctInfo.fColorType = ct;
375 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kRenderable_Flag;
380 auto& ctInfo = info.fColorTypeInfos[ctIdx++];
381 ctInfo.fColorType = ct;
382 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag;
383 ctInfo.fReadSwizzle = GrSwizzle("rgb1");
401 auto& ctInfo = info.fColorTypeInfos[ctIdx++];
402 ctInfo.fColorType = ct;
403 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kRenderable_Flag;
404 ctInfo.fReadSwizzle = GrSwizzle("000r");
405 ctInfo.fWriteSwizzle = GrSwizzle("a000");
410 auto& ctInfo = info.fColorTypeInfos[ctIdx++];
411 ctInfo.fColorType = ct;
412 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag;
413 ctInfo.fReadSwizzle = GrSwizzle("rrr1");
430 auto& ctInfo = info.fColorTypeInfos[ctIdx++];
431 ctInfo.fColorType = ct;
432 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kRenderable_Flag;
449 auto& ctInfo = info.fColorTypeInfos[ctIdx++];
450 ctInfo.fColorType = ct;
451 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kRenderable_Flag;
468 auto& ctInfo = info.fColorTypeInfos[ctIdx++];
469 ctInfo.fColorType = ct;
470 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kRenderable_Flag;
475 auto& ctInfo = info.fColorTypeInfos[ctIdx++];
476 ctInfo.fColorType = ct;
477 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kRenderable_Flag;
494 auto& ctInfo = info.fColorTypeInfos[ctIdx++];
495 ctInfo.fColorType = ct;
496 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kRenderable_Flag;
497 ctInfo.fReadSwizzle = GrSwizzle("000r");
498 ctInfo.fWriteSwizzle = GrSwizzle("a000");
515 auto& ctInfo = info.fColorTypeInfos[ctIdx++];
516 ctInfo.fColorType = ct;
517 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kRenderable_Flag;
534 auto& ctInfo = info.fColorTypeInfos[ctIdx++];
535 ctInfo.fColorType = ct;
536 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kRenderable_Flag;
553 auto& ctInfo = info.fColorTypeInfos[ctIdx++];
554 ctInfo.fColorType = ct;
555 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kRenderable_Flag;
556 ctInfo.fReadSwizzle = GrSwizzle("argb");
557 ctInfo.fWriteSwizzle = GrSwizzle("gbar");
574 auto& ctInfo = info.fColorTypeInfos[ctIdx++];
575 ctInfo.fColorType = ct;
576 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kRenderable_Flag;
593 auto& ctInfo = info.fColorTypeInfos[ctIdx++];
594 ctInfo.fColorType = ct;
595 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kRenderable_Flag;
596 ctInfo.fReadSwizzle = GrSwizzle("000r");
597 ctInfo.fWriteSwizzle = GrSwizzle("a000");
614 auto& ctInfo = info.fColorTypeInfos[ctIdx++];
615 ctInfo.fColorType = ct;
616 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kRenderable_Flag;
633 auto& ctInfo = info.fColorTypeInfos[ctIdx++];
634 ctInfo.fColorType = ct;
635 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kRenderable_Flag;
652 auto& ctInfo = info.fColorTypeInfos[ctIdx++];
653 ctInfo.fColorType = ct;
654 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kRenderable_Flag;
903 const auto& ctInfo = info.fColorTypeInfos[i];
904 if (ctInfo.fColorType == surfaceColorType) {
982 const auto& ctInfo = info.fColorTypeInfos[i];
983 if (ctInfo.fColorType == colorType) {
984 return ctInfo.fReadSwizzle;
997 const auto& ctInfo = info.fColorTypeInfos[i];
998 if (ctInfo.fColorType == colorType) {
999 return ctInfo.fWriteSwizzle;
1033 const auto& ctInfo = info.fColorTypeInfos[i];
1034 if (ctInfo.fColorType == srcColorType) {