Plumb internal helper to enable more GPU GMs w/SkColorSpaceXformCanvas
API change isn't really public. TBR:bsalomon@google.com Bug: skia: Change-Id: I3a1ae5d7ddb562387e8b8e1248b347704f88037b Reviewed-on: https://skia-review.googlesource.com/66144 Reviewed-by: Brian Osman <brianosman@google.com> Reviewed-by: Mike Klein <mtklein@chromium.org> Commit-Queue: Brian Osman <brianosman@google.com>
This commit is contained in:
parent
028b32c9d5
commit
61b43daa85
@ -2413,7 +2413,7 @@ public:
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// don't call
|
||||
GrRenderTargetContext* internal_private_accessTopLayerRenderTargetContext();
|
||||
virtual GrRenderTargetContext* internal_private_accessTopLayerRenderTargetContext();
|
||||
|
||||
// don't call
|
||||
static void Internal_Private_SetIgnoreSaveLayerBounds(bool);
|
||||
|
@ -306,6 +306,9 @@ public:
|
||||
GrContext* getGrContext() override { return fTarget->getGrContext(); }
|
||||
bool onGetProps(SkSurfaceProps* props) const override { return fTarget->getProps(props); }
|
||||
void onFlush() override { return fTarget->flush(); }
|
||||
GrRenderTargetContext* internal_private_accessTopLayerRenderTargetContext() override {
|
||||
return fTarget->internal_private_accessTopLayerRenderTargetContext();
|
||||
}
|
||||
|
||||
private:
|
||||
sk_sp<SkImage> prepareImage(const SkImage* image) {
|
||||
|
Loading…
Reference in New Issue
Block a user