| Index: dm/DMSrcSink.h
|
| diff --git a/dm/DMSrcSink.h b/dm/DMSrcSink.h
|
| index e155508ac217e1a1b423dfb396de83330dd8ddbf..6b644ecdf36fd6c543d0c62c38ad34ad1b1e0b53 100644
|
| --- a/dm/DMSrcSink.h
|
| +++ b/dm/DMSrcSink.h
|
| @@ -214,18 +214,20 @@ public:
|
|
|
| class GPUSink : public Sink {
|
| public:
|
| - GPUSink(GrContextFactory::GLContextType, GrGLStandard, int samples, bool diText, bool threaded);
|
| + GPUSink(GrContextFactory::GLContextType, GrContextFactory::GLContextOptions,
|
| + GrGLStandard, int samples, bool diText, bool threaded);
|
|
|
| Error draw(const Src&, SkBitmap*, SkWStream*, SkString*) const override;
|
| int enclave() const override;
|
| const char* fileExtension() const override { return "png"; }
|
| SinkFlags flags() const override { return SinkFlags{ SinkFlags::kGPU, SinkFlags::kDirect }; }
|
| private:
|
| - GrContextFactory::GLContextType fContextType;
|
| - GrGLStandard fGpuAPI;
|
| - int fSampleCount;
|
| - bool fUseDIText;
|
| - bool fThreaded;
|
| + GrContextFactory::GLContextType fContextType;
|
| + GrContextFactory::GLContextOptions fContextOptions;
|
| + GrGLStandard fGpuAPI;
|
| + int fSampleCount;
|
| + bool fUseDIText;
|
| + bool fThreaded;
|
| };
|
|
|
| class PDFSink : public Sink {
|
|
|