Searched defs:ONE_OVER_255 (Results 1 - 4 of 4) sorted by path

/external/chromium_org/third_party/skia/include/gpu/
H A DGrColor.h84 static const float ONE_OVER_255 = 1.f / 255.f; local
85 rgba[0] = GrColorUnpackR(color) * ONE_OVER_255;
86 rgba[1] = GrColorUnpackG(color) * ONE_OVER_255;
87 rgba[2] = GrColorUnpackB(color) * ONE_OVER_255;
88 rgba[3] = GrColorUnpackA(color) * ONE_OVER_255;
/external/chromium_org/third_party/skia/src/gpu/effects/
H A DGrDistanceFieldTextureEffect.cpp425 static const float ONE_OVER_255 = 1.f / 255.f; variable
427 GrColorUnpackR(textColor) * ONE_OVER_255,
428 GrColorUnpackG(textColor) * ONE_OVER_255,
429 GrColorUnpackB(textColor) * ONE_OVER_255);
/external/skia/include/gpu/
H A DGrColor.h84 static const float ONE_OVER_255 = 1.f / 255.f; local
85 rgba[0] = GrColorUnpackR(color) * ONE_OVER_255;
86 rgba[1] = GrColorUnpackG(color) * ONE_OVER_255;
87 rgba[2] = GrColorUnpackB(color) * ONE_OVER_255;
88 rgba[3] = GrColorUnpackA(color) * ONE_OVER_255;
/external/skia/src/gpu/effects/
H A DGrDistanceFieldTextureEffect.cpp405 static const float ONE_OVER_255 = 1.f / 255.f; variable
407 GrColorUnpackR(textColor) * ONE_OVER_255,
408 GrColorUnpackG(textColor) * ONE_OVER_255,
409 GrColorUnpackB(textColor) * ONE_OVER_255);

Completed in 295 milliseconds