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

Side by Side Diff: tests/DeferredCanvasTest.cpp

Issue 145313004: Cleanup: Sanitize the order of includes under tests/ (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: more two fixes 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/DataRefTest.cpp ('k') | tests/DequeTest.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 * Copyright 2012 Google Inc. 2 * Copyright 2012 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 7
8 #include "Test.h" 8 #include "../src/image/SkImagePriv.h"
9 #include "../src/image/SkSurface_Base.h"
9 #include "SkBitmap.h" 10 #include "SkBitmap.h"
10 #include "SkBitmapDevice.h" 11 #include "SkBitmapDevice.h"
11 #include "SkBitmapProcShader.h" 12 #include "SkBitmapProcShader.h"
12 #include "SkDeferredCanvas.h" 13 #include "SkDeferredCanvas.h"
13 #include "SkGradientShader.h" 14 #include "SkGradientShader.h"
14 #include "SkShader.h" 15 #include "SkShader.h"
15 #include "../src/image/SkSurface_Base.h" 16 #include "Test.h"
16 #include "../src/image/SkImagePriv.h"
17 #if SK_SUPPORT_GPU 17 #if SK_SUPPORT_GPU
18 #include "GrContextFactory.h" 18 #include "GrContextFactory.h"
19 #else 19 #else
20 class GrContextFactory; 20 class GrContextFactory;
21 #endif 21 #endif
22 22
23 static const int gWidth = 2; 23 static const int gWidth = 2;
24 static const int gHeight = 2; 24 static const int gHeight = 2;
25 25
26 static void create(SkBitmap* bm, SkBitmap::Config config, SkColor color) { 26 static void create(SkBitmap* bm, SkBitmap::Config config, SkColor color) {
(...skipping 816 matching lines...) Expand 10 before | Expand all | Expand 10 after
843 TestDeferredCanvasBitmapSizeThreshold(reporter); 843 TestDeferredCanvasBitmapSizeThreshold(reporter);
844 TestDeferredCanvasCreateCompatibleDevice(reporter); 844 TestDeferredCanvasCreateCompatibleDevice(reporter);
845 TestDeferredCanvasWritePixelsToSurface(reporter); 845 TestDeferredCanvasWritePixelsToSurface(reporter);
846 TestDeferredCanvasSurface(reporter, NULL); 846 TestDeferredCanvasSurface(reporter, NULL);
847 TestDeferredCanvasSetSurface(reporter, NULL); 847 TestDeferredCanvasSetSurface(reporter, NULL);
848 if (NULL != factory) { 848 if (NULL != factory) {
849 TestDeferredCanvasSurface(reporter, factory); 849 TestDeferredCanvasSurface(reporter, factory);
850 TestDeferredCanvasSetSurface(reporter, factory); 850 TestDeferredCanvasSetSurface(reporter, factory);
851 } 851 }
852 } 852 }
OLDNEW
« no previous file with comments | « tests/DataRefTest.cpp ('k') | tests/DequeTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698