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

Side by Side Diff: tests/BlurTest.cpp

Issue 138563004: Move macros from TestClassDef.h to Test.h (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: upload Created 6 years, 11 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 | « tests/BlitRowTest.cpp ('k') | tests/CachedDecodingPixelRefTest.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 2011 Google Inc. 3 * Copyright 2011 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 #include "SkBlurMask.h" 8 #include "SkBlurMask.h"
9 #include "SkBlurMaskFilter.h" 9 #include "SkBlurMaskFilter.h"
10 #include "SkCanvas.h" 10 #include "SkCanvas.h"
11 #include "SkMath.h" 11 #include "SkMath.h"
12 #include "SkPaint.h" 12 #include "SkPaint.h"
13 #include "Test.h" 13 #include "Test.h"
14 #include "TestClassDef.h"
15 14
16 #if SK_SUPPORT_GPU 15 #if SK_SUPPORT_GPU
17 #include "GrContextFactory.h" 16 #include "GrContextFactory.h"
18 #include "SkGpuDevice.h" 17 #include "SkGpuDevice.h"
19 #endif 18 #endif
20 19
21 #define WRITE_CSV 0 20 #define WRITE_CSV 0
22 21
23 /////////////////////////////////////////////////////////////////////////////// 22 ///////////////////////////////////////////////////////////////////////////////
24 23
(...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after
382 write_as_csv("GroundTruth2D", sigma, groundTruthResult, kSize); 381 write_as_csv("GroundTruth2D", sigma, groundTruthResult, kSize);
383 write_as_csv("BruteForce1D", sigma, bruteForce1DResult, kSize); 382 write_as_csv("BruteForce1D", sigma, bruteForce1DResult, kSize);
384 #endif 383 #endif
385 } 384 }
386 } 385 }
387 386
388 DEF_GPUTEST(Blur, reporter, factory) { 387 DEF_GPUTEST(Blur, reporter, factory) {
389 test_blur_drawing(reporter); 388 test_blur_drawing(reporter);
390 test_sigma_range(reporter, factory); 389 test_sigma_range(reporter, factory);
391 } 390 }
OLDNEW
« no previous file with comments | « tests/BlitRowTest.cpp ('k') | tests/CachedDecodingPixelRefTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698