Home
last modified time | relevance | path

Searched refs:SkTLazy (Results 1 – 25 of 71) sorted by relevance

123

/external/skqp/experimental/svg/model/
DSkSVGAttribute.h67 SkTLazy<SkSVGPaint> fFill;
68 SkTLazy<SkSVGNumberType> fFillOpacity;
69 SkTLazy<SkSVGFillRule> fFillRule;
70 SkTLazy<SkSVGFillRule> fClipRule;
72 SkTLazy<SkSVGPaint> fStroke;
73 SkTLazy<SkSVGDashArray> fStrokeDashArray;
74 SkTLazy<SkSVGLength> fStrokeDashOffset;
75 SkTLazy<SkSVGLineCap> fStrokeLineCap;
76 SkTLazy<SkSVGLineJoin> fStrokeLineJoin;
77 SkTLazy<SkSVGNumberType> fStrokeMiterLimit;
[all …]
DSkSVGPattern.h40 SkTLazy<SkSVGLength> fX,
44 SkTLazy<SkSVGTransformType> fPatternTransform;
DSkSVGRadialGradient.h39 SkTLazy<SkSVGLength> fFx;
40 SkTLazy<SkSVGLength> fFy;
DSkPEG.h38 SkTLazy<V> fValue;
53 SkTLazy<typename E::V> fValue;
150 SkTLazy<typename E1::V> v1;
151 SkTLazy<typename E2::V> v2;
DSkSVGPattern.cpp92 bool inherit_if_needed(const SkTLazy<T>& src, SkTLazy<T>& dst) { in inherit_if_needed()
DSkSVGSVG.h44 SkTLazy<SkSVGViewBoxType> fViewBox;
DSkSVGRenderContext.h106 SkTLazy<SkPath> fClipPath;
/external/skqp/include/core/
DSkTLazy.h20 template <typename T> class SkTLazy {
22 SkTLazy() = default;
23 explicit SkTLazy(const T* src) : fPtr(src ? new (&fStorage) T(*src) : nullptr) {} in SkTLazy() function
24 SkTLazy(const SkTLazy& that) { *this = that; } in SkTLazy() function
25 SkTLazy(SkTLazy&& that) { *this = std::move(that); } in SkTLazy() function
27 ~SkTLazy() { this->reset(); } in ~SkTLazy()
29 SkTLazy& operator=(const SkTLazy& that) {
38 SkTLazy& operator=(SkTLazy&& that) {
199 SkTLazy<T> fLazy;
/external/skia/src/core/
DSkTLazy.h20 template <typename T> class SkTLazy {
22 SkTLazy() = default;
23 explicit SkTLazy(const T* src) : fPtr(src ? new (&fStorage) T(*src) : nullptr) {} in SkTLazy() function
24 SkTLazy(const SkTLazy& that) : fPtr(that.fPtr ? new (&fStorage) T(*that.fPtr) : nullptr) {} in SkTLazy() function
25 SkTLazy(SkTLazy&& that) : fPtr(that.fPtr ? new (&fStorage) T(std::move(*that.fPtr)) : nullptr){} in SkTLazy() function
27 ~SkTLazy() { this->reset(); } in ~SkTLazy()
29 SkTLazy& operator=(const SkTLazy& that) {
38 SkTLazy& operator=(SkTLazy&& that) {
208 SkTLazy<T> fLazy;
/external/skqp/tools/debugger/
DSkDrawCommand.h237 SkTLazy<SkPaint> fPaint;
254 SkTLazy<SkPaint> fPaint;
271 SkTLazy<SkPaint> fPaint;
287 SkTLazy<SkRect> fSrc;
289 SkTLazy<SkPaint> fPaint;
306 SkTLazy<SkPaint> fPaint;
323 SkTLazy<SkPaint> fPaint;
340 SkTLazy<SkPaint> fPaint;
355 SkTLazy<SkRect> fSrc;
357 SkTLazy<SkPaint> fPaint;
[all …]
/external/skia/modules/svg/include/
DSkSVGRenderContext.h125 SkTLazy<SkPaint> fillPaint() const;
126 SkTLazy<SkPaint> strokePaint() const;
163 SkTLazy<SkPaint> commonPaint(const SkSVGPaint&, float opacity) const;
176 SkTLazy<SkPath> fClipPath;
DSkSVGPattern.h38 SkTLazy<SkSVGLength> fX,
42 SkTLazy<SkSVGTransformType> fPatternTransform;
DSkSVGNode.h215 SkTLazy<attr_type> f##attr_name; \
217 const SkTLazy<attr_type>& get##attr_name() const { return f##attr_name; } \
DSkSVGAttributeParser.h29 template <typename T> using ParseResult = SkTLazy<T>;
/external/skqp/tests/
DTLazyTest.cpp12 SkTLazy<int> lazy; in DEF_TEST()
18 SkTLazy<int> lazy_copy(lazy); in DEF_TEST()
29 SkTLazy<int> lazy_copy(lazy); in DEF_TEST()
/external/skia/tests/
DTLazyTest.cpp12 SkTLazy<int> lazy; in DEF_TEST()
18 SkTLazy<int> lazy_copy(lazy); // NOLINT(performance-unnecessary-copy-initialization) in DEF_TEST()
29 SkTLazy<int> lazy_copy(lazy); // NOLINT(performance-unnecessary-copy-initialization) in DEF_TEST()
/external/skia/tools/debugger/
DDrawCommand.h267 SkTLazy<SkPaint> fPaint;
289 SkTLazy<SkPaint> fPaint;
312 SkTLazy<SkPaint> fPaint;
342 SkTLazy<SkPaint> fPaint;
432 SkTLazy<SkMatrix> fMatrix;
433 SkTLazy<SkPaint> fPaint;
598 SkTLazy<SkRect> fCull;
599 SkTLazy<SkPaint> fPaint;
620 SkTLazy<SkRect> fBounds;
621 SkTLazy<SkPaint> fPaint;
[all …]
/external/skqp/modules/skshaper/src/
DSkShaper_harfbuzz.cpp134 static SkTLazy<BiDiRunIterator> Make(const char* utf8, size_t utf8Bytes, UBiDiLevel level) { in Make()
135 SkTLazy<BiDiRunIterator> ret; in Make()
218 static SkTLazy<ScriptRunIterator> Make(const char* utf8, size_t utf8Bytes, in Make()
221 SkTLazy<ScriptRunIterator> ret; in Make()
272 static SkTLazy<FontRunIterator> Make(const char* utf8, size_t utf8Bytes, in Make()
277 SkTLazy<FontRunIterator> ret; in Make()
555 SkTLazy<BiDiRunIterator> maybeBidi(BiDiRunIterator::Make(utf8, utf8Bytes, defaultLevel)); in shape()
563 SkTLazy<ScriptRunIterator> maybeScript(ScriptRunIterator::Make(utf8, utf8Bytes, hbUnicode)); in shape()
570 SkTLazy<FontRunIterator> maybeFont(FontRunIterator::Make(utf8, utf8Bytes, in shape()
/external/skia/modules/svg/src/
DSkSVGPattern.cpp42 bool inherit_if_needed(const SkTLazy<T>& src, SkTLazy<T>& dst) { in inherit_if_needed()
DSkSVGRenderContext.cpp381 SkTLazy<SkPaint> SkSVGRenderContext::commonPaint(const SkSVGPaint& paint_selector, in commonPaint()
384 return SkTLazy<SkPaint>(); in commonPaint()
387 SkTLazy<SkPaint> p; in commonPaint()
433 SkTLazy<SkPaint> SkSVGRenderContext::fillPaint() const { in fillPaint()
444 SkTLazy<SkPaint> SkSVGRenderContext::strokePaint() const { in strokePaint()
DSkSVGTextPriv.h204 SkTLazy<SkPaint> fCurrentFill;
205 SkTLazy<SkPaint> fCurrentStroke;
/external/skia/fuzz/
DFuzzGradients.cpp123 SkTLazy<SkMatrix> localMatrix; in fuzzLinearGradient()
161 SkTLazy<SkMatrix> localMatrix; in fuzzRadialGradient()
199 SkTLazy<SkMatrix> localMatrix; in fuzzTwoPointConicalGradient()
/external/skqp/fuzz/
DFuzzGradients.cpp121 SkTLazy<SkMatrix> localMatrix; in fuzzLinearGradient()
159 SkTLazy<SkMatrix> localMatrix; in fuzzRadialGradient()
197 SkTLazy<SkMatrix> localMatrix; in fuzzTwoPointConicalGradient()
/external/skqp/modules/skottie/src/
DSkottiePrecompLayer.cpp62 SkTLazy<float> fRemappedTime; in attachPrecompLayer()
/external/skqp/src/core/
DSkPictureImageGenerator.cpp36 SkTLazy<SkPaint> fPaint;

123