diff options
Diffstat (limited to 'dm/DMSrcSink.h')
-rw-r--r-- | dm/DMSrcSink.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/dm/DMSrcSink.h b/dm/DMSrcSink.h index bbf47cffd8..babe14d135 100644 --- a/dm/DMSrcSink.h +++ b/dm/DMSrcSink.h @@ -213,7 +213,8 @@ public: class GPUSink : public Sink { public: GPUSink(GrContextFactory::GLContextType, GrContextFactory::GLContextOptions, - int samples, bool diText, bool threaded); + int samples, bool diText, SkColorType colorType, SkColorProfileType profileType, + bool threaded); Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override; bool serial() const override { return !fThreaded; } @@ -224,6 +225,8 @@ private: GrContextFactory::GLContextOptions fContextOptions; int fSampleCount; bool fUseDIText; + SkColorType fColorType; + SkColorProfileType fProfileType; bool fThreaded; }; |