Home
last modified time | relevance | path

Searched refs:kA_GrColorComponentFlag (Results 1 – 10 of 10) sorted by relevance

/external/skia/tests/
DGrGetCoeffBlendKnownComponentsTest.cpp68 0x80FF0100, (kG_GrColorComponentFlag | kB_GrColorComponentFlag | kA_GrColorComponentFlag), in DEF_TEST()
69 0x7F00FFFF, (kR_GrColorComponentFlag | kG_GrColorComponentFlag | kA_GrColorComponentFlag), in DEF_TEST()
81 0x0000000, kA_GrColorComponentFlag, in DEF_TEST()
95 0xFF808080, (kG_GrColorComponentFlag | kB_GrColorComponentFlag | kA_GrColorComponentFlag), in DEF_TEST()
99 … (kG_GrColorComponentFlag | kB_GrColorComponentFlag | kA_GrColorComponentFlag) == outFlags && in DEF_TEST()
DGpuColorFilterTest.cpp30 if (flags & kA_GrColorComponentFlag) { in filterColor()
55 kA = kA_GrColorComponentFlag, in DEF_GPUTEST_FOR_ALL_CONTEXTS()
DGrPorterDuffTest.cpp688 kA_GrColorComponentFlag, false); in test_color_opaque_with_coverage()
717 TEST_ASSERT(kA_GrColorComponentFlag == xpi.fBlendedColor.fKnownColorFlags); in test_color_opaque_with_coverage()
743 TEST_ASSERT(kA_GrColorComponentFlag == xpi.fBlendedColor.fKnownColorFlags); in test_color_opaque_with_coverage()
887 kG_GrColorComponentFlag | kA_GrColorComponentFlag, false); in test_color_opaque_no_coverage()
919 kA_GrColorComponentFlag) == xpi.fBlendedColor.fKnownColorFlags); in test_color_opaque_no_coverage()
947 kA_GrColorComponentFlag) == xpi.fBlendedColor.fKnownColorFlags); in test_color_opaque_no_coverage()
1182 kG_GrColorComponentFlag | kA_GrColorComponentFlag,
/external/skia/include/gpu/
DGrColor.h180 kA_GrColorComponentFlag = 1 << (GrColor_SHIFT_A / 8), enumerator
188 kB_GrColorComponentFlag | kA_GrColorComponentFlag)
202 case kA_GrColorComponentFlag: in GR_MAKE_BITFIELD_OPS()
214 kA_GrColorComponentFlag, // kAlpha_8_GrPixelConfig in GrPixelConfigComponentMask()
222 kA_GrColorComponentFlag, // kLATC_GrPixelConfig in GrPixelConfigComponentMask()
223 kA_GrColorComponentFlag, // kR11_EAC_GrPixelConfig in GrPixelConfigComponentMask()
226 kA_GrColorComponentFlag, // kAlpha_16_GrPixelConfig in GrPixelConfigComponentMask()
DGrInvariantOutput.h33 fValidFlags = kA_GrColorComponentFlag; in setUnknownOpaqueFourComponents()
85 fValidFlags = kA_GrColorComponentFlag; in mulByUnknownOpaqueFourComponents()
159 } else if (fValidFlags & kA_GrColorComponentFlag) { in mulAlphaByKnownFourComponents()
187 if (fValidFlags & kA_GrColorComponentFlag) { in mulAlphaByKnownSingleComponent()
294 return ((fValidFlags & kA_GrColorComponentFlag) && 0 == GrColorUnpackA(fColor)); in hasZeroAlpha()
298 return ((fValidFlags & kA_GrColorComponentFlag) && 0xFF == GrColorUnpackA(fColor)); in isOpaque()
/external/skia/src/gpu/
DGrBlend.cpp32 GrColorComponentFlags flags = (in.fFlags & kA_GrColorComponentFlag) ? in ExtractAlpha()
38 GrColorComponentFlags flags = (in.fFlags & kA_GrColorComponentFlag) ? in ExtractInverseAlpha()
71 if ((kA_GrColorComponentFlag & fFlags) && value == GrColorUnpackA(fColor)) { in componentsWithValue()
72 flags |= kA_GrColorComponentFlag; in componentsWithValue()
DGrFragmentProcessor.cpp172 if (!(inout->validFlags() & kA_GrColorComponentFlag)) { in MulOutputByInputUnpremulColor()
/external/skia/src/core/
DSkColorMatrixFilterRowMajor255.cpp344 kA_GrColorComponentFlag in onComputeInvariantOutput()
373 inout->setToOther(kA_GrColorComponentFlag, in onComputeInvariantOutput()
/external/skia/src/gpu/effects/
DGrYUVEffect.cpp178 inout->setToOther(kA_GrColorComponentFlag, 0xFF << GrColor_SHIFT_A, in onComputeInvariantOutput()
/external/skia/src/effects/
DSkTableColorFilter.cpp532 invalidateFlags |= kA_GrColorComponentFlag; in onComputeInvariantOutput()