diff options
author | Kevin Lubick <kjlubick@google.com> | 2018-04-02 11:06:41 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-04-02 15:30:20 +0000 |
commit | 3070926579a6da7a9bcdef9ed9b85af15c9bd1c9 (patch) | |
tree | 46284a49bc357ef6d6a3bdae835615587d106eb7 | |
parent | 61bfac6416778002d0cbd95136e55b862a069e04 (diff) |
Add mock gl fuzzer
Bug: skia:
Change-Id: I661eed3cdddba67aadfff5b3fe7b96ac29180c61
Reviewed-on: https://skia-review.googlesource.com/117637
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Kevin Lubick <kjlubick@google.com>
-rw-r--r-- | fuzz/FuzzCanvas.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/fuzz/FuzzCanvas.cpp b/fuzz/FuzzCanvas.cpp index c7f141979b..879f9a4862 100644 --- a/fuzz/FuzzCanvas.cpp +++ b/fuzz/FuzzCanvas.cpp @@ -1818,10 +1818,17 @@ DEF_FUZZ(NullGLCanvas, fuzz) { fuzz_ganesh(fuzz, f.get(sk_gpu_test::GrContextFactory::kNullGL_ContextType)); } +// This target is deprecated, DebugGLContext is not well maintained. +// Please use MockGLCanvas instead. DEF_FUZZ(DebugGLCanvas, fuzz) { sk_gpu_test::GrContextFactory f; fuzz_ganesh(fuzz, f.get(sk_gpu_test::GrContextFactory::kDebugGL_ContextType)); } + +DEF_FUZZ(MockGLCanvas, fuzz) { + sk_gpu_test::GrContextFactory f; + fuzz_ganesh(fuzz, f.get(sk_gpu_test::GrContextFactory::kMock_ContextType)); +} #endif DEF_FUZZ(PDFCanvas, fuzz) { |