Home
last modified time | relevance | path

Searched refs:kRGBA_GrColorComponentFlags (Results 1 – 15 of 15) sorted by relevance

/external/skia/tests/
DGrGetCoeffBlendKnownComponentsTest.cpp44 src, kRGBA_GrColorComponentFlags, in DEF_TEST()
45 dst, kRGBA_GrColorComponentFlags, in DEF_TEST()
65 kRGBA_GrColorComponentFlags == outFlags); in DEF_TEST()
71 REPORTER_ASSERT(reporter, GrColor_WHITE == outColor && kRGBA_GrColorComponentFlags == outFlags); in DEF_TEST()
75 0x0000000, kRGBA_GrColorComponentFlags, in DEF_TEST()
76 0x80010203, kRGBA_GrColorComponentFlags, in DEF_TEST()
78 REPORTER_ASSERT(reporter, 0x80010203 == outColor && kRGBA_GrColorComponentFlags == outFlags); in DEF_TEST()
82 0x80010203, kRGBA_GrColorComponentFlags, in DEF_TEST()
84 REPORTER_ASSERT(reporter, 0x80010203 == outColor && kRGBA_GrColorComponentFlags == outFlags); in DEF_TEST()
89 0x0, kRGBA_GrColorComponentFlags, in DEF_TEST()
[all …]
DGrPorterDuffTest.cpp115 TEST_ASSERT(kRGBA_GrColorComponentFlags == xpi.fBlendedColor.fKnownColorFlags); in test_lcd_coverage()
308 TEST_ASSERT(kRGBA_GrColorComponentFlags == xpi.fBlendedColor.fKnownColorFlags); in test_color_unknown_with_coverage()
486 kRGBA_GrColorComponentFlags, true); in test_color_unknown_no_coverage()
501 TEST_ASSERT(kRGBA_GrColorComponentFlags == xpi.fBlendedColor.fKnownColorFlags); in test_color_unknown_no_coverage()
705 TEST_ASSERT(kRGBA_GrColorComponentFlags == xpi.fBlendedColor.fKnownColorFlags); in test_color_opaque_with_coverage()
802 TEST_ASSERT(kRGBA_GrColorComponentFlags == xpi.fBlendedColor.fKnownColorFlags); in test_color_opaque_with_coverage()
889 kRGBA_GrColorComponentFlags, true); in test_color_opaque_no_coverage()
904 TEST_ASSERT(kRGBA_GrColorComponentFlags == xpi.fBlendedColor.fKnownColorFlags); in test_color_opaque_no_coverage()
1007 TEST_ASSERT(kRGBA_GrColorComponentFlags == xpi.fBlendedColor.fKnownColorFlags); in test_color_opaque_no_coverage()
1121 SkASSERT(kRGBA_GrColorComponentFlags == colorPOI.validFlags()); in test_lcd_coverage_fallback_case()
[all …]
DGpuColorFilterTest.cpp57 kRGBA = kRGBA_GrColorComponentFlags in DEF_GPUTEST_FOR_ALL_CONTEXTS()
DGLProgramsTest.cpp135 inout->setToOther(kRGBA_GrColorComponentFlags, GrColor_WHITE, in onComputeInvariantOutput()
/external/skia/include/gpu/
DGrColor.h187 kRGBA_GrColorComponentFlags = (kR_GrColorComponentFlag | kG_GrColorComponentFlag | enumerator
215 kRGBA_GrColorComponentFlags, // kIndex_8_GrPixelConfig in GrPixelConfigComponentMask()
217 kRGBA_GrColorComponentFlags, // kRGBA_4444_GrPixelConfig in GrPixelConfigComponentMask()
218 kRGBA_GrColorComponentFlags, // kRGBA_8888_GrPixelConfig in GrPixelConfigComponentMask()
219 kRGBA_GrColorComponentFlags, // kBGRA_8888_GrPixelConfig in GrPixelConfigComponentMask()
220 kRGBA_GrColorComponentFlags, // kSRGBA_8888_GrPixelConfig in GrPixelConfigComponentMask()
224 kRGBA_GrColorComponentFlags, // kASTC_12x12_GrPixelConfig in GrPixelConfigComponentMask()
225 kRGBA_GrColorComponentFlags, // kRGBA_float_GrPixelConfig in GrPixelConfigComponentMask()
227 kRGBA_GrColorComponentFlags, // kRGBA_half_GrPixelConfig in GrPixelConfigComponentMask()
DGrInvariantOutput.h22 fValidFlags = kRGBA_GrColorComponentFlags; in setKnownFourComponents()
39 fValidFlags = kRGBA_GrColorComponentFlags; in setKnownSingleComponent()
145 if (kRGBA_GrColorComponentFlags == fValidFlags) { in mulByKnownFourComponents()
171 fValidFlags = kRGBA_GrColorComponentFlags; in mulAlphaByKnownFourComponents()
191 fValidFlags = kRGBA_GrColorComponentFlags; in mulAlphaByKnownSingleComponent()
220 if (kRGBA_GrColorComponentFlags == fValidFlags) { in setToOther()
283 fValidFlags = kRGBA_GrColorComponentFlags; in internalSetToTransparentBlack()
302 return (fValidFlags == kRGBA_GrColorComponentFlags && 0xFFFFFFFF == fColor); in isSolidWhite()
/external/skia/src/gpu/
DGrInvariantOutput.cpp14 SkASSERT(0 == fValidFlags || kRGBA_GrColorComponentFlags == fValidFlags); in validate()
15 if (kRGBA_GrColorComponentFlags == fValidFlags) { in validate()
DGrBlend.cpp33 kRGBA_GrColorComponentFlags : kNone_GrColorComponentFlags; in ExtractAlpha()
39 kRGBA_GrColorComponentFlags : kNone_GrColorComponentFlags; in ExtractInverseAlpha()
85 return MaskedColor(0, kRGBA_GrColorComponentFlags); in get_term()
DGrPaint.cpp50 kRGBA_GrColorComponentFlags, false); in isConstantBlendedColor()
62 if (kRGBA_GrColorComponentFlags == blendedColor.fKnownColorFlags) { in isConstantBlendedColor()
DGrFragmentProcessor.cpp177 GrInvariantOutput childOutput(GrColor_WHITE, kRGBA_GrColorComponentFlags, false); in MulOutputByInputUnpremulColor()
271 inout->setToOther(kRGBA_GrColorComponentFlags, fColor, in OverrideInput()
350 if (kRGBA_GrColorComponentFlags == info.validFlags()) { in RunInSeries()
DGrProcOptInfo.cpp59 if (kRGBA_GrColorComponentFlags == fInOut.validFlags()) { in internalCalc()
/external/skia/src/core/
DSkModeColorFilter.cpp112 GrInvariantOutput io(GrPremulColor(gRand.nextU()), kRGBA_GrColorComponentFlags, in asFragmentProcessor()
115 SkASSERT(io.validFlags() == kRGBA_GrColorComponentFlags); in asFragmentProcessor()
/external/skia/src/gpu/effects/
DGrPorterDuffXferProcessor.cpp663 if (kRGBA_GrColorComponentFlags != colorPOI.validFlags()) { in Create()
748 kRGBA_GrColorComponentFlags == optimizations.fColorPOI.validFlags() && in onCreateXferProcessor()
787 blendedColor->fKnownColorFlags = kRGBA_GrColorComponentFlags; in getInvariantBlendedColor()
813 kRGBA_GrColorComponentFlags == optimizations.fColorPOI.validFlags() && in onWillReadDstColor()
876 if (kRGBA_GrColorComponentFlags == optimizations.fColorPOI.validFlags() && in CreateSrcOverXferProcessor()
911 if (kRGBA_GrColorComponentFlags == optimizations.fColorPOI.validFlags() && in SrcOverWillNeedDstTexture()
DGrConstColorProcessor.cpp75 inout->setToOther(kRGBA_GrColorComponentFlags, fColor, in onComputeInvariantOutput()
DGrXfermodeFragmentProcessor.cpp183 GrInvariantOutput childOutput(0xFFFFFFFF, kRGBA_GrColorComponentFlags, false); in onComputeInvariantOutput()