Avoid OveridePaintFilterCanvas in Viewer when possible
https://skia-review.googlesource.com/c/skia/+/431539 (Feed all top-level GPU accessors through skgpu::BaseDevice (take 2))
The OveridePaintFilterCanvas now blocks access to the true SurfaceDrawContext that backs the top device of a GPU-backed SkCanvas. This is because the SkPaintFilterCanvas doesn't pass on SkCanvas::topDevice calls to the canvas it is wrapping so it always returns a SkNoPixelsDevice.
Given that accessing the top SDC is an incredibly specialized testing-only feature this CL keeps the feature working short-term w/o gumming up the public API.
Reviewed-by: Brian Osman <email@example.com>
Reviewed-by: Chris Dalton <firstname.lastname@example.org>
Commit-Queue: Robert Phillips <email@example.com>
2 files changed