aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/utils
diff options
context:
space:
mode:
authorGravatar Chris Dalton <csmartdalton@google.com>2018-02-15 14:18:36 -0700
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-02-16 20:10:47 +0000
commit46563d1d918d9790e95bc363613a233ff8c9de2a (patch)
tree96fd675a552391d62e4b6bf70f684a333fac60cb /include/utils
parentc9649ce7d0fbd80faeaaa82454f894358458d517 (diff)
Forward internal_private_accessTopLayerRenderTargetContext from SkPaintFilterCanvas
Fixes viewer slides that need direct access to Ganesh. Bug: skia: Change-Id: Icfdd814e53ce333f4a20353e8bc4dddde3cc72df Reviewed-on: https://skia-review.googlesource.com/108020 Reviewed-by: Brian Osman <brianosman@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Chris Dalton <csmartdalton@google.com>
Diffstat (limited to 'include/utils')
-rw-r--r--include/utils/SkPaintFilterCanvas.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/utils/SkPaintFilterCanvas.h b/include/utils/SkPaintFilterCanvas.h
index 22a6016a11..d6689b91bc 100644
--- a/include/utils/SkPaintFilterCanvas.h
+++ b/include/utils/SkPaintFilterCanvas.h
@@ -45,7 +45,10 @@ public:
// Forwarded to the wrapped canvas.
SkISize getBaseLayerSize() const override { return proxy()->getBaseLayerSize(); }
- GrContext* getGrContext() override { return proxy()->getGrContext(); }
+ GrContext* getGrContext() override { return proxy()->getGrContext(); }
+ GrRenderTargetContext* internal_private_accessTopLayerRenderTargetContext() override {
+ return proxy()->internal_private_accessTopLayerRenderTargetContext();
+ }
protected:
/**