Lines Matching refs:Xfermode
27 #define XFERMODE(Xfermode) \ argument
28 struct Xfermode { Sk4px operator()(const Sk4px&, const Sk4px&) const; }; \
29 inline Sk4px Xfermode::operator()(const Sk4px& d, const Sk4px& s) const
61 template <typename Xfermode>
63 Sk4px bw = Xfermode()(d, s); in xfer_aa()
68 #define XFERMODE_AA(Xfermode) \ argument
69 template <> Sk4px xfer_aa<Xfermode>(const Sk4px& d, const Sk4px& s, const Sk4px& aa)
81 template <typename Xfermode> static void mark_dst_initialized_if_safe(void*, void*) {} in mark_dst_initialized_if_safe()
89 template <typename Xfermode>
95 mark_dst_initialized_if_safe<Xfermode>(dst, dst+n); in xfer32()
97 Sk4px::MapDstSrc(n, dst, src, Xfermode()); in xfer32()
99 Sk4px::MapDstSrcAlpha(n, dst, src, aa, xfer_aa<Xfermode>); in xfer32()
110 #define CASE(Xfermode) \ in create_xfermode() argument
111 case SkBlendMode::k##Xfermode: return new Sk4pxXfermode<Xfermode>() in create_xfermode()