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

Side by Side Diff: dm/DMPipeTask.cpp

Issue 647973006: Remove a SkImageDecoder reference from SkPicture.h (Closed) Base URL: https://skia.googlesource.com/skia.git@separate-image-encoder-02-debug-functionality
Patch Set: 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 | « no previous file | include/core/SkPicture.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #include "DMPipeTask.h" 1 #include "DMPipeTask.h"
2 #include "DMUtil.h" 2 #include "DMUtil.h"
3 #include "DMWriteTask.h" 3 #include "DMWriteTask.h"
4 4
5 #include "SamplePipeControllers.h" 5 #include "SamplePipeControllers.h"
6 #include "SkCommandLineFlags.h" 6 #include "SkCommandLineFlags.h"
7 #include "SkGPipe.h" 7 #include "SkGPipe.h"
8 #include "SkImageDecoder.h"
8 9
9 DEFINE_bool(pipe, true, "If true, check several pipe variants against the refere nce bitmap."); 10 DEFINE_bool(pipe, true, "If true, check several pipe variants against the refere nce bitmap.");
10 11
11 namespace DM { 12 namespace DM {
12 13
13 static uint32_t get_flags(PipeTask::Mode mode) { 14 static uint32_t get_flags(PipeTask::Mode mode) {
14 uint32_t flags = 0; 15 uint32_t flags = 0;
15 if (mode != PipeTask::kInProcess_Mode) { 16 if (mode != PipeTask::kInProcess_Mode) {
16 flags |= SkGPipeWriter::kCrossProcess_Flag; 17 flags |= SkGPipeWriter::kCrossProcess_Flag;
17 } 18 }
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 return true; 75 return true;
75 } 76 }
76 if (fFlags == SkGPipeWriter::kCrossProcess_Flag && 77 if (fFlags == SkGPipeWriter::kCrossProcess_Flag &&
77 fGM->getFlags() & skiagm::GM::kSkipPipeCrossProcess_Flag) { 78 fGM->getFlags() & skiagm::GM::kSkipPipeCrossProcess_Flag) {
78 return true; 79 return true;
79 } 80 }
80 return false; 81 return false;
81 } 82 }
82 83
83 } // namespace DM 84 } // namespace DM
OLDNEW
« no previous file with comments | « no previous file | include/core/SkPicture.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698