Fuzz runtime effects more quickly by painting less.

The fuzzer hit a 20-second timeout by crafting a very complex shader
(it calls normalize thousands of times) and then painting it to our
128x128 test surface.

For the purposes of a fuzz test, we don't need to paint so many
pixels. We now use a 4x4 surface; it'll still catch bugs, and will
execute 1024x faster.

Bug: oss-fuzz:57942
Change-Id: I27e083146d46391398ce7813ac9b4fc70e503316
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/670342
Auto-Submit: John Stiles <johnstiles@google.com>
Commit-Queue: Nolan Scobie <nscobie@google.com>
Reviewed-by: Nolan Scobie <nscobie@google.com>
diff --git a/fuzz/oss_fuzz/FuzzSkRuntimeEffect.cpp b/fuzz/oss_fuzz/FuzzSkRuntimeEffect.cpp
index a75587f..46ed1b6 100644
--- a/fuzz/oss_fuzz/FuzzSkRuntimeEffect.cpp
+++ b/fuzz/oss_fuzz/FuzzSkRuntimeEffect.cpp
@@ -89,7 +89,7 @@
     SkPaint paint;
     paint.setShader(std::move(shader));
 
-    sk_sp<SkSurface> s = SkSurface::MakeRasterN32Premul(128, 128);
+    sk_sp<SkSurface> s = SkSurface::MakeRasterN32Premul(4, 4);
     if (!s) {
         return false;
     }