commit | ce5209a8a5711fde34f28c740f5cd74bdb560e21 | [log] [tgz] |
---|---|---|
author | Robert Phillips <robertphillips@google.com> | Tue Feb 13 11:13:51 2018 -0500 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Tue Feb 13 21:25:53 2018 +0000 |
tree | 772f3427bf4f1a73d2c7db727b3750b7c56b65d0 | |
parent | 6a46fb210b810553b2a03a5f316109ccd9710ebc [diff] [blame] |
Make fully lazy proxies possess an origin Change-Id: Icd3d68bce78568562aa12167a58b6d6e5064b124 Reviewed-on: https://skia-review.googlesource.com/106901 Reviewed-by: Greg Daniel <egdaniel@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
diff --git a/src/gpu/ccpr/GrCCAtlas.cpp b/src/gpu/ccpr/GrCCAtlas.cpp index 5ef39f8..97b28fb 100644 --- a/src/gpu/ccpr/GrCCAtlas.cpp +++ b/src/gpu/ccpr/GrCCAtlas.cpp
@@ -138,6 +138,8 @@ SkASSERT(!fTextureProxy); GrSurfaceDesc desc; + desc.fFlags = kRenderTarget_GrSurfaceFlag; + desc.fOrigin = kTopLeft_GrSurfaceOrigin; desc.fWidth = fWidth; desc.fHeight = fHeight; desc.fConfig = kAlpha_half_GrPixelConfig;