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

Side by Side Diff: bench/LightingBench.cpp

Issue 1363913002: Remove SkBitmapSource (Closed) Base URL: https://chromium.googlesource.com/skia.git@master
Patch Set: Created 5 years, 2 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
« no previous file with comments | « no previous file | gm/bigtileimagefilter.cpp » ('j') | gm/imagefilterstransformed.cpp » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2013 Google Inc. 2 * Copyright 2013 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 #include "Benchmark.h" 7 #include "Benchmark.h"
8 #include "SkBitmapSource.h"
9 #include "SkCanvas.h" 8 #include "SkCanvas.h"
10 #include "SkDevice.h" 9 #include "SkDevice.h"
11 #include "SkLightingImageFilter.h" 10 #include "SkLightingImageFilter.h"
12 #include "SkPoint3.h" 11 #include "SkPoint3.h"
13 12
14 #define FILTER_WIDTH_SMALL SkIntToScalar(32) 13 #define FILTER_WIDTH_SMALL SkIntToScalar(32)
15 #define FILTER_HEIGHT_SMALL SkIntToScalar(32) 14 #define FILTER_HEIGHT_SMALL SkIntToScalar(32)
16 #define FILTER_WIDTH_LARGE SkIntToScalar(256) 15 #define FILTER_WIDTH_LARGE SkIntToScalar(256)
17 #define FILTER_HEIGHT_LARGE SkIntToScalar(256) 16 #define FILTER_HEIGHT_LARGE SkIntToScalar(256)
18 17
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 DEF_BENCH( return new LightingDistantLitDiffuseBench(true); ) 239 DEF_BENCH( return new LightingDistantLitDiffuseBench(true); )
241 DEF_BENCH( return new LightingDistantLitDiffuseBench(false); ) 240 DEF_BENCH( return new LightingDistantLitDiffuseBench(false); )
242 DEF_BENCH( return new LightingSpotLitDiffuseBench(true); ) 241 DEF_BENCH( return new LightingSpotLitDiffuseBench(true); )
243 DEF_BENCH( return new LightingSpotLitDiffuseBench(false); ) 242 DEF_BENCH( return new LightingSpotLitDiffuseBench(false); )
244 DEF_BENCH( return new LightingPointLitSpecularBench(true); ) 243 DEF_BENCH( return new LightingPointLitSpecularBench(true); )
245 DEF_BENCH( return new LightingPointLitSpecularBench(false); ) 244 DEF_BENCH( return new LightingPointLitSpecularBench(false); )
246 DEF_BENCH( return new LightingDistantLitSpecularBench(true); ) 245 DEF_BENCH( return new LightingDistantLitSpecularBench(true); )
247 DEF_BENCH( return new LightingDistantLitSpecularBench(false); ) 246 DEF_BENCH( return new LightingDistantLitSpecularBench(false); )
248 DEF_BENCH( return new LightingSpotLitSpecularBench(true); ) 247 DEF_BENCH( return new LightingSpotLitSpecularBench(true); )
249 DEF_BENCH( return new LightingSpotLitSpecularBench(false); ) 248 DEF_BENCH( return new LightingSpotLitSpecularBench(false); )
OLDNEW
« no previous file with comments | « no previous file | gm/bigtileimagefilter.cpp » ('j') | gm/imagefilterstransformed.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698