aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/gpu
diff options
context:
space:
mode:
authorGravatar Brian Salomon <bsalomon@google.com>2017-01-25 14:58:24 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-01-25 23:51:38 +0000
commit9ae32a20248ccce26101ff3253e4188dbcbb8994 (patch)
tree1d184c16fd5a1509e97cf323f8ee6b3235935ff0 /include/gpu
parent39728d331a1ae2989bc1922d3c97ee1fe3289670 (diff)
Remove redundant caps field from GrProcessorTestData
Change-Id: Ic31338f08d1bd5b55ffab75d30c0f54436c8b917 Reviewed-on: https://skia-review.googlesource.com/7510 Reviewed-by: Robert Phillips <robertphillips@google.com> Commit-Queue: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'include/gpu')
-rw-r--r--include/gpu/GrProcessorUnitTest.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/gpu/GrProcessorUnitTest.h b/include/gpu/GrProcessorUnitTest.h
index 49f26fdb9b..7cec307f28 100644
--- a/include/gpu/GrProcessorUnitTest.h
+++ b/include/gpu/GrProcessorUnitTest.h
@@ -45,12 +45,10 @@ sk_sp<GrFragmentProcessor> MakeChildFP(GrProcessorTestData*);
struct GrProcessorTestData {
GrProcessorTestData(SkRandom* random,
GrContext* context,
- const GrCaps* caps,
const GrRenderTargetContext* renderTargetContext,
GrTexture* textures[2])
: fRandom(random)
, fContext(context)
- , fCaps(caps)
, fRenderTargetContext(renderTargetContext) {
fTextures[0] = textures[0];
fTextures[1] = textures[1];
@@ -60,7 +58,6 @@ struct GrProcessorTestData {
}
SkRandom* fRandom;
GrContext* fContext;
- const GrCaps* fCaps;
const GrRenderTargetContext* fRenderTargetContext;
GrTexture* fTextures[2];