Lines Matching refs:SkXfermode
19 XfermodeBench(SkXfermode::Mode mode, bool aa) { in XfermodeBench()
20 fXfermode.reset(SkXfermode::Create(mode)); in XfermodeBench()
22 SkASSERT(fXfermode.get() || SkXfermode::kSrcOver_Mode == mode); in XfermodeBench()
23 fName.printf("Xfermode_%s%s", SkXfermode::ModeName(mode), aa ? "_aa" : ""); in XfermodeBench()
26 XfermodeBench(SkXfermode* xferMode, const char* name, bool aa) { in XfermodeBench()
72 SkAutoTUnref<SkXfermode> fXfermode;
90 for (int i = 0; i <= SkXfermode::kLastMode; ++i) { in onDraw()
91 SkXfermode* xfer = SkXfermode::Create(SkXfermode::Mode(i)); in onDraw()
107 BENCH(SkXfermode::kClear_Mode)
108 BENCH(SkXfermode::kSrc_Mode)
109 BENCH(SkXfermode::kDst_Mode)
110 BENCH(SkXfermode::kSrcOver_Mode)
111 BENCH(SkXfermode::kDstOver_Mode)
112 BENCH(SkXfermode::kSrcIn_Mode)
113 BENCH(SkXfermode::kDstIn_Mode)
114 BENCH(SkXfermode::kSrcOut_Mode)
115 BENCH(SkXfermode::kDstOut_Mode)
116 BENCH(SkXfermode::kSrcATop_Mode)
117 BENCH(SkXfermode::kDstATop_Mode)
118 BENCH(SkXfermode::kXor_Mode)
120 BENCH(SkXfermode::kPlus_Mode)
121 BENCH(SkXfermode::kModulate_Mode)
122 BENCH(SkXfermode::kScreen_Mode)
124 BENCH(SkXfermode::kOverlay_Mode)
125 BENCH(SkXfermode::kDarken_Mode)
126 BENCH(SkXfermode::kLighten_Mode)
127 BENCH(SkXfermode::kColorDodge_Mode)
128 BENCH(SkXfermode::kColorBurn_Mode)
129 BENCH(SkXfermode::kHardLight_Mode)
130 BENCH(SkXfermode::kSoftLight_Mode)
131 BENCH(SkXfermode::kDifference_Mode)
132 BENCH(SkXfermode::kExclusion_Mode)
133 BENCH(SkXfermode::kMultiply_Mode)
135 BENCH(SkXfermode::kHue_Mode)
136 BENCH(SkXfermode::kSaturation_Mode)
137 BENCH(SkXfermode::kColor_Mode)
138 BENCH(SkXfermode::kLuminosity_Mode)