Home
last modified time | relevance | path

Searched refs:sphere (Results 1 - 1 of 1) sorted by relevance

/third_party/skia/modules/skottie/src/effects/
H A DSphereEffect.cpp26 // This shader maps its child shader onto a sphere. To simplify things, we set it up such that:
28 // - the sphere is centered at origin and has r == 1
35 // 1) ray-cast to find the sphere intersection (selectable front/back solution);
36 // given the sphere geometry, this is also the normal
38 // 3) UV-map the sphere
423 auto sphere = sk_make_sp<SphereNode>(std::move(layer), fLayerSize); in attachSphereEffect() local
425 return fBuilder->attachDiscardableAdapter<SphereAdapter>(jprops, fBuilder, std::move(sphere)); in attachSphereEffect()

Completed in 1 milliseconds