LEFT | RIGHT |
(no file at all) | |
1 // Copyright 2011 The Go Authors. All rights reserved. | 1 // Copyright 2011 The Go Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style | 2 // Use of this source code is governed by a BSD-style |
3 // license that can be found in the LICENSE file. | 3 // license that can be found in the LICENSE file. |
4 | 4 |
5 package draw | 5 package draw |
6 | 6 |
7 import ( | 7 import ( |
8 "image" | 8 "image" |
9 "image/ycbcr" | 9 "image/ycbcr" |
10 "testing" | 10 "testing" |
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
197 bench(b, image.RGBA64ColorModel, image.RGBA64ColorModel, image.AlphaColo
rModel, Over) | 197 bench(b, image.RGBA64ColorModel, image.RGBA64ColorModel, image.AlphaColo
rModel, Over) |
198 } | 198 } |
199 | 199 |
200 func BenchmarkGenericSrc(b *testing.B) { | 200 func BenchmarkGenericSrc(b *testing.B) { |
201 bench(b, image.RGBA64ColorModel, image.RGBA64ColorModel, nil, Src) | 201 bench(b, image.RGBA64ColorModel, image.RGBA64ColorModel, nil, Src) |
202 } | 202 } |
203 | 203 |
204 func BenchmarkGenericMaskSrc(b *testing.B) { | 204 func BenchmarkGenericMaskSrc(b *testing.B) { |
205 bench(b, image.RGBA64ColorModel, image.RGBA64ColorModel, image.AlphaColo
rModel, Src) | 205 bench(b, image.RGBA64ColorModel, image.RGBA64ColorModel, image.AlphaColo
rModel, Src) |
206 } | 206 } |
LEFT | RIGHT |