commit | 65fa8ca85ef146340ddea61bb08c182df499ca62 | [log] [tgz] |
---|---|---|
author | Greg Daniel <egdaniel@google.com> | Wed Jan 10 17:06:31 2018 -0500 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Fri Jan 12 19:36:08 2018 +0000 |
tree | c8795e3ecf0c2c45929249b03dcbe108f52e2445 | |
parent | e2330261a704e2db762e2de0d297bf8b4dc510f1 [diff] [blame] |
Updating lazy proxys to support the case where we know a lot more info about the texture. This is needed for future DDL texture work. Bug: skia: Change-Id: I07e0b9c67509e63b9cac00adc355254d03784df8 Reviewed-on: https://skia-review.googlesource.com/91500 Commit-Queue: Greg Daniel <egdaniel@google.com> Reviewed-by: Chris Dalton <csmartdalton@google.com>
diff --git a/src/gpu/ccpr/GrCoverageCountingPathRenderer.cpp b/src/gpu/ccpr/GrCoverageCountingPathRenderer.cpp index 62d3a06..67098cc 100644 --- a/src/gpu/ccpr/GrCoverageCountingPathRenderer.cpp +++ b/src/gpu/ccpr/GrCoverageCountingPathRenderer.cpp
@@ -225,7 +225,7 @@ int rtHeight) { SkASSERT(this->isUninitialized()); - fAtlasLazyProxy = GrSurfaceProxy::MakeLazy( + fAtlasLazyProxy = GrSurfaceProxy::MakeFullyLazy( [this](GrResourceProvider* resourceProvider, GrSurfaceOrigin* outOrigin) { SkASSERT(fHasAtlas); SkASSERT(!fHasAtlasTransform);