diff options
author | wangyix <wangyix@google.com> | 2015-09-08 15:23:34 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-09-08 15:23:35 -0700 |
commit | 036fd8e6f66b53cf87a5f91083cae82f0aeb3635 (patch) | |
tree | 65b7f07cf2aba924c84cba7208efa6d5f2e38a78 /src/gpu | |
parent | 894a2e436289077cd09cc89e857bfa0a2e590ee8 (diff) |
Added TestCreate for SkComposeShader; will pick two random child procs that don't have children of their own. This prevents creating an arbitrarily large tree of procs. Also, it will choose a random coefficient mode for the xfermode.
BUG=skia:4182
Review URL: https://codereview.chromium.org/1306163002
Diffstat (limited to 'src/gpu')
-rw-r--r-- | src/gpu/GrProcessor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/GrProcessor.cpp b/src/gpu/GrProcessor.cpp index 4f6d8788b1..e324baa260 100644 --- a/src/gpu/GrProcessor.cpp +++ b/src/gpu/GrProcessor.cpp @@ -50,7 +50,7 @@ GrProcessorTestFactory<GrGeometryProcessor>::GetFactories() { * we verify the count is as expected. If a new factory is added, then these numbers must be * manually adjusted. */ -static const int kFPFactoryCount = 37; +static const int kFPFactoryCount = 38; static const int kGPFactoryCount = 14; static const int kXPFactoryCount = 5; |