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

Side by Side Diff: tests/SurfaceTest.cpp

Issue 1265033002: IWYU: 'core' target, files starting A-C. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Rebase (a file was deleted). Created 5 years, 4 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 | « tests/DrawBitmapRectTest.cpp ('k') | no next file » | 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 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 7
8 #include "SkCanvas.h" 8 #include "SkCanvas.h"
9 #include "SkData.h" 9 #include "SkData.h"
10 #include "SkDevice.h" 10 #include "SkDevice.h"
11 #include "SkImageEncoder.h" 11 #include "SkImageEncoder.h"
12 #include "SkImage_Base.h" 12 #include "SkImage_Base.h"
13 #include "SkPath.h"
13 #include "SkRRect.h" 14 #include "SkRRect.h"
14 #include "SkSurface.h" 15 #include "SkSurface.h"
15 #include "SkUtils.h" 16 #include "SkUtils.h"
16 #include "Test.h" 17 #include "Test.h"
17 18
18 #if SK_SUPPORT_GPU 19 #if SK_SUPPORT_GPU
19 #include "GrContextFactory.h" 20 #include "GrContextFactory.h"
20 #include "GrTest.h" 21 #include "GrTest.h"
21 #else 22 #else
22 class GrContextFactory; 23 class GrContextFactory;
(...skipping 963 matching lines...) Expand 10 before | Expand all | Expand 10 after
986 test_image_color(reporter, refImg, expected1); 987 test_image_color(reporter, refImg, expected1);
987 #endif 988 #endif
988 test_image_color(reporter, cpyImg, expected0); 989 test_image_color(reporter, cpyImg, expected0);
989 990
990 // Now exercise the release proc 991 // Now exercise the release proc
991 REPORTER_ASSERT(reporter, !releaseCtx.fIsReleased); 992 REPORTER_ASSERT(reporter, !releaseCtx.fIsReleased);
992 refImg.reset(NULL); // force a release of the image 993 refImg.reset(NULL); // force a release of the image
993 REPORTER_ASSERT(reporter, releaseCtx.fIsReleased); 994 REPORTER_ASSERT(reporter, releaseCtx.fIsReleased);
994 } 995 }
995 #endif 996 #endif
OLDNEW
« no previous file with comments | « tests/DrawBitmapRectTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698