skia2/fuzz/oss_fuzz
Brian Osman d7e7659cad Move GrShaderCaps from Program::Settings to Compiler
This ties the caps to the compiler instance, paving the way for
pre-optimizing the shared code. Most of the time, the compiler is
created and owned the GPU instance, so this is fine. For runtime
effects, we now use the shared (device-agnostic) compiler instance
for the first compile, even on GPU. It's configured with caps that
apply no workarounds. We pass the user's SkSL to the backend as
cleanly as possible, and then apply any workarounds once it's part
of the full program.

Bug: skia:10905
Bug: skia:10868
Change-Id: Ifcf8d7ebda5d43ad8e180f06700a261811da83de
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/331493
Commit-Queue: Brian Osman <brianosman@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
Reviewed-by: John Stiles <johnstiles@google.com>
2020-11-04 19:38:33 +00:00
..
FuzzAndroidCodec.cpp [fuzz] Standardize, document, and backport fuzzing defines. 2020-09-14 13:36:10 +00:00
FuzzAnimatedImage.cpp [fuzz] Standardize, document, and backport fuzzing defines. 2020-09-14 13:36:10 +00:00
FuzzAPICreateDDL.cpp add create ddl fuzzer 2020-07-22 20:10:51 +00:00
FuzzAPIImageFilter.cpp replace max_len with if statements 2020-06-16 17:26:30 +00:00
FuzzAPISVGCanvas.cpp Use test font manager for SVG fuzzer 2020-07-08 19:30:00 +00:00
FuzzDrawFunctions.cpp replace max_len with if statements 2020-06-16 17:26:30 +00:00
FuzzGradients.cpp replace max_len with if statements 2020-06-16 17:26:30 +00:00
FuzzImage.cpp [fuzz] Make libfuzzer defines backwards compatible for roll 2020-09-14 17:43:00 +00:00
FuzzImageFilterDeserialize.cpp [fuzz] Make libfuzzer defines backwards compatible for roll 2020-09-14 17:43:00 +00:00
FuzzIncrementalImage.cpp [fuzz] Make libfuzzer defines backwards compatible for roll 2020-09-14 17:43:00 +00:00
FuzzJPEGEncoder.cpp replace max_len with if statements 2020-06-16 17:26:30 +00:00
FuzzJSON.cpp [fuzz] Make libfuzzer defines backwards compatible for roll 2020-09-14 17:43:00 +00:00
FuzzMockGPUCanvas.cpp replace max_len with if statements 2020-06-16 17:26:30 +00:00
FuzzNullCanvas.cpp replace max_len with if statements 2020-06-16 17:26:30 +00:00
FuzzPathDeserialize.cpp [fuzz] Make libfuzzer defines backwards compatible for roll 2020-09-14 17:43:00 +00:00
FuzzPathMeasure.cpp replace max_len with if statements 2020-06-16 17:26:30 +00:00
FuzzPathop.cpp replace max_len with if statements 2020-06-16 17:26:30 +00:00
FuzzPNGEncoder.cpp replace max_len with if statements 2020-06-16 17:26:30 +00:00
FuzzPolyUtils.cpp replace max_len with if statements 2020-06-16 17:26:30 +00:00
FuzzRasterN32Canvas.cpp replace max_len with if statements 2020-06-16 17:26:30 +00:00
FuzzRegionDeserialize.cpp [fuzz] Make libfuzzer defines backwards compatible for roll 2020-09-14 17:43:00 +00:00
FuzzRegionSetPath.cpp [fuzz] Make libfuzzer defines backwards compatible for roll 2020-09-14 17:43:00 +00:00
FuzzSkDescriptorDeserialize.cpp [fuzz] Standardize, document, and backport fuzzing defines. 2020-09-14 13:36:10 +00:00
FuzzSKP.cpp [fuzz] Standardize, document, and backport fuzzing defines. 2020-09-14 13:36:10 +00:00
FuzzSkRuntimeEffect.cpp [fuzz] Standardize, document, and backport fuzzing defines. 2020-09-14 13:36:10 +00:00
FuzzSKSL2GLSL.cpp Move GrShaderCaps from Program::Settings to Compiler 2020-11-04 19:38:33 +00:00
FuzzSKSL2Metal.cpp Move GrShaderCaps from Program::Settings to Compiler 2020-11-04 19:38:33 +00:00
FuzzSKSL2Pipeline.cpp Move GrShaderCaps from Program::Settings to Compiler 2020-11-04 19:38:33 +00:00
FuzzSKSL2SPIRV.cpp Move GrShaderCaps from Program::Settings to Compiler 2020-11-04 19:38:33 +00:00
FuzzSVG.cpp Reland "[svg] Relocate out of experimental" 2020-10-16 02:32:41 +00:00
FuzzTextBlobDeserialize.cpp [fuzz] Make libfuzzer defines backwards compatible for roll 2020-09-14 17:43:00 +00:00
FuzzWEBPEncoder.cpp replace max_len with if statements 2020-06-16 17:26:30 +00:00