Lines Matching refs:SkXfermode

20     XferD32Bench(SkXfermode::Mode mode, const char name[], bool doN, uint32_t flags)  in XferD32Bench()
24 fXfer.reset(SkXfermode::Create(mode)); in XferD32Bench()
26 fProc1 = SkXfermode::GetD32Proc(fXfer, fFlags | SkXfermode::kSrcIsSingle_D32Flag); in XferD32Bench()
27 fProcN = SkXfermode::GetD32Proc(fXfer, fFlags); in XferD32Bench()
32 (flags & SkXfermode::kSrcIsOpaque_D32Flag) ? "opaque" : "alpha", in XferD32Bench()
33 (flags & SkXfermode::kDstIsSRGB_D32Flag) ? "srgb" : "linear"); in XferD32Bench()
64 SkAutoTUnref<SkXfermode> fXfer;
66 SkXfermode::D32Proc fProc1;
67 SkXfermode::D32Proc fProcN;
83 #define F01 (SkXfermode::kSrcIsOpaque_D32Flag)
84 #define F10 (SkXfermode::kDstIsSRGB_D32Flag)
85 #define F11 (SkXfermode::kSrcIsOpaque_D32Flag | SkXfermode::kDstIsSRGB_D32Flag)
87 DEF_BENCH( return new XferD32Bench(SkXfermode::kSrcOver_Mode, "srcover", false, F10); )
88 DEF_BENCH( return new XferD32Bench(SkXfermode::kSrcOver_Mode, "srcover", false, F00); )
89 DEF_BENCH( return new XferD32Bench(SkXfermode::kSrcOver_Mode, "srcover", false, F11); )
90 DEF_BENCH( return new XferD32Bench(SkXfermode::kSrcOver_Mode, "srcover", false, F01); )
92 DEF_BENCH( return new XferD32Bench(SkXfermode::kSrcOver_Mode, "srcover", true, F10); )
93 DEF_BENCH( return new XferD32Bench(SkXfermode::kSrcOver_Mode, "srcover", true, F00); )
94 DEF_BENCH( return new XferD32Bench(SkXfermode::kSrcOver_Mode, "srcover", true, F11); )
95 DEF_BENCH( return new XferD32Bench(SkXfermode::kSrcOver_Mode, "srcover", true, F01); )
97 DEF_BENCH( return new XferD32Bench(SkXfermode::kSrcOver_Mode, "srcover", false, F10 | USE_AA); )
98 DEF_BENCH( return new XferD32Bench(SkXfermode::kSrcOver_Mode, "srcover", false, F00 | USE_AA); )
99 DEF_BENCH( return new XferD32Bench(SkXfermode::kSrcOver_Mode, "srcover", false, F11 | USE_AA); )
100 DEF_BENCH( return new XferD32Bench(SkXfermode::kSrcOver_Mode, "srcover", false, F01 | USE_AA); )
102 DEF_BENCH( return new XferD32Bench(SkXfermode::kSrcOver_Mode, "srcover", true, F10 | USE_AA); )
103 DEF_BENCH( return new XferD32Bench(SkXfermode::kSrcOver_Mode, "srcover", true, F00 | USE_AA); )
104 DEF_BENCH( return new XferD32Bench(SkXfermode::kSrcOver_Mode, "srcover", true, F11 | USE_AA); )
105 DEF_BENCH( return new XferD32Bench(SkXfermode::kSrcOver_Mode, "srcover", true, F01 | USE_AA); )