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

Side by Side Diff: tests/RecordingXfermodeTest.cpp

Issue 660903002: Remove obsolete SkRecording. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: clean up Created 6 years, 2 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/RecordingTest.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 2014 Google Inc. 2 * Copyright 2014 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 "Test.h"
9 9
10 #include "../include/core/SkCanvas.h" 10 #include "../include/core/SkCanvas.h"
11 #include "../include/core/SkPicture.h" 11 #include "../include/core/SkPicture.h"
12 #include "../include/core/SkStream.h" 12 #include "../include/core/SkStream.h"
13 #include "../include/core/SkString.h" 13 #include "../include/core/SkString.h"
14 #include "../include/record/SkRecording.h"
15 #include "../include/core/SkPictureRecorder.h" 14 #include "../include/core/SkPictureRecorder.h"
16 #include <cstring> 15 #include <cstring>
17 16
18 // Verify that replay of a recording into a clipped canvas 17 // Verify that replay of a recording into a clipped canvas
19 // produces the correct bitmap. 18 // produces the correct bitmap.
20 // This arose from http://crbug.com/401593 which has 19 // This arose from http://crbug.com/401593 which has
21 // https://code.google.com/p/skia/issues/detail?id=1291 as its root cause. 20 // https://code.google.com/p/skia/issues/detail?id=1291 as its root cause.
22 21
23 namespace { 22 namespace {
24 23
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 errors.appendf("For SkXfermode %d %s: SkPictureRecorder bitmap is wrong\n", 165 errors.appendf("For SkXfermode %d %s: SkPictureRecorder bitmap is wrong\n",
167 iMode, SkXfermode::ModeName(mode)); 166 iMode, SkXfermode::ModeName(mode));
168 } 167 }
169 #endif 168 #endif
170 } 169 }
171 170
172 #if !FINEGRAIN 171 #if !FINEGRAIN
173 REPORTER_ASSERT_MESSAGE(reporter, 0 == numErrors, errors.c_str()); 172 REPORTER_ASSERT_MESSAGE(reporter, 0 == numErrors, errors.c_str());
174 #endif 173 #endif
175 } 174 }
OLDNEW
« no previous file with comments | « tests/RecordingTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698