diff options
author | 2017-02-28 11:26:32 -0500 | |
---|---|---|
committer | 2017-02-28 17:21:55 +0000 | |
commit | c787e495e28d3a37945e74e24bb6ee8f635d86b7 (patch) | |
tree | 9fbcc692fcffe3b8a90cbb57f01c5e93225dbaa8 /include/private/GrTextureProxy.h | |
parent | b26373cfd8151b2fa56bdf532ddcde4919cce09f (diff) |
Allow GrSurfaceProxy-derived classes to use flags when instantiating (take 2)
In some instances proxies must be created that, when instantiated, have no pending IO.
This is split out of:
https://skia-review.googlesource.com/c/8679/ (Add per-Flush callback to GrDrawingManager)
and is a reland of:
https://skia-review.googlesource.com/c/8988/ ( Allow GrSurfaceProxy-derived classes to use flags when instantiating)
Change-Id: I36f52a6d249e762bdfc1f0d7528aba6d4071e492
Reviewed-on: https://skia-review.googlesource.com/9070
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'include/private/GrTextureProxy.h')
-rw-r--r-- | include/private/GrTextureProxy.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/private/GrTextureProxy.h b/include/private/GrTextureProxy.h index 5eb3066489..f4c52fb6e0 100644 --- a/include/private/GrTextureProxy.h +++ b/include/private/GrTextureProxy.h @@ -29,7 +29,7 @@ protected: // Deferred version GrTextureProxy(const GrSurfaceDesc& srcDesc, SkBackingFit, SkBudgeted, - const void* srcData, size_t srcRowBytes); + const void* srcData, size_t srcRowBytes, uint32_t flags); // Wrapped version GrTextureProxy(sk_sp<GrSurface>); |