diff options
author | djsollen <djsollen@google.com> | 2016-06-09 13:07:13 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-06-09 13:07:13 -0700 |
commit | 7e73108a371dfb1dfa05f0810d5463d94bfa06b7 (patch) | |
tree | 14d8b2a2bc976dc111c95d8cba55f48aeccf40ff /tools/viewer | |
parent | 09b4224be3901b97cc2301115f9a2e9381a39dbb (diff) |
Cleanup needed to use WindowContext for Android
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2055693003
Review-Url: https://codereview.chromium.org/2055693003
Diffstat (limited to 'tools/viewer')
-rw-r--r-- | tools/viewer/sk_app/WindowContext.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/viewer/sk_app/WindowContext.h b/tools/viewer/sk_app/WindowContext.h index 1fd921afb2..fdd847445c 100644 --- a/tools/viewer/sk_app/WindowContext.h +++ b/tools/viewer/sk_app/WindowContext.h @@ -42,6 +42,7 @@ public: } virtual GrBackendContext getBackendContext() = 0; + GrContext* getGrContext() const { return fContext; } sk_sp<SkSurface> createRenderSurface(sk_sp<GrRenderTarget>, int colorBits); void presentRenderSurface(sk_sp<SkSurface> renderSurface, sk_sp<GrRenderTarget> rt, |