diff options
author | Robert Phillips <robertphillips@google.com> | 2018-01-16 10:44:11 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-01-16 17:02:45 +0000 |
commit | 1f9ed8501b0007846b3032f4bfc38aee98c175a1 (patch) | |
tree | a342137e34180a110d1cd4129650a771290d0f17 /src/gpu/GrRenderTargetContext.h | |
parent | 20df20cfe822f613d6035baf5f5415a3a977e709 (diff) |
Move resourceProvider accessor to GrContextPriv
Change-Id: I5cddd620a7ec4b006b7359864ede58e9d4dd684e
Reviewed-on: https://skia-review.googlesource.com/94340
Reviewed-by: Brian Salomon <bsalomon@google.com>
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'src/gpu/GrRenderTargetContext.h')
-rw-r--r-- | src/gpu/GrRenderTargetContext.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gpu/GrRenderTargetContext.h b/src/gpu/GrRenderTargetContext.h index 2ae52b922c..47cd922596 100644 --- a/src/gpu/GrRenderTargetContext.h +++ b/src/gpu/GrRenderTargetContext.h @@ -11,6 +11,7 @@ #include "../private/GrRenderTargetProxy.h" #include "GrColor.h" #include "GrContext.h" +#include "GrContextPriv.h" #include "GrPaint.h" #include "GrSurfaceContext.h" #include "GrTypesPriv.h" @@ -349,7 +350,7 @@ public: GrRenderTarget* accessRenderTarget() { // TODO: usage of this entry point needs to be reduced and potentially eliminated // since it ends the deferral of the GrRenderTarget's allocation - if (!fRenderTargetProxy->instantiate(fContext->resourceProvider())) { + if (!fRenderTargetProxy->instantiate(fContext->contextPriv().resourceProvider())) { return nullptr; } return fRenderTargetProxy->priv().peekRenderTarget(); |