Home
last modified time | relevance | path

Searched refs:GrColorPackRGBA (Results 1 – 13 of 13) sorted by relevance

/external/skia/tests/
DGpuColorFilterTest.cpp82 …kColorSetARGB(128, 200, 200, 200), SkXfermode::kSrcOver_Mode, kRGBA, GrColorPackRGBA(164, 164, 164… in test_getConstantColorComponents()
84 …kColorSetARGB(128, 200, 200, 200), SkXfermode::kSrcOver_Mode, kA , GrColorPackRGBA(0, 0, 0, 192)… in test_getConstantColorComponents()
86 …SkColorSetARGB(128, 200, 200, 200), SkXfermode::kSrcOver_Mode, kRGB, GrColorPackRGBA(164, 164, 164… in test_getConstantColorComponents()
89 …kColorSetARGB(128, 200, 200, 200), SkXfermode::kDstOver_Mode, kRGBA, GrColorPackRGBA(178, 178, 178… in test_getConstantColorComponents()
91 …kColorSetARGB(128, 200, 200, 200), SkXfermode::kDstOver_Mode, kA , GrColorPackRGBA(0, 0, 0, 192)… in test_getConstantColorComponents()
96 …ColorSetARGB(128, 200, 200, 200), SkXfermode::kModulate_Mode, kR|kA, GrColorPackRGBA(50, 0, 0, 64)… in test_getConstantColorComponents()
/external/skia/include/gpu/
DGrTestUtils.h55 color = GrColorPackRGBA(0xFF, 0xFF, 0xFF, 0xFF); in GrRandomColor()
58 color = GrColorPackRGBA(0, 0, 0, 0); in GrRandomColor()
61 color = GrColorPackRGBA(random->nextULessThan(256), in GrRandomColor()
68 color = GrColorPackRGBA(random->nextRangeU(0, alpha), in GrRandomColor()
DGrInvariantOutput.h38 fColor = GrColorPackRGBA(alpha, alpha, alpha, alpha); in setKnownSingleComponent()
122 fColor = GrColorPackRGBA(SkMulDiv255Round(GrColorUnpackR(fColor), alpha), in mulByKnownSingleComponent()
139 fColor = GrColorPackRGBA( in mulByKnownFourComponents()
165 fColor = GrColorPackRGBA( in mulAlphaByKnownFourComponents()
189 fColor = GrColorPackRGBA(a, a, a, a); in mulAlphaByKnownSingleComponent()
DSkGr.h61 return GrColorPackRGBA(r, g, b, a); in SkColor2GrColor()
66 return GrColorPackRGBA(a, a, a, a); in SkColor2GrColorJustAlpha()
DGrColor.h44 static inline GrColor GrColorPackRGBA(unsigned r, unsigned g, unsigned b, unsigned a) { in GrColorPackRGBA() function
132 return GrColorPackRGBA(r, g, b, a); in GrUnPreMulColor()
/external/skia/experimental/AndroidPathRenderer/
DGrAndroidPathRenderer.cpp75 outVert->color = GrColorPackRGBA(coverage, coverage, coverage, coverage); in onDrawPath()
/external/skia/src/effects/
DSkLumaColorFilter.cpp117 inout->setToOther(kRGB_GrColorComponentFlags, GrColorPackRGBA(0, 0, 0, 0), in onComputeInvariantOutput()
DSkColorFilters.cpp307 return GrColorPackRGBA(color_component_to_int(fColor[0]), in getColor()
358 GrColor color = GrColorPackRGBA(rand->nextRangeU(0, alpha), in TestCreate()
DSkPerlinNoiseShader.cpp963 *paintColor = GrColorPackRGBA(rgb, rgb, rgb, alpha); in asFragmentProcessor()
/external/skia/src/gpu/
DGrBlend.cpp49 return GrColorPackRGBA(r, g, b, a); in add_colors()
DGrAtlasTextContext.cpp88 return GrColorPackRGBA(r, g, b, 0xff); in skcolor_to_grcolor_nopremultiply()
/external/skia/src/gpu/effects/
DGrConstColorProcessor.cpp120 color = GrColorPackRGBA(r, g, b, a); in TestCreate()
DGrPorterDuffXferProcessor.cpp583 *overrideColor = GrColorPackRGBA(fAlpha, fAlpha, fAlpha, fAlpha); in onGetOptimizations()