skia2/tools/viewer
Robert Phillips 294d687b69 Avoid OveridePaintFilterCanvas in Viewer when possible
Since:

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.

Change-Id: I99012ba34c2800e0149251667156b412c4e8aa63
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/433362
Reviewed-by: Brian Osman <brianosman@google.com>
Reviewed-by: Chris Dalton <csmartdalton@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
2021-07-27 15:46:02 +00:00
..
AnimTimer.h
BisectSlide.cpp [svg] Allow clients to pass a custom SkFontMgr 2020-11-11 01:51:44 +00:00
BisectSlide.h
GMSlide.cpp
GMSlide.h
ImageSlide.cpp
ImageSlide.h
ImGuiLayer.cpp Stop using filterquality 2021-07-17 03:11:32 +00:00
ImGuiLayer.h Add support for retina displays to sk_app. 2021-01-29 17:33:48 +00:00
MSKPSlide.cpp viewer can show offscreen layers in MSKPSlide 2021-05-12 19:49:03 +00:00
MSKPSlide.h viewer can show offscreen layers in MSKPSlide 2021-05-12 19:49:03 +00:00
ParticlesSlide.cpp Removed SkSL::StringFragment in favor of string_view 2021-06-10 16:08:13 +00:00
ParticlesSlide.h
SampleSlide.cpp
SampleSlide.h
SkottieSlide.cpp Reland "Add format-specifier warnings to SkDebugf." 2021-06-25 17:57:43 +00:00
SkottieSlide.h
SKPSlide.cpp
SKPSlide.h
SkRiveSlide.cpp Simplify common case for recttorect 2021-01-15 18:37:46 +00:00
SkRiveSlide.h
SkSLSlide.cpp Reland "Better first-class shader & color filter support in runtime effects" 2021-05-05 22:06:46 +00:00
SkSLSlide.h SkSLSlide: Add shadertoy iResolution & iMouse 2020-12-11 20:19:20 +00:00
Slide.h Reland "FPS and frame control for MSKP slide." 2021-04-30 13:15:33 +00:00
SlideDir.cpp Simplify common case for recttorect 2021-01-15 18:37:46 +00:00
SlideDir.h
StatsLayer.cpp Simplify common case for recttorect 2021-01-15 18:37:46 +00:00
StatsLayer.h
SvgSlide.cpp Reland "[svg] Plumb a ResourceProvider" 2021-01-27 21:12:23 +00:00
SvgSlide.h Reland "[svg] Plumb a ResourceProvider" 2021-01-27 21:12:23 +00:00
TouchGesture.cpp Don't limit pinch zooming in viewer 2020-11-11 17:51:35 +00:00
TouchGesture.h Don't limit pinch zooming in viewer 2020-11-11 17:51:35 +00:00
Viewer.cpp Avoid OveridePaintFilterCanvas in Viewer when possible 2021-07-27 15:46:02 +00:00
Viewer.h Avoid OveridePaintFilterCanvas in Viewer when possible 2021-07-27 15:46:02 +00:00