Home
last modified time | relevance | path

Searched refs:GrColorUnpackR (Results 1 – 10 of 10) sorted by relevance

/external/skia/include/gpu/
DGrColor.h68 #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()
/external/skia/tests/
DGrGetCoeffBlendKnownComponentsTest.cpp18 return SkPackARGB32(GrColorUnpackA(c), GrColorUnpackR(c), GrColorUnpackG(c), GrColorUnpackB(c)); in GrColorToSkPMColor()
57 SkAbs32(GrColorUnpackR(baselineColor) - GrColorUnpackR(outColor)) > 1 || in DEF_TEST()
DPackedConfigsTextureTest.cpp67 testComp = GrColorUnpackR(test); in check_4444()
92 testComp = GrColorUnpackR(test); in check_565()
DRectangleTextureTest.cpp59 expectedBytes0[0] = GrColorUnpackR(color0); in test_clear()
74 expectedBytes1[0] = GrColorUnpackR(color1); in test_clear()
DProcessorTest.cpp382 GrColorUnpackR(output) <= GrColorUnpackR(input) && in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
387 GrColorUnpackR(output) <= GrColorUnpackA(input) && in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
DVkClearTests.cpp33 GrColorUnpackR(clearColor), in does_full_buffer_contain_correct_color()
/external/skia/src/gpu/
DGrTextureToYUVPlanes.cpp181 uint32_t y = GrColorUnpackR(tempYUV.get()[j * yuvSize.fWidth + i]); in GrTextureToYUVPlanes()
222 uint32_t u = GrColorUnpackR(tempUV.get()[j * uvSize.fWidth + i]); in GrTextureToYUVPlanes()
DGrBlend.cpp62 if ((kR_GrColorComponentFlag & fFlags) && value == GrColorUnpackR(fColor)) { in componentsWithValue()
/external/skia/src/gpu/ops/
DGrAtlasTextOp.cpp243 GrColorUnpackR(colorNoPreMul) >> kDistanceAdjustLumShift, in setupDfProcessor()
/external/skia/src/gpu/gl/
DGrGLGpu.cpp2092 r = GrColorUnpackR(color) * scaleRGB; in clear()
3907 channels[0] = GrColorUnpackR(color) * scale255; in drawDebugWireRect()