From c7635fa374b87711e5ccd8222957a8fbdc772f7b Mon Sep 17 00:00:00 2001 From: Robert Phillips Date: Fri, 28 Oct 2016 13:25:24 -0400 Subject: 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 Reviewed-by: Brian Salomon --- include/private/GrTextureProxy.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/private/GrTextureProxy.h') 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 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 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; }; -- cgit v1.2.3