aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/private/GrTextureProxy.h
diff options
context:
space:
mode:
authorGravatar Robert Phillips <robertphillips@google.com>2016-10-28 13:25:24 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2016-10-28 18:35:06 +0000
commitc7635fa374b87711e5ccd8222957a8fbdc772f7b (patch)
treec739d7303f25450cfca3f148458cec509bfa4e8a /include/private/GrTextureProxy.h
parent57a98fc4d595875ca75f906acec8ba508dcb5248 (diff)
Make GrDrawContext be GrRenderTargetProxy-backed
This is split out of https://codereview.chromium.org/2215323003/ (Start using RenderTargetProxy (omnibus)) GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=3841 CQ_INCLUDE_TRYBOTS=master.client.skia.android:Test-Android-Clang-Nexus5-GPU-Adreno330-arm-Debug-GN_Android-Trybot Change-Id: I1a47f19ed1ac0c249e6ccac8db74095d7f456db4 Reviewed-on: https://skia-review.googlesource.com/3841 Commit-Queue: Robert Phillips <robertphillips@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'include/private/GrTextureProxy.h')
-rw-r--r--include/private/GrTextureProxy.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/private/GrTextureProxy.h b/include/private/GrTextureProxy.h
index 63cb3c8359..5b4eeef7bc 100644
--- a/include/private/GrTextureProxy.h
+++ b/include/private/GrTextureProxy.h
@@ -36,9 +36,9 @@ private:
// Wrapped version
GrTextureProxy(sk_sp<GrTexture> tex);
- // For wrapped textures we store it here.
- // For deferred proxies we will fill this in when we need to instantiate the deferred resource
- sk_sp<GrTexture> fTexture;
+ // For wrapped proxies the GrTexture pointer is stored in GrIORefProxy.
+ // For deferred proxies that pointer will be filled n when we need to instantiate
+ // the deferred resource
typedef GrSurfaceProxy INHERITED;
};