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

Side by Side Diff: tests/DrawBitmapRectTest.cpp

Issue 1273613002: Revert of IWYU: 'core' target, files starting A-C. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 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/DeferredCanvasTest.cpp ('k') | tests/SurfaceTest.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 2011 Google Inc. 2 * Copyright 2011 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 "SkBitmap.h" 8 #include "SkBitmap.h"
9 #include "SkCanvas.h" 9 #include "SkCanvas.h"
10 #include "SkData.h" 10 #include "SkData.h"
11 #include "SkDiscardableMemoryPool.h" 11 #include "SkDiscardableMemoryPool.h"
12 #include "SkImageGeneratorPriv.h" 12 #include "SkImageGeneratorPriv.h"
13 #include "SkMatrixUtils.h" 13 #include "SkMatrixUtils.h"
14 #include "SkPaint.h" 14 #include "SkPaint.h"
15 #include "SkPath.h"
16 #include "SkRandom.h" 15 #include "SkRandom.h"
17 #include "SkShader.h" 16 #include "SkShader.h"
18 #include "SkSurface.h" 17 #include "SkSurface.h"
19 #include "Test.h" 18 #include "Test.h"
20 19
21 // A BitmapFactory that always fails when asked to return pixels. 20 // A BitmapFactory that always fails when asked to return pixels.
22 class FailureImageGenerator : public SkImageGenerator { 21 class FailureImageGenerator : public SkImageGenerator {
23 public: 22 public:
24 FailureImageGenerator() : SkImageGenerator(SkImageInfo::MakeN32Premul(100, 1 00)) {} 23 FailureImageGenerator() : SkImageGenerator(SkImageInfo::MakeN32Premul(100, 1 00)) {}
25 protected: 24 protected:
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after
304 303
305 // ensure that we draw nothing if srcR does not intersect the bitmap 304 // ensure that we draw nothing if srcR does not intersect the bitmap
306 REPORTER_ASSERT(reporter, check_for_all_zeros(dst)); 305 REPORTER_ASSERT(reporter, check_for_all_zeros(dst));
307 306
308 test_nan_antihair(); 307 test_nan_antihair();
309 test_giantrepeat_crbug118018(reporter); 308 test_giantrepeat_crbug118018(reporter);
310 309
311 test_treatAsSprite(reporter); 310 test_treatAsSprite(reporter);
312 test_faulty_pixelref(reporter); 311 test_faulty_pixelref(reporter);
313 } 312 }
OLDNEW
« no previous file with comments | « tests/DeferredCanvasTest.cpp ('k') | tests/SurfaceTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698