Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(24)

Side by Side Diff: bench/XfermodeBench.cpp

Issue 23710053: [External patch] Source-over support for SkLumaXfermode. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | gm/lumamode.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 1
2 /* 2 /*
3 * Copyright 2013 Google Inc. 3 * Copyright 2013 Google Inc.
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 #include "SkBenchmark.h" 9 #include "SkBenchmark.h"
10 #include "SkCanvas.h" 10 #include "SkCanvas.h"
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 BENCH(SkXfermode::kExclusion_Mode) 98 BENCH(SkXfermode::kExclusion_Mode)
99 BENCH(SkXfermode::kMultiply_Mode) 99 BENCH(SkXfermode::kMultiply_Mode)
100 100
101 BENCH(SkXfermode::kHue_Mode) 101 BENCH(SkXfermode::kHue_Mode)
102 BENCH(SkXfermode::kSaturation_Mode) 102 BENCH(SkXfermode::kSaturation_Mode)
103 BENCH(SkXfermode::kColor_Mode) 103 BENCH(SkXfermode::kColor_Mode)
104 BENCH(SkXfermode::kLuminosity_Mode) 104 BENCH(SkXfermode::kLuminosity_Mode)
105 105
106 BENCH(SkLumaMaskXfermode::Create(SkXfermode::kSrcIn_Mode), "SrcInLuma") 106 BENCH(SkLumaMaskXfermode::Create(SkXfermode::kSrcIn_Mode), "SrcInLuma")
107 BENCH(SkLumaMaskXfermode::Create(SkXfermode::kDstIn_Mode), "DstInLuma") 107 BENCH(SkLumaMaskXfermode::Create(SkXfermode::kDstIn_Mode), "DstInLuma")
108 BENCH(SkLumaMaskXfermode::Create(SkXfermode::kSrcOver_Mode), "SrcOverLuma")
OLDNEW
« no previous file with comments | « no previous file | gm/lumamode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698