diff options
author | Robert Phillips <robertphillips@google.com> | 2018-01-16 08:06:32 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-01-16 13:28:43 +0000 |
commit | 0bd24dc41f2351d84f5fce32130668a5792d134b (patch) | |
tree | c46dc6fb7636fd7c2185e1f855f1dd582512fcc4 /src/gpu/GrTextureRenderTargetProxy.h | |
parent | 3167aa0c9c84cab1b0252031166e4a345e2afe2d (diff) |
Funnel most proxy creation through GrProxyProvider
This is to provide a choke point for DDL to create Lazy Proxies.
Change-Id: If178da13bc6447b31b7601810236d34502d9efbd
Reviewed-on: https://skia-review.googlesource.com/93303
Commit-Queue: Robert Phillips <robertphillips@google.com>
Reviewed-by: Greg Daniel <egdaniel@google.com>
Diffstat (limited to 'src/gpu/GrTextureRenderTargetProxy.h')
-rw-r--r-- | src/gpu/GrTextureRenderTargetProxy.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gpu/GrTextureRenderTargetProxy.h b/src/gpu/GrTextureRenderTargetProxy.h index 739f79744a..63cc4872b6 100644 --- a/src/gpu/GrTextureRenderTargetProxy.h +++ b/src/gpu/GrTextureRenderTargetProxy.h @@ -23,7 +23,9 @@ // the uniqueID of the RenderTarget/Texture it represents! class GrTextureRenderTargetProxy : public GrTextureProxy, public GrRenderTargetProxy { private: + // DDL TODO: rm the GrSurfaceProxy friending friend class GrSurfaceProxy; // for ctors + friend class GrProxyProvider; // for ctors // Deferred version GrTextureRenderTargetProxy(const GrCaps&, const GrSurfaceDesc&, |