Index: tools/viewer/sk_app/WindowContext.h |
diff --git a/tools/viewer/sk_app/WindowContext.h b/tools/viewer/sk_app/WindowContext.h |
index 1fd921afb2e83a9f531134ffb601243d5326073b..fdd847445c25df03d250f10d96f34fe71c03b5fe 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, |