Home
last modified time | relevance | path

Searched refs:fColorFactor (Results 1 – 2 of 2) sorted by relevance

/external/skqp/samplecode/
DSampleLighting.cpp34 LightingView() : fLightAngle(0.0f) , fColorFactor(0.0f) { in LightingView()
69 sk_sp<SkLights> lights(create_lights(fLightAngle, fColorFactor)); in onDrawContent()
86 fColorFactor += 0.01f; in onAnimate()
87 if (fColorFactor > 1.0f) { in onAnimate()
88 fColorFactor = 0.0f; in onAnimate()
100 SkScalar fColorFactor; member in LightingView
/external/skia/samplecode/
DSampleLighting.cpp34 LightingView() : fLightAngle(0.0f) , fColorFactor(0.0f) { in LightingView()
69 sk_sp<SkLights> lights(create_lights(fLightAngle, fColorFactor)); in onDrawContent()
86 fColorFactor += 0.01f; in onAnimate()
87 if (fColorFactor > 1.0f) { in onAnimate()
88 fColorFactor = 0.0f; in onAnimate()
100 SkScalar fColorFactor; member in LightingView