commit | 18166eeaf2d088d494c4273b88107544166046fd | [log] [tgz] |
---|---|---|
author | Robert Phillips <robertphillips@google.com> | Thu Jun 01 12:55:44 2017 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Fri Jun 02 11:46:40 2017 +0000 |
tree | a5653250b48b2c3c432127ac2e40d57008a5f117 | |
parent | dec4c0b29843d5de7d06c3998d919b3e3abecdf2 [diff] [blame] |
Omnibus: Push instantiation of GrTextures later (post TextureSampler) Split into: https://skia-review.googlesource.com/c/10485/ (More GrSurfaceProxy-clean up) https://skia-review.googlesource.com/c/15819/ (Expand GrTextureProxy to handle highestFilterMode) https://skia-review.googlesource.com/c/16714/ (Switch ImageStorageAccess over to GrTextureProxies) https://skia-review.googlesource.com/c/16908/ (Convert DstTexture to DstProxy) Change-Id: I6cf3ba0f3bf0e1908d36749bc83571c066ddd568 Reviewed-on: https://skia-review.googlesource.com/10484 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
diff --git a/src/gpu/effects/GrDistanceFieldGeoProc.cpp b/src/gpu/effects/GrDistanceFieldGeoProc.cpp index 6101c41..51c4b55 100644 --- a/src/gpu/effects/GrDistanceFieldGeoProc.cpp +++ b/src/gpu/effects/GrDistanceFieldGeoProc.cpp
@@ -202,7 +202,7 @@ // Currently we hardcode numbers to convert atlas coordinates to normalized floating point SkASSERT(gp.numTextureSamplers() == 1); - GrTexture* atlas = gp.textureSampler(0).texture(); + GrTextureProxy* atlas = gp.textureSampler(0).proxy(); if (atlas) { b->add32(atlas->width()); b->add32(atlas->height()); @@ -757,7 +757,7 @@ // Currently we hardcode numbers to convert atlas coordinates to normalized floating point SkASSERT(gp.numTextureSamplers() == 1); - GrTexture* atlas = gp.textureSampler(0).texture(); + GrTextureProxy* atlas = gp.textureSampler(0).proxy(); if (atlas) { b->add32(atlas->width()); b->add32(atlas->height());