Home
last modified time | relevance | path

Searched defs:SpotVerticesFactory (Results 1 – 2 of 2) sorted by relevance

/external/skqp/src/utils/
DSkShadowUtils.cpp110 struct SpotVerticesFactory { struct
111 enum class OccluderType {
121 SkVector fOffset;
122 SkPoint fLocalCenter;
123 SkScalar fOccluderHeight = SK_ScalarNaN; // NaN so that isCompatible will fail until init'ed.
124 SkPoint3 fDevLightPos;
125 SkScalar fLightRadius;
126 OccluderType fOccluderType;
128 bool isCompatible(const SpotVerticesFactory& that, SkVector* translate) const { in isCompatible()
153 sk_sp<SkVertices> makeVertices(const SkPath& path, const SkMatrix& ctm, in makeVertices()
/external/skia/src/utils/
DSkShadowUtils.cpp111 struct SpotVerticesFactory { struct
112 enum class OccluderType {
122 SkVector fOffset;
123 SkPoint fLocalCenter;
124 SkScalar fOccluderHeight = SK_ScalarNaN; // NaN so that isCompatible will fail until init'ed.
125 SkPoint3 fDevLightPos;
126 SkScalar fLightRadius;
127 OccluderType fOccluderType;
129 bool isCompatible(const SpotVerticesFactory& that, SkVector* translate) const { in isCompatible()
154 sk_sp<SkVertices> makeVertices(const SkPath& path, const SkMatrix& ctm, in makeVertices()