Index: tools/PictureRenderer.h |
diff --git a/tools/PictureRenderer.h b/tools/PictureRenderer.h |
index fadf97085fcd79f1b33e84b182cf7f24198dfa00..e1434686c68acb1908867ac29fb43b8855f16191 100644 |
--- a/tools/PictureRenderer.h |
+++ b/tools/PictureRenderer.h |
@@ -28,7 +28,6 @@ |
#include "image_expectations.h" |
-struct GrContextOptions; |
class SkBitmap; |
class SkCanvas; |
class SkGLContext; |
@@ -393,7 +392,7 @@ |
return fGrContext; |
} |
- const GrContextOptions& getGrContextOptions() { |
+ const GrContext::Options& getGrContextOptions() { |
return fGrContextFactory.getGlobalOptions(); |
} |
#endif |
@@ -407,7 +406,7 @@ |
} |
#if SK_SUPPORT_GPU |
- explicit PictureRenderer(const GrContextOptions &opts) |
+ explicit PictureRenderer(const GrContext::Options &opts) |
#else |
PictureRenderer() |
#endif |
@@ -499,7 +498,7 @@ |
class RecordPictureRenderer : public PictureRenderer { |
public: |
#if SK_SUPPORT_GPU |
- RecordPictureRenderer(const GrContextOptions &opts) : INHERITED(opts) { } |
+ RecordPictureRenderer(const GrContext::Options &opts) : INHERITED(opts) { } |
#endif |
bool render(SkBitmap** out = NULL) override; |
@@ -520,7 +519,7 @@ |
class PipePictureRenderer : public PictureRenderer { |
public: |
#if SK_SUPPORT_GPU |
- PipePictureRenderer(const GrContextOptions &opts) : INHERITED(opts) { } |
+ PipePictureRenderer(const GrContext::Options &opts) : INHERITED(opts) { } |
#endif |
bool render(SkBitmap** out = NULL) override; |
@@ -534,7 +533,7 @@ |
class SimplePictureRenderer : public PictureRenderer { |
public: |
#if SK_SUPPORT_GPU |
- SimplePictureRenderer(const GrContextOptions &opts) : INHERITED(opts) { } |
+ SimplePictureRenderer(const GrContext::Options &opts) : INHERITED(opts) { } |
#endif |
virtual void init(const SkPicture* pict, |
@@ -555,7 +554,7 @@ |
class TiledPictureRenderer : public PictureRenderer { |
public: |
#if SK_SUPPORT_GPU |
- TiledPictureRenderer(const GrContextOptions &opts); |
+ TiledPictureRenderer(const GrContext::Options &opts); |
#else |
TiledPictureRenderer(); |
#endif |
@@ -690,7 +689,7 @@ |
class PlaybackCreationRenderer : public PictureRenderer { |
public: |
#if SK_SUPPORT_GPU |
- PlaybackCreationRenderer(const GrContextOptions &opts) : INHERITED(opts) { } |
+ PlaybackCreationRenderer(const GrContext::Options &opts) : INHERITED(opts) { } |
#endif |
void setup() override; |
@@ -710,7 +709,7 @@ |
}; |
#if SK_SUPPORT_GPU |
-extern PictureRenderer* CreateGatherPixelRefsRenderer(const GrContextOptions& opts); |
+extern PictureRenderer* CreateGatherPixelRefsRenderer(const GrContext::Options& opts); |
#else |
extern PictureRenderer* CreateGatherPixelRefsRenderer(); |
#endif |