OLD | NEW |
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 /* Description: | 8 /* Description: |
9 * This test defines a series of elementatry test steps that perform | 9 * This test defines a series of elementatry test steps that perform |
10 * a single or a small group of canvas API calls. Each test step is | 10 * a single or a small group of canvas API calls. Each test step is |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 #include "SkDeferredCanvas.h" | 48 #include "SkDeferredCanvas.h" |
49 #include "SkDevice.h" | 49 #include "SkDevice.h" |
50 #include "SkMatrix.h" | 50 #include "SkMatrix.h" |
51 #include "SkNWayCanvas.h" | 51 #include "SkNWayCanvas.h" |
52 #include "SkPDFDevice.h" | 52 #include "SkPDFDevice.h" |
53 #include "SkPDFDocument.h" | 53 #include "SkPDFDocument.h" |
54 #include "SkPaint.h" | 54 #include "SkPaint.h" |
55 #include "SkPath.h" | 55 #include "SkPath.h" |
56 #include "SkPicture.h" | 56 #include "SkPicture.h" |
57 #include "SkPictureRecord.h" | 57 #include "SkPictureRecord.h" |
| 58 #include "SkPictureRecorder.h" |
58 #include "SkProxyCanvas.h" | 59 #include "SkProxyCanvas.h" |
59 #include "SkRect.h" | 60 #include "SkRect.h" |
60 #include "SkRegion.h" | 61 #include "SkRegion.h" |
61 #include "SkShader.h" | 62 #include "SkShader.h" |
62 #include "SkStream.h" | 63 #include "SkStream.h" |
63 #include "SkSurface.h" | 64 #include "SkSurface.h" |
64 #include "SkTDArray.h" | 65 #include "SkTDArray.h" |
65 #include "Test.h" | 66 #include "Test.h" |
66 | 67 |
67 static bool equal_clips(const SkCanvas& a, const SkCanvas& b) { | 68 static bool equal_clips(const SkCanvas& a, const SkCanvas& b) { |
(...skipping 883 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
951 if (testStepArray()[testStep]->enablePdfTesting()) { | 952 if (testStepArray()[testStep]->enablePdfTesting()) { |
952 TestPdfDevice(reporter, testStepArray()[testStep]); | 953 TestPdfDevice(reporter, testStepArray()[testStep]); |
953 } | 954 } |
954 } | 955 } |
955 | 956 |
956 // Explicitly call reset(), so we don't leak the pixels (since kTestBitmap i
s a global) | 957 // Explicitly call reset(), so we don't leak the pixels (since kTestBitmap i
s a global) |
957 kTestBitmap.reset(); | 958 kTestBitmap.reset(); |
958 | 959 |
959 test_newraster(reporter); | 960 test_newraster(reporter); |
960 } | 961 } |
OLD | NEW |