Searched refs:GrColorUnpackB (Results 1 – 14 of 14) sorted by relevance
/external/skia/include/gpu/ |
D | GrColor.h | 70 #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()
|
D | GrInvariantOutput.h | 125 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()
|
D | SkGr.h | 58 return SkPackARGB32(GrColorUnpackA(c), GrColorUnpackR(c), GrColorUnpackG(c), GrColorUnpackB(c)); in GrColorToSkPMColor()
|
/external/skia/tests/ |
D | GrGetCoeffBlendKnownComponentsTest.cpp | 51 SkAbs32(GrColorUnpackB(baselineColor) - GrColorUnpackB(outColor)) > 1) { in DEF_TEST()
|
D | RectangleTextureTest.cpp | 112 expectedBytes0[2] = GrColorUnpackB(color0); in test_clear() 127 expectedBytes1[2] = GrColorUnpackB(color1); in test_clear()
|
D | VkClearTests.cpp | 30 matchColor = GrColorPackRGBA(GrColorUnpackB(clearColor), in does_full_buffer_contain_correct_color()
|
D | GrPorterDuffTest.cpp | 514 TEST_ASSERT(154 == GrColorUnpackB(xpi.fBlendedColor.fKnownColor)); in test_color_unknown_no_coverage()
|
/external/skia/src/gpu/effects/ |
D | GrConstColorProcessor.cpp | 56 GrColorUnpackB(color) * scale, in onSetData() 79 bool colorIsSingleChannel = r == GrColorUnpackG(fColor) && r == GrColorUnpackB(fColor) && in onComputeInvariantOutput()
|
/external/skia/src/gpu/ |
D | GrInvariantOutput.cpp | 28 GrColorUnpackB(fColor) == colorA); in colorComponentsAllEqual()
|
D | GrFragmentProcessor.cpp | 197 color |= SkMulDiv255Round(GrColorUnpackB(c0), GrColorUnpackB(c1)) << in MulOutputByInputUnpremulColor() 245 GrColorUnpackB(color) * scale, in OverrideInput()
|
D | GrBlend.cpp | 68 if ((kB_GrColorComponentFlag & fFlags) && value == GrColorUnpackB(fColor)) { in componentsWithValue()
|
D | GrTextureToYUVPlanes.cpp | 190 uint32_t v = GrColorUnpackB(tempYUV.get()[j * yuvSize.fWidth + i]); in GrTextureToYUVPlanes()
|
/external/skia/src/gpu/batches/ |
D | GrAtlasTextBatch.cpp | 278 (*fDistanceAdjustTable)[GrColorUnpackB(colorNoPreMul) >> kDistanceAdjustLumShift]; in setupDfProcessor()
|
/external/skia/src/gpu/gl/ |
D | GrGLGpu.cpp | 2046 b = GrColorUnpackB(color) * scaleRGB; in onClear() 3625 channels[2] = GrColorUnpackB(color) * scale255; in drawDebugWireRect()
|