diff options
author | 2016-02-08 12:39:59 -0800 | |
---|---|---|
committer | 2016-02-08 12:39:59 -0800 | |
commit | 21eaf3b00aa23ec352b595d5c54dd2c0faa0b0c6 (patch) | |
tree | ae55f8b64ecc2e98c05af21584ecc2817f7ea206 /dm/DMSrcSink.cpp | |
parent | 5909c3ad1380d39e41855080c0b292a1d6b9a0b9 (diff) |
dm: simplify parallel/serial decisions
- instead of complicated enclaves, just allow parallel or main thread serial
- either the Src or the Sink can force the task to go serial
ALSO,
- simpler file extension parsing
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1675423002
Review URL: https://codereview.chromium.org/1675423002
Diffstat (limited to 'dm/DMSrcSink.cpp')
-rw-r--r-- | dm/DMSrcSink.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/dm/DMSrcSink.cpp b/dm/DMSrcSink.cpp index a0dcb1cfc5..30cdbf085d 100644 --- a/dm/DMSrcSink.cpp +++ b/dm/DMSrcSink.cpp @@ -831,10 +831,6 @@ GPUSink::GPUSink(GrContextFactory::GLContextType ct, , fUseDIText(diText) , fThreaded(threaded) {} -int GPUSink::enclave() const { - return fThreaded ? kAnyThread_Enclave : kGPU_Enclave; -} - void PreAbandonGpuContextErrorHandler(SkError, void*) {} DEFINE_bool(imm, false, "Run gpu configs in immediate mode."); |