diff options
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, |