Searched refs:distantDirection (Results 1 – 4 of 4) sorted by relevance
/external/skia/gm/ |
D | lighting.cpp | 88 SkPoint3 distantDirection = SkPoint3::Make(cosAzimuth * SkScalarCos(elevationRad), in onDraw() local 113 distantDirection, SK_ColorWHITE, surfaceScale, kd, input, cr)); in onDraw() 135 distantDirection, greenYellow, surfaceScale, 4.f * kd, input, cr)); in onDraw() 146 distantDirection, SK_ColorWHITE, surfaceScale, ks, shininess, input, cr)); in onDraw() 168 distantDirection, greenYellow, surfaceScale, 4.f * ks, shininess, input, cr)); in onDraw()
|
/external/skqp/gm/ |
D | lighting.cpp | 77 SkPoint3 distantDirection = SkPoint3::Make(cosAzimuth * SkScalarCos(elevationRad), in onDraw() local 104 paint.setImageFilter(SkLightingImageFilter::MakeDistantLitDiffuse(distantDirection, in onDraw() 134 paint.setImageFilter(SkLightingImageFilter::MakeDistantLitSpecular(distantDirection, in onDraw()
|
/external/skqp/bench/ |
D | LightingBench.cpp | 40 static SkPoint3 distantDirection = SkPoint3::Make( in GetDistantDirection() local 44 return distantDirection; in GetDistantDirection()
|
/external/skia/bench/ |
D | LightingBench.cpp | 40 static SkPoint3 distantDirection = SkPoint3::Make( in GetDistantDirection() local 44 return distantDirection; in GetDistantDirection()
|