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

Side by Side Diff: tests/CanvasTest.cpp

Issue 243173002: Staging for cleanup of SkPicture-related headers (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Add crucial newline at end of file Created 6 years, 8 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 | « src/core/SkTileGridPicture.cpp ('k') | tests/ImageFilterTest.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 /* 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
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
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 }
OLDNEW
« no previous file with comments | « src/core/SkTileGridPicture.cpp ('k') | tests/ImageFilterTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698