Home
last modified time | relevance | path

Searched refs:GrColorUnpackB (Results 1 – 10 of 10) 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()
/external/skia/tests/
DGrGetCoeffBlendKnownComponentsTest.cpp18 return SkPackARGB32(GrColorUnpackA(c), GrColorUnpackR(c), GrColorUnpackG(c), GrColorUnpackB(c)); in GrColorToSkPMColor()
59 SkAbs32(GrColorUnpackB(baselineColor) - GrColorUnpackB(outColor)) > 1) { in DEF_TEST()
DPackedConfigsTextureTest.cpp57 testComp = GrColorUnpackB(test); in check_4444()
82 uint8_t testComp = GrColorUnpackB(test); in check_565()
DRectangleTextureTest.cpp61 expectedBytes0[2] = GrColorUnpackB(color0); in test_clear()
76 expectedBytes1[2] = GrColorUnpackB(color1); in test_clear()
DProcessorTest.cpp384 GrColorUnpackB(output) <= GrColorUnpackB(input); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
389 GrColorUnpackB(output) <= GrColorUnpackA(input); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
DVkClearTests.cpp31 matchColor = GrColorPackRGBA(GrColorUnpackB(clearColor), in does_full_buffer_contain_correct_color()
/external/skia/src/gpu/
DGrBlend.cpp68 if ((kB_GrColorComponentFlag & fFlags) && value == GrColorUnpackB(fColor)) { in componentsWithValue()
DGrTextureToYUVPlanes.cpp183 uint32_t v = GrColorUnpackB(tempYUV.get()[j * yuvSize.fWidth + i]); in GrTextureToYUVPlanes()
/external/skia/src/gpu/ops/
DGrAtlasTextOp.cpp249 GrColorUnpackB(colorNoPreMul) >> kDistanceAdjustLumShift, in setupDfProcessor()
/external/skia/src/gpu/gl/
DGrGLGpu.cpp2094 b = GrColorUnpackB(color) * scaleRGB; in clear()
3909 channels[2] = GrColorUnpackB(color) * scale255; in drawDebugWireRect()