diff options
author | Robert Phillips <robertphillips@google.com> | 2017-02-21 10:04:31 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-02-21 16:34:11 +0000 |
commit | dbc8eeb592123619d9c5bb4b6c6225b9fd45d03b (patch) | |
tree | 053905e92d6e9ac236a2a2adecb07104e9c0e390 /src/gpu/GrTestUtils.cpp | |
parent | 9048851e579dffad43f0c77e15030d4fdd5377a8 (diff) |
Remove GrProcessorTestData's GrTextures
(No longer) Blocked on: https://skia-review.googlesource.com/c/8450/ (Remove asTextureRef from SkSpecialImage & update effects accordingly (take 2))
This also (unfortunately) picks up a few straggling effects that didn't have a sk_sp<GrTextureProxy> factory.
Change-Id: I5ce583a084aa8fe00e866eec1db90e2ec9dd2ab0
Reviewed-on: https://skia-review.googlesource.com/8500
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'src/gpu/GrTestUtils.cpp')
-rw-r--r-- | src/gpu/GrTestUtils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/GrTestUtils.cpp b/src/gpu/GrTestUtils.cpp index 1d3b7756df..aad927ab3f 100644 --- a/src/gpu/GrTestUtils.cpp +++ b/src/gpu/GrTestUtils.cpp @@ -326,7 +326,7 @@ TestAsFPArgs::TestAsFPArgs(GrProcessorTestData* d) { fViewMatrixStorage = TestMatrix(d->fRandom); fColorSpaceStorage = TestColorSpace(d->fRandom); - fArgs.fContext = d->fContext; + fArgs.fContext = d->context(); fArgs.fViewMatrix = &fViewMatrixStorage; fArgs.fLocalMatrix = nullptr; fArgs.fFilterQuality = kNone_SkFilterQuality; |