skia2/fuzz/oss_fuzz
Brian Osman 690b6f3a92 Remove PipelineStageArgs and format-string handshake
There is now PipelineStage::ConvertProgram, which takes a collection of
callbacks, and processes an entire program. For program objects that may
need name mangling, the callbacks return the new name, which is recorded
and used for future references to that object (eg uniforms & functions).

The callbacks let the FP inject new elements programmatically:
  - Declare uniforms and get handles
  - Emit child functions
  - Invoke child processors for calls to sample()

In a follow-up CL, we can add an skslc `.rte -> .sksl` mode, where the
callbacks just emit the description() of the relevant element. We can
also follow the same pattern to emit declarations of types (structs,
enums), and global variables.

Change-Id: I81df68a2f41bcb48f866d37af3b77ad43e880236
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/367058
Commit-Queue: Brian Osman <brianosman@google.com>
Reviewed-by: John Stiles <johnstiles@google.com>
2021-02-08 22:04:05 +00:00
..
FuzzAndroidCodec.cpp drawBitmap is deprecated 2021-01-24 17:39:15 +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 More hiding of legacy drawImage calls 2021-01-22 13:53:42 +00:00
FuzzImageFilterDeserialize.cpp drawBitmap is deprecated 2021-01-24 17:39:15 +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
FuzzSkParagraph.cpp [fuzzing] Add SkParagraph to oss-fuzz. 2021-02-04 19:34:48 +00:00
FuzzSkRuntimeEffect.cpp Update SkRuntimeEffect::Make to take an Options struct. 2021-02-03 18:03:49 +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 Remove PipelineStageArgs and format-string handshake 2021-02-08 22:04:05 +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