Searched refs:GrColorUnpackR (Results 1 – 14 of 14) sorted by relevance
/external/skia/include/gpu/ |
D | GrColor.h | 68 #define GrColorUnpackR(color) (((color) >> GrColor_SHIFT_R) & 0xFF) macro 88 unsigned r = GrColorUnpackR(c); in GrColorIsPMAssert() 101 U8CPU r = GrColorUnpackR(c); in GrInvertColor() 108 U8CPU r = SkMulDiv255Round(GrColorUnpackR(c0), GrColorUnpackR(c1)); in GrColorMul() 116 unsigned r = SkTMin<unsigned>(GrColorUnpackR(c0) + GrColorUnpackR(c1), 0xff); in GrColorSatAdd() 126 rgba[0] = GrColorUnpackR(color) * ONE_OVER_255; in GrColorToRGBAFloat() 144 unsigned r = GrColorUnpackR(color); in GrPremulColor() 157 unsigned r = GrColorUnpackR(color); in GrUnpremulColor()
|
D | GrInvariantOutput.h | 123 fColor = GrColorPackRGBA(SkMulDiv255Round(GrColorUnpackR(fColor), alpha), in mulByKnownSingleComponent() 141 SkMulDiv255Round(GrColorUnpackR(fColor), GrColorUnpackR(color)), in mulByKnownFourComponents() 167 SkMulDiv255Round(preAlpha, GrColorUnpackR(color)), in mulAlphaByKnownFourComponents() 261 return *alpha == GrColorUnpackR(color) && *alpha == GrColorUnpackG(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 | 49 SkAbs32(GrColorUnpackR(baselineColor) - GrColorUnpackR(outColor)) > 1 || in DEF_TEST()
|
D | RectangleTextureTest.cpp | 110 expectedBytes0[0] = GrColorUnpackR(color0); in test_clear() 125 expectedBytes1[0] = GrColorUnpackR(color1); in test_clear()
|
D | VkClearTests.cpp | 32 GrColorUnpackR(clearColor), in does_full_buffer_contain_correct_color()
|
D | GrPorterDuffTest.cpp | 513 TEST_ASSERT(229 == GrColorUnpackR(xpi.fBlendedColor.fKnownColor)); in test_color_unknown_no_coverage()
|
/external/skia/src/gpu/effects/ |
D | GrConstColorProcessor.cpp | 54 GrColorUnpackR(color) * scale, in onSetData() 78 GrColor r = GrColorUnpackR(fColor); in onComputeInvariantOutput()
|
/external/skia/src/gpu/ |
D | GrInvariantOutput.cpp | 26 return(GrColorUnpackR(fColor) == colorA && in colorComponentsAllEqual()
|
D | GrFragmentProcessor.cpp | 189 color |= SkMulDiv255Round(GrColorUnpackR(c0), GrColorUnpackR(c1)) << in MulOutputByInputUnpremulColor() 243 GrColorUnpackR(color) * scale, in OverrideInput()
|
D | GrTextureToYUVPlanes.cpp | 188 uint32_t y = GrColorUnpackR(tempYUV.get()[j * yuvSize.fWidth + i]); in GrTextureToYUVPlanes() 224 uint32_t u = GrColorUnpackR(tempUV.get()[j * uvSize.fWidth + i]); in GrTextureToYUVPlanes()
|
D | GrBlend.cpp | 62 if ((kR_GrColorComponentFlag & fFlags) && value == GrColorUnpackR(fColor)) { in componentsWithValue()
|
/external/skia/src/gpu/batches/ |
D | GrAtlasTextBatch.cpp | 274 (*fDistanceAdjustTable)[GrColorUnpackR(colorNoPreMul) >> kDistanceAdjustLumShift]; in setupDfProcessor()
|
/external/skia/src/gpu/gl/ |
D | GrGLGpu.cpp | 2044 r = GrColorUnpackR(color) * scaleRGB; in onClear() 3623 channels[0] = GrColorUnpackR(color) * scale255; in drawDebugWireRect()
|