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

Side by Side Diff: tests/SkpSkGrTest.cpp

Issue 2215433003: Revert of SkRTConf: reduce functionality to what we use, increase simplicity (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 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/RuntimeConfigTest.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 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 "SkGraphics.h" 17 #include "SkGraphics.h"
18 #include "SkImageEncoder.h" 18 #include "SkImageEncoder.h"
19 #include "SkOSFile.h" 19 #include "SkOSFile.h"
20 #include "SkPicture.h" 20 #include "SkPicture.h"
21 #include "SkRTConf.h"
21 #include "SkStream.h" 22 #include "SkStream.h"
22 #include "SkString.h" 23 #include "SkString.h"
23 #include "SkTArray.h" 24 #include "SkTArray.h"
24 #include "SkTDArray.h" 25 #include "SkTDArray.h"
25 #include "SkTaskGroup.h" 26 #include "SkTaskGroup.h"
26 #include "SkTime.h" 27 #include "SkTime.h"
27 #include "Test.h" 28 #include "Test.h"
28 29
29 #if !SK_SUPPORT_GPU 30 #if !SK_SUPPORT_GPU
30 #error "GPU support required" 31 #error "GPU support required"
(...skipping 712 matching lines...) Expand 10 before | Expand all | Expand 10 after
743 int testIndex = 166; 744 int testIndex = 166;
744 int dirIndex = skipOverSkGr[testIndex - 166].directory; 745 int dirIndex = skipOverSkGr[testIndex - 166].directory;
745 SkString pictDir = make_in_dir_name(dirIndex); 746 SkString pictDir = make_in_dir_name(dirIndex);
746 if (pictDir.size() == 0) { 747 if (pictDir.size() == 0) {
747 return; 748 return;
748 } 749 }
749 SkString filename(skipOverSkGr[testIndex - 166].filename); 750 SkString filename(skipOverSkGr[testIndex - 166].filename);
750 TestResult::Test(dirIndex, filename.c_str(), kCompareBits, reporter->verbose ()); 751 TestResult::Test(dirIndex, filename.c_str(), kCompareBits, reporter->verbose ());
751 TestResult::Test(dirIndex, filename.c_str(), kEncodeFiles, reporter->verbose ()); 752 TestResult::Test(dirIndex, filename.c_str(), kEncodeFiles, reporter->verbose ());
752 } 753 }
OLDNEW
« no previous file with comments | « tests/RuntimeConfigTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698