Lines Matching refs:ctInfo
305 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()
396 auto& ctInfo = info.fColorTypeInfos[ctIdx++]; in initFormatTable() local
397 ctInfo.fColorType = ct; in initFormatTable()
398 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kRenderable_Flag; in initFormatTable()
399 ctInfo.fReadSwizzle = GrSwizzle("000r"); in initFormatTable()
400 ctInfo.fWriteSwizzle = GrSwizzle("a000"); in initFormatTable()
405 auto& ctInfo = info.fColorTypeInfos[ctIdx++]; in initFormatTable() local
406 ctInfo.fColorType = ct; in initFormatTable()
407 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag; in initFormatTable()
408 ctInfo.fReadSwizzle = GrSwizzle("rrr1"); in initFormatTable()
425 auto& ctInfo = info.fColorTypeInfos[ctIdx++]; in initFormatTable() local
426 ctInfo.fColorType = ct; in initFormatTable()
427 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kRenderable_Flag; in initFormatTable()
444 auto& ctInfo = info.fColorTypeInfos[ctIdx++]; in initFormatTable() local
445 ctInfo.fColorType = ct; in initFormatTable()
446 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kRenderable_Flag; in initFormatTable()
463 auto& ctInfo = info.fColorTypeInfos[ctIdx++]; in initFormatTable() local
464 ctInfo.fColorType = ct; in initFormatTable()
465 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kRenderable_Flag; in initFormatTable()
470 auto& ctInfo = info.fColorTypeInfos[ctIdx++]; in initFormatTable() local
471 ctInfo.fColorType = ct; in initFormatTable()
472 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kRenderable_Flag; in initFormatTable()
489 auto& ctInfo = info.fColorTypeInfos[ctIdx++]; in initFormatTable() local
490 ctInfo.fColorType = ct; in initFormatTable()
491 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kRenderable_Flag; in initFormatTable()
492 ctInfo.fReadSwizzle = GrSwizzle("000r"); in initFormatTable()
493 ctInfo.fWriteSwizzle = GrSwizzle("a000"); in initFormatTable()
510 auto& ctInfo = info.fColorTypeInfos[ctIdx++]; in initFormatTable() local
511 ctInfo.fColorType = ct; in initFormatTable()
512 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kRenderable_Flag; in initFormatTable()
529 auto& ctInfo = info.fColorTypeInfos[ctIdx++]; in initFormatTable() local
530 ctInfo.fColorType = ct; in initFormatTable()
531 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kRenderable_Flag; in initFormatTable()
548 auto& ctInfo = info.fColorTypeInfos[ctIdx++]; in initFormatTable() local
549 ctInfo.fColorType = ct; in initFormatTable()
550 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kRenderable_Flag; in initFormatTable()
551 ctInfo.fReadSwizzle = GrSwizzle("argb"); in initFormatTable()
552 ctInfo.fWriteSwizzle = GrSwizzle("gbar"); in initFormatTable()
569 auto& ctInfo = info.fColorTypeInfos[ctIdx++]; in initFormatTable() local
570 ctInfo.fColorType = ct; in initFormatTable()
571 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kRenderable_Flag; in initFormatTable()
588 auto& ctInfo = info.fColorTypeInfos[ctIdx++]; in initFormatTable() local
589 ctInfo.fColorType = ct; in initFormatTable()
590 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kRenderable_Flag; in initFormatTable()
591 ctInfo.fReadSwizzle = GrSwizzle("000r"); in initFormatTable()
592 ctInfo.fWriteSwizzle = GrSwizzle("a000"); in initFormatTable()
609 auto& ctInfo = info.fColorTypeInfos[ctIdx++]; in initFormatTable() local
610 ctInfo.fColorType = ct; in initFormatTable()
611 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kRenderable_Flag; in initFormatTable()
628 auto& ctInfo = info.fColorTypeInfos[ctIdx++]; in initFormatTable() local
629 ctInfo.fColorType = ct; in initFormatTable()
630 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kRenderable_Flag; in initFormatTable()
647 auto& ctInfo = info.fColorTypeInfos[ctIdx++]; in initFormatTable() local
648 ctInfo.fColorType = ct; in initFormatTable()
649 ctInfo.fFlags = ColorTypeInfo::kUploadData_Flag | ColorTypeInfo::kRenderable_Flag; in initFormatTable()
899 const auto& ctInfo = info.fColorTypeInfos[i]; in supportedWritePixelsColorType() local
900 if (ctInfo.fColorType == surfaceColorType) { in supportedWritePixelsColorType()
978 const auto& ctInfo = info.fColorTypeInfos[i]; in onGetReadSwizzle() local
979 if (ctInfo.fColorType == colorType) { in onGetReadSwizzle()
980 return ctInfo.fReadSwizzle; in onGetReadSwizzle()
992 const auto& ctInfo = info.fColorTypeInfos[i]; in getWriteSwizzle() local
993 if (ctInfo.fColorType == colorType) { in getWriteSwizzle()
994 return ctInfo.fWriteSwizzle; in getWriteSwizzle()
1027 const auto& ctInfo = info.fColorTypeInfos[i]; in onSupportedReadPixelsColorType() local
1028 if (ctInfo.fColorType == srcColorType) { in onSupportedReadPixelsColorType()