Home
last modified time | relevance | path

Searched refs:GrColorUnpackB (Results 1 – 14 of 14) sorted by relevance

/external/skia/include/gpu/
DGrColor.h70 #define GrColorUnpackB(color) (((color) >> GrColor_SHIFT_B) & 0xFF) macro
90 unsigned b = GrColorUnpackB(c); in GrColorIsPMAssert()
103 U8CPU b = GrColorUnpackB(c); in GrInvertColor()
110 U8CPU b = SkMulDiv255Round(GrColorUnpackB(c0), GrColorUnpackB(c1)); in GrColorMul()
118 unsigned b = SkTMin<unsigned>(GrColorUnpackB(c0) + GrColorUnpackB(c1), 0xff); in GrColorSatAdd()
128 rgba[2] = GrColorUnpackB(color) * ONE_OVER_255; in GrColorToRGBAFloat()
146 unsigned b = GrColorUnpackB(color); in GrPremulColor()
159 unsigned b = GrColorUnpackB(color); in GrUnpremulColor()
DGrInvariantOutput.h125 SkMulDiv255Round(GrColorUnpackB(fColor), alpha), in mulByKnownSingleComponent()
143 SkMulDiv255Round(GrColorUnpackB(fColor), GrColorUnpackB(color)), in mulByKnownFourComponents()
169 SkMulDiv255Round(preAlpha, GrColorUnpackB(color)), in mulAlphaByKnownFourComponents()
262 *alpha == GrColorUnpackB(color); in GetAlphaAndCheckSingleChannel()
DSkGr.h58 return SkPackARGB32(GrColorUnpackA(c), GrColorUnpackR(c), GrColorUnpackG(c), GrColorUnpackB(c)); in GrColorToSkPMColor()
/external/skia/tests/
DGrGetCoeffBlendKnownComponentsTest.cpp51 SkAbs32(GrColorUnpackB(baselineColor) - GrColorUnpackB(outColor)) > 1) { in DEF_TEST()
DRectangleTextureTest.cpp112 expectedBytes0[2] = GrColorUnpackB(color0); in test_clear()
127 expectedBytes1[2] = GrColorUnpackB(color1); in test_clear()
DVkClearTests.cpp30 matchColor = GrColorPackRGBA(GrColorUnpackB(clearColor), in does_full_buffer_contain_correct_color()
DGrPorterDuffTest.cpp514 TEST_ASSERT(154 == GrColorUnpackB(xpi.fBlendedColor.fKnownColor)); in test_color_unknown_no_coverage()
/external/skia/src/gpu/effects/
DGrConstColorProcessor.cpp56 GrColorUnpackB(color) * scale, in onSetData()
79 bool colorIsSingleChannel = r == GrColorUnpackG(fColor) && r == GrColorUnpackB(fColor) && in onComputeInvariantOutput()
/external/skia/src/gpu/
DGrInvariantOutput.cpp28 GrColorUnpackB(fColor) == colorA); in colorComponentsAllEqual()
DGrFragmentProcessor.cpp197 color |= SkMulDiv255Round(GrColorUnpackB(c0), GrColorUnpackB(c1)) << in MulOutputByInputUnpremulColor()
245 GrColorUnpackB(color) * scale, in OverrideInput()
DGrBlend.cpp68 if ((kB_GrColorComponentFlag & fFlags) && value == GrColorUnpackB(fColor)) { in componentsWithValue()
DGrTextureToYUVPlanes.cpp190 uint32_t v = GrColorUnpackB(tempYUV.get()[j * yuvSize.fWidth + i]); in GrTextureToYUVPlanes()
/external/skia/src/gpu/batches/
DGrAtlasTextBatch.cpp278 (*fDistanceAdjustTable)[GrColorUnpackB(colorNoPreMul) >> kDistanceAdjustLumShift]; in setupDfProcessor()
/external/skia/src/gpu/gl/
DGrGLGpu.cpp2046 b = GrColorUnpackB(color) * scaleRGB; in onClear()
3625 channels[2] = GrColorUnpackB(color) * scale255; in drawDebugWireRect()