Searched refs:GrColorUnpackG (Results 1 – 15 of 15) sorted by relevance
/external/skia/include/gpu/ |
D | GrColor.h | 69 #define GrColorUnpackG(color) (((color) >> GrColor_SHIFT_G) & 0xFF) macro 89 unsigned g = GrColorUnpackG(c); in GrColorIsPMAssert() 102 U8CPU g = GrColorUnpackG(c); in GrInvertColor() 109 U8CPU g = SkMulDiv255Round(GrColorUnpackG(c0), GrColorUnpackG(c1)); in GrColorMul() 117 unsigned g = SkTMin<unsigned>(GrColorUnpackG(c0) + GrColorUnpackG(c1), 0xff); in GrColorSatAdd() 127 rgba[1] = GrColorUnpackG(color) * ONE_OVER_255; in GrColorToRGBAFloat() 145 unsigned g = GrColorUnpackG(color); in GrPremulColor() 158 unsigned g = GrColorUnpackG(color); in GrUnpremulColor()
|
D | GrInvariantOutput.h | 124 SkMulDiv255Round(GrColorUnpackG(fColor), alpha), in mulByKnownSingleComponent() 142 SkMulDiv255Round(GrColorUnpackG(fColor), GrColorUnpackG(color)), in mulByKnownFourComponents() 168 SkMulDiv255Round(preAlpha, GrColorUnpackG(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 | 50 SkAbs32(GrColorUnpackG(baselineColor) - GrColorUnpackG(outColor)) > 1 || in DEF_TEST()
|
D | TextureStorageAllocator.cpp | 80 REPORTER_ASSERT(reporter, GrColorUnpackG(dest) == 0); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 88 REPORTER_ASSERT(reporter, GrColorUnpackG(dest) == 255); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
D | RectangleTextureTest.cpp | 111 expectedBytes0[1] = GrColorUnpackG(color0); in test_clear() 126 expectedBytes1[1] = GrColorUnpackG(color1); in test_clear()
|
D | VkClearTests.cpp | 31 GrColorUnpackG(clearColor), in does_full_buffer_contain_correct_color()
|
D | GrPorterDuffTest.cpp | 916 TEST_ASSERT(82 == GrColorUnpackG(xpi.fBlendedColor.fKnownColor)); in test_color_opaque_no_coverage() 944 TEST_ASSERT(82 == GrColorUnpackG(xpi.fBlendedColor.fKnownColor)); in test_color_opaque_no_coverage()
|
/external/skia/src/gpu/effects/ |
D | GrConstColorProcessor.cpp | 55 GrColorUnpackG(color) * scale, in onSetData() 79 bool colorIsSingleChannel = r == GrColorUnpackG(fColor) && r == GrColorUnpackB(fColor) && in onComputeInvariantOutput()
|
/external/skia/src/gpu/ |
D | GrInvariantOutput.cpp | 27 GrColorUnpackG(fColor) == colorA && in colorComponentsAllEqual()
|
D | GrFragmentProcessor.cpp | 193 color |= SkMulDiv255Round(GrColorUnpackG(c0), GrColorUnpackG(c1)) << in MulOutputByInputUnpremulColor() 244 GrColorUnpackG(color) * scale, in OverrideInput()
|
D | GrTextureToYUVPlanes.cpp | 189 uint32_t u = GrColorUnpackG(tempYUV.get()[j * yuvSize.fWidth + i]); in GrTextureToYUVPlanes() 225 uint32_t v = GrColorUnpackG(tempUV.get()[j * uvSize.fWidth + i]); in GrTextureToYUVPlanes()
|
D | GrBlend.cpp | 65 if ((kG_GrColorComponentFlag & fFlags) && value == GrColorUnpackG(fColor)) { in componentsWithValue()
|
/external/skia/src/gpu/batches/ |
D | GrAtlasTextBatch.cpp | 276 (*fDistanceAdjustTable)[GrColorUnpackG(colorNoPreMul) >> kDistanceAdjustLumShift]; in setupDfProcessor()
|
/external/skia/src/gpu/gl/ |
D | GrGLGpu.cpp | 2045 g = GrColorUnpackG(color) * scaleRGB; in onClear() 3624 channels[1] = GrColorUnpackG(color) * scale255; in drawDebugWireRect()
|