Home
last modified time | relevance | path

Searched refs:SkScalarPow (Results 1 – 6 of 6) sorted by relevance

/third_party/skia/src/core/
DSkMaskGamma.cpp28 return SkScalarPow(luminance, gamma); in toLuma()
31 return SkScalarPow(luma, SkScalarInvert(gamma)); in fromLuma()
43 return SkScalarPow((luminance + 0.055f) / 1.055f, in toLuma()
53 return 1.055f * SkScalarPow(luma, SkScalarInvert(2.4f)) in fromLuma()
DSkGeometry.cpp937 return SkScalarPow(x, 0.3333333f); in SkScalarCubeRoot()
/third_party/skia/include/core/
DSkScalar.h42 #define SkScalarPow(b, e) sk_float_pow(b, e) macro
/third_party/skia/src/gpu/ops/
DSmallPathRenderer.cpp249 mipScale = SkScalarPow(2, -log); in onPrepareDraws()
252 mipScale = SkScalarPow(2, log); in onPrepareDraws()
/third_party/skia/samplecode/
DSampleFilterBounds.cpp122 SkScalarPow(2.f, kLogScaleFactors[i])); in draw_scale_key()
/third_party/skia/src/effects/imagefilters/
DSkLightingImageFilter.cpp185 SkScalar colorScale = fKS * SkScalarPow(normal.dot(halfDir), fShininess); in light()
1033 scale = SkScalarPow(cosAngle, fSpecularExponent); in lightColor()