Home
last modified time | relevance | path

Searched refs:ONE_OVER_255 (Results 1 – 4 of 4) sorted by relevance

/external/skia/src/gpu/
DGrColor.h71 static const float ONE_OVER_255 = 1.f / 255.f; in GrNormalizeByteToFloat() local
72 return value * ONE_OVER_255; in GrNormalizeByteToFloat()
/external/skqp/include/private/
DGrColor.h70 static const float ONE_OVER_255 = 1.f / 255.f; in GrNormalizeByteToFloat() local
71 return value * ONE_OVER_255; in GrNormalizeByteToFloat()
/external/skqp/src/shaders/gradients/
DSkGradientShader.cpp649 const float ONE_OVER_255 = 1.f / 255; in ColorConverter() local
652 SkColorGetR(colors[i]) * ONE_OVER_255, in ColorConverter()
653 SkColorGetG(colors[i]) * ONE_OVER_255, in ColorConverter()
654 SkColorGetB(colors[i]) * ONE_OVER_255, in ColorConverter()
655 SkColorGetA(colors[i]) * ONE_OVER_255 }); in ColorConverter()
/external/skia/src/shaders/gradients/
DSkGradientShader.cpp830 const float ONE_OVER_255 = 1.f / 255; in ColorConverter() local
833 SkColorGetR(colors[i]) * ONE_OVER_255, in ColorConverter()
834 SkColorGetG(colors[i]) * ONE_OVER_255, in ColorConverter()
835 SkColorGetB(colors[i]) * ONE_OVER_255, in ColorConverter()
836 SkColorGetA(colors[i]) * ONE_OVER_255 }); in ColorConverter()