Home
last modified time | relevance | path

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

/third_party/flutter/skia/modules/sksg/include/
DSkSGNode.h98 #define SG_ATTRIBUTE(attr_name, attr_type, attr_container) \ argument
99 const attr_type& get##attr_name() const { return attr_container; } \
101 if (attr_container == v) return; \
102 attr_container = v; \
106 if (attr_container == v) return; \
107 attr_container = std::move(v); \
111 #define SG_MAPPED_ATTRIBUTE(attr_name, attr_type, attr_container) \ argument
112 attr_type get##attr_name() const { return attr_container.get##attr_name(); } \
114 if (attr_container.get##attr_name() == v) return; \
115 attr_container.set##attr_name(v); \
[all …]
/third_party/skia/modules/sksg/include/
DSkSGNode.h98 #define SG_ATTRIBUTE(attr_name, attr_type, attr_container) \ argument
99 const attr_type& get##attr_name() const { return attr_container; } \
101 if (attr_container == v) return; \
102 attr_container = v; \
106 if (attr_container == v) return; \
107 attr_container = std::move(v); \
111 #define SG_MAPPED_ATTRIBUTE(attr_name, attr_type, attr_container) \ argument
112 attr_type get##attr_name() const { return attr_container.get##attr_name(); } \
114 if (attr_container.get##attr_name() == v) return; \
115 attr_container.set##attr_name(v); \
[all …]