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

Side by Side Diff: tests/SkpSkGrTest.cpp

Issue 1904673003: Rein in the use of SkDevice.h (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 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
« no previous file with comments | « tests/PathOpsSkpClipTest.cpp ('k') | tools/debugger/SkDebugCanvas.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 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 "GrContext.h" 8 #include "GrContext.h"
9 #include "GrContextFactory.h" 9 #include "GrContextFactory.h"
10 #include "GrRenderTarget.h" 10 #include "GrRenderTarget.h"
11 #include "SkGpuDevice.h" 11 #include "SkGpuDevice.h"
12 #include "gl/GrGLDefines.h" 12 #include "gl/GrGLDefines.h"
13 13
14 #include "SkBitmap.h" 14 #include "SkBitmap.h"
15 #include "SkCanvas.h" 15 #include "SkCanvas.h"
16 #include "SkColor.h" 16 #include "SkColor.h"
17 #include "SkDevice.h"
18 #include "SkGraphics.h" 17 #include "SkGraphics.h"
19 #include "SkImageEncoder.h" 18 #include "SkImageEncoder.h"
20 #include "SkOSFile.h" 19 #include "SkOSFile.h"
21 #include "SkPicture.h" 20 #include "SkPicture.h"
22 #include "SkRTConf.h" 21 #include "SkRTConf.h"
23 #include "SkStream.h" 22 #include "SkStream.h"
24 #include "SkString.h" 23 #include "SkString.h"
25 #include "SkTArray.h" 24 #include "SkTArray.h"
26 #include "SkTDArray.h" 25 #include "SkTDArray.h"
27 #include "SkTaskGroup.h" 26 #include "SkTaskGroup.h"
(...skipping 717 matching lines...) Expand 10 before | Expand all | Expand 10 after
745 int testIndex = 166; 744 int testIndex = 166;
746 int dirIndex = skipOverSkGr[testIndex - 166].directory; 745 int dirIndex = skipOverSkGr[testIndex - 166].directory;
747 SkString pictDir = make_in_dir_name(dirIndex); 746 SkString pictDir = make_in_dir_name(dirIndex);
748 if (pictDir.size() == 0) { 747 if (pictDir.size() == 0) {
749 return; 748 return;
750 } 749 }
751 SkString filename(skipOverSkGr[testIndex - 166].filename); 750 SkString filename(skipOverSkGr[testIndex - 166].filename);
752 TestResult::Test(dirIndex, filename.c_str(), kCompareBits, reporter->verbose ()); 751 TestResult::Test(dirIndex, filename.c_str(), kCompareBits, reporter->verbose ());
753 TestResult::Test(dirIndex, filename.c_str(), kEncodeFiles, reporter->verbose ()); 752 TestResult::Test(dirIndex, filename.c_str(), kEncodeFiles, reporter->verbose ());
754 } 753 }
OLDNEW
« no previous file with comments | « tests/PathOpsSkpClipTest.cpp ('k') | tools/debugger/SkDebugCanvas.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698