Lines Matching defs:optimizations
71 const GrPipelineOptimizations& optimizations) {
74 xpf->createXferProcessor(optimizations, false, nullptr, caps));
75 TEST_ASSERT(!xpf->willNeedDstTexture(caps, optimizations, false));
76 xpf->getInvariantBlendedColor(optimizations.fColorPOI, &fBlendedColor);
77 fOptFlags = xp->getOptimizations(optimizations, false, nullptr, caps);
288 GrPipelineOptimizations optimizations;
289 optimizations.fColorPOI.calcWithInitialValues(nullptr, 0, 0, kNone_GrColorComponentFlags,
291 optimizations.fCoveragePOI.calcWithInitialValues(nullptr, 0, 0, kNone_GrColorComponentFlags,
294 SkASSERT(!optimizations.fColorPOI.isOpaque());
295 SkASSERT(!optimizations.fColorPOI.isSolidWhite());
296 SkASSERT(!optimizations.fCoveragePOI.isSolidWhite());
297 SkASSERT(!optimizations.fCoveragePOI.isFourChannelOutput());
301 const GrPorterDuffTest::XPInfo xpi(reporter, xfermode, caps, optimizations);
482 GrPipelineOptimizations optimizations;
483 optimizations.fColorPOI.calcWithInitialValues(nullptr, 0, GrColorPackRGBA(229, 0, 154, 0),
485 optimizations.fCoveragePOI.calcWithInitialValues(nullptr, 0, GrColorPackA4(255),
488 SkASSERT(!optimizations.fColorPOI.isOpaque());
489 SkASSERT(!optimizations.fColorPOI.isSolidWhite());
490 SkASSERT(optimizations.fCoveragePOI.isSolidWhite());
491 SkASSERT(!optimizations.fCoveragePOI.isFourChannelOutput());
495 const GrPorterDuffTest::XPInfo xpi(reporter, xfermode, caps, optimizations);
686 GrPipelineOptimizations optimizations;
687 optimizations.fColorPOI.calcWithInitialValues(nullptr, 0, GrColorPackA4(255),
689 optimizations.fCoveragePOI.calcWithInitialValues(nullptr, 0, 0, kNone_GrColorComponentFlags,
692 SkASSERT(optimizations.fColorPOI.isOpaque());
693 SkASSERT(!optimizations.fColorPOI.isSolidWhite());
694 SkASSERT(!optimizations.fCoveragePOI.isSolidWhite());
695 SkASSERT(!optimizations.fCoveragePOI.isFourChannelOutput());
699 const GrPorterDuffTest::XPInfo xpi(reporter, xfermode, caps, optimizations);
885 GrPipelineOptimizations optimizations;
886 optimizations.fColorPOI.calcWithInitialValues(nullptr, 0, GrColorPackRGBA(0, 82, 0, 255),
888 optimizations.fCoveragePOI.calcWithInitialValues(nullptr, 0, GrColorPackA4(255),
891 SkASSERT(optimizations.fColorPOI.isOpaque());
892 SkASSERT(!optimizations.fColorPOI.isSolidWhite());
893 SkASSERT(optimizations.fCoveragePOI.isSolidWhite());
894 SkASSERT(!optimizations.fCoveragePOI.isFourChannelOutput());
898 const GrPorterDuffTest::XPInfo xpi(reporter, xfermode, caps, optimizations);
1188 GrPipelineOptimizations optimizations;
1189 optimizations.fColorPOI.calcWithInitialValues(nullptr, 0, testColors[c], testColorFlags[c],
1193 optimizations.fCoveragePOI.calcWithInitialValues(nullptr, 0, 0,
1196 optimizations.fCoveragePOI.calcWithInitialValues(nullptr, 0, GrColorPackA4(255),
1203 xpf->willNeedDstTexture(caps, optimizations, false) ? &fakeDstTexture : 0;
1205 xpf->createXferProcessor(optimizations, false, dstTexture, caps));
1211 xp->getOptimizations(optimizations, false, 0, caps);