| Index: tools/PictureRenderingFlags.cpp
|
| diff --git a/tools/PictureRenderingFlags.cpp b/tools/PictureRenderingFlags.cpp
|
| index 82097e9819a4a2d6b958ee0e97151275067541f5..26d15911d11876b3bb5fb9d07a99cfe21897600d 100644
|
| --- a/tools/PictureRenderingFlags.cpp
|
| +++ b/tools/PictureRenderingFlags.cpp
|
| @@ -8,6 +8,9 @@
|
| #include "PictureRenderingFlags.h"
|
|
|
| #include "CopyTilesRenderer.h"
|
| +#if SK_SUPPORT_GPU
|
| +#include "GrContextOptions.h"
|
| +#endif
|
| #include "PictureRenderer.h"
|
| #include "picture_utils.h"
|
| #include "SkCommandLineFlags.h"
|
| @@ -94,7 +97,7 @@ sk_tools::PictureRenderer* parseRenderer(SkString& error, PictureTool tool) {
|
| const char* mode = NULL;
|
|
|
| #if SK_SUPPORT_GPU
|
| - GrContext::Options grContextOpts;
|
| + GrContextOptions grContextOpts;
|
| grContextOpts.fDrawPathToCompressedTexture = FLAGS_gpuCompressAlphaMasks;
|
| #define RENDERER_ARGS (grContextOpts)
|
| #else
|
|
|