Fix up DDL fuzzer
I'm not sure this fuzzer has ever worked. This CL:
Adds an 'fDrawn' field so we can correctly assert the expected state
Correctly set the kDone state (was being reset to kInitial)
Adds an explicit flush step to actually execute the collected DDLs
Bug: oss-fuzz:38709
Change-Id: I859dd9ac346bc36206eeb288aa178defd8989493
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/643459
Reviewed-by: Michael Ludwig <michaelludwig@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
1 file changed