Searched refs:GrColorUnpackR (Results 1 - 14 of 14) sorted by relevance

/external/skia/src/gpu/
H A DGrInvariantOutput.cpp26 return(GrColorUnpackR(fColor) == colorA &&
H A DGrFragmentProcessor.cpp189 color |= SkMulDiv255Round(GrColorUnpackR(c0), GrColorUnpackR(c1)) <<
243 GrColorUnpackR(color) * scale,
H A DGrBlend.cpp62 if ((kR_GrColorComponentFlag & fFlags) && value == GrColorUnpackR(fColor)) {
H A DGrTextureToYUVPlanes.cpp188 uint32_t y = GrColorUnpackR(tempYUV.get()[j * yuvSize.fWidth + i]);
224 uint32_t u = GrColorUnpackR(tempUV.get()[j * uvSize.fWidth + i]);
/external/skia/include/gpu/
H A DGrColor.h68 #define GrColorUnpackR(color) (((color) >> GrColor_SHIFT_R) & 0xFF) macro
88 unsigned r = GrColorUnpackR(c);
101 U8CPU r = GrColorUnpackR(c);
108 U8CPU r = SkMulDiv255Round(GrColorUnpackR(c0), GrColorUnpackR(c1));
116 unsigned r = SkTMin<unsigned>(GrColorUnpackR(c0) + GrColorUnpackR(c1), 0xff);
126 rgba[0] = GrColorUnpackR(color) * ONE_OVER_255;
144 unsigned r = GrColorUnpackR(color);
157 unsigned r = GrColorUnpackR(colo
[all...]
H A DGrInvariantOutput.h123 fColor = GrColorPackRGBA(SkMulDiv255Round(GrColorUnpackR(fColor), alpha),
141 SkMulDiv255Round(GrColorUnpackR(fColor), GrColorUnpackR(color)),
167 SkMulDiv255Round(preAlpha, GrColorUnpackR(color)),
261 return *alpha == GrColorUnpackR(color) && *alpha == GrColorUnpackG(color) &&
H A DSkGr.h58 return SkPackARGB32(GrColorUnpackA(c), GrColorUnpackR(c), GrColorUnpackG(c), GrColorUnpackB(c));
/external/skia/tests/
H A DGrGetCoeffBlendKnownComponentsTest.cpp49 SkAbs32(GrColorUnpackR(baselineColor) - GrColorUnpackR(outColor)) > 1 ||
H A DRectangleTextureTest.cpp110 expectedBytes0[0] = GrColorUnpackR(color0);
125 expectedBytes1[0] = GrColorUnpackR(color1);
H A DVkClearTests.cpp32 GrColorUnpackR(clearColor),
H A DGrPorterDuffTest.cpp513 TEST_ASSERT(229 == GrColorUnpackR(xpi.fBlendedColor.fKnownColor));
/external/skia/src/gpu/effects/
H A DGrConstColorProcessor.cpp54 GrColorUnpackR(color) * scale,
78 GrColor r = GrColorUnpackR(fColor);
/external/skia/src/gpu/batches/
H A DGrAtlasTextBatch.cpp274 (*fDistanceAdjustTable)[GrColorUnpackR(colorNoPreMul) >> kDistanceAdjustLumShift];
/external/skia/src/gpu/gl/
H A DGrGLGpu.cpp2044 r = GrColorUnpackR(color) * scaleRGB;
3623 channels[0] = GrColorUnpackR(color) * scale255;

Completed in 3685 milliseconds