skia2/fuzz
Kevin Lubick fe6b48948c Add Dockerfile for building and running local Skia checkout with SwiftShader
This also adds a little helper to fuzz that allows us to see what
GPU is being targeted.

This is the first step in getting a SwiftShader fuzz target.

To prove that this works, simply download this patch and run:

./docker/skia-with-swift-shader-base/build-with-swift-shader-and-run "out/with-swift-shader/fuzz --gpuInfo -t api -n NativeGLCanvas -b out/with-swift-shader/fiddle"
Running supplied command ['out/with-swift-shader/fuzz', '--gpuInfo', '-t', 'api', '-n', 'NativeGLCanvas', '-b', 'out/with-swift-shader/fiddle']
Fuzzing NativeGLCanvas...
GL_RENDERER Google SwiftShader
GL_VENDOR Google Inc.
GL_VERSION OpenGL ES 3.0 SwiftShader 4.0.0.6

Bug: skia:
Change-Id: I3cc11a6bcd14f70f6025011722f9a73c94cb1f65
Reviewed-on: https://skia-review.googlesource.com/132269
Reviewed-by: Joe Gregorio <jcgregorio@google.com>
Commit-Queue: Kevin Lubick <kjlubick@google.com>
2018-06-06 18:23:24 +00:00
..
oss_fuzz [skottie] Relocate to modules/skottie 2018-05-27 02:21:33 +00:00
coverage remove SkColorSpace::MakeICC() fuzzer 2018-05-23 16:31:11 +00:00
fuzz.cpp Add Dockerfile for building and running local Skia checkout with SwiftShader 2018-06-06 18:23:24 +00:00
Fuzz.h Add Encoder fuzzers 2018-03-30 19:31:56 +00:00
FuzzCanvas.cpp Add Dockerfile for building and running local Skia checkout with SwiftShader 2018-06-06 18:23:24 +00:00
FuzzCommon.cpp pathmeasure fuzzer 2018-03-12 15:29:18 +00:00
FuzzCommon.h Add Dockerfile for building and running local Skia checkout with SwiftShader 2018-06-06 18:23:24 +00:00
FuzzDrawFunctions.cpp Tweak API fuzzers to run better in libfuzzer 2018-02-27 16:21:49 +00:00
FuzzEncoders.cpp Add Encoder fuzzers 2018-03-30 19:31:56 +00:00
FuzzGradients.cpp Tweak API fuzzers to run better in libfuzzer 2018-02-27 16:21:49 +00:00
FuzzParsePath.cpp Add back in min/max check on fuzzer range 2016-11-16 19:17:19 +00:00
FuzzPathMeasure.cpp pathmeasure fuzzer 2018-03-12 15:29:18 +00:00
FuzzPathop.cpp pathmeasure fuzzer 2018-03-12 15:29:18 +00:00
FuzzRegionOp.cpp Region Op Fuzzer 2018-04-06 16:37:23 +00:00