diff options
author | 2018-01-17 18:12:50 +0000 | |
---|---|---|
committer | 2018-01-17 18:12:57 +0000 | |
commit | e201ebc995151adbe0e15cd88d7277d41c40ddbf (patch) | |
tree | 75e1c849a0c1474c9aee0277e538bc8917614fa8 /include | |
parent | b1b7f70103378aff5e9a315e7788866b648ab4b1 (diff) |
Revert "Remove GrSurfaceProxy::MakeWrapped"
This reverts commit 2ac5868f4a695b30777c7c57ffd493fed0fa597b.
Reason for revert: Breaking Android
Original change's description:
> Remove GrSurfaceProxy::MakeWrapped
>
> Change-Id: Ic44cf1745dc3be21cbbaa1dc4ac85c8b1b21c6bb
> Reviewed-on: https://skia-review.googlesource.com/94101
> Commit-Queue: Robert Phillips <robertphillips@google.com>
> Reviewed-by: Greg Daniel <egdaniel@google.com>
TBR=egdaniel@google.com,robertphillips@google.com,brianosman@google.com
Change-Id: I312118106db1cf64fe959d36e65619a41d58e654
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://skia-review.googlesource.com/95860
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/private/GrSurfaceProxy.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/private/GrSurfaceProxy.h b/include/private/GrSurfaceProxy.h index 5fef077088..55b30a5d5b 100644 --- a/include/private/GrSurfaceProxy.h +++ b/include/private/GrSurfaceProxy.h @@ -182,6 +182,9 @@ private: class GrSurfaceProxy : public GrIORefProxy { public: + // DDL TODO: remove this entry point + static sk_sp<GrTextureProxy> MakeWrapped(sk_sp<GrTexture>, GrSurfaceOrigin); + enum class LazyState { kNot, // The proxy has no lazy callback that must be made. kPartially, // The proxy has a lazy callback but knows basic information about itself. |