skia2/tools/viewer
Brian Osman b5282fea23 Fix viewer crash with corrupted MSKPs
If an MSKP fails to load, fPlayer will be null, and viewer will crash
when switching backends.

Change-Id: I68b63da21c8f7c5726b3c5bbbdcb6c17018a63ac
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/510209
Auto-Submit: Brian Osman <brianosman@google.com>
Reviewed-by: Jim Van Verth <jvanverth@google.com>
Commit-Queue: Jim Van Verth <jvanverth@google.com>
2022-02-17 22:19:18 +00:00
..
AnimTimer.h tools: separate TimeUtils from AnimTimer 2019-07-12 15:05:01 +00:00
BisectSlide.cpp Extract ToolUtils::sniff_paths 2021-10-19 17:39:11 +00:00
BisectSlide.h Extract ToolUtils::sniff_paths 2021-10-19 17:39:11 +00:00
BUILD.bazel [bazel] Update to use emsdk 3.1.4 2022-02-15 17:47:03 +00:00
GMSlide.cpp Add a convenience to downcast contexts into GrDirectContext 2020-07-07 18:13:50 +00:00
GMSlide.h Adjust how GM::gpuSetup is handled in the tools 2020-06-26 15:37:30 +00:00
ImageSlide.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
ImageSlide.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
ImGuiLayer.cpp Update ImGui to v1.85. 2021-12-09 15:10:31 +00:00
ImGuiLayer.h Add support for retina displays to sk_app. 2021-01-29 17:33:48 +00:00
MSKPSlide.cpp Fix viewer crash with corrupted MSKPs 2022-02-17 22:19:18 +00:00
MSKPSlide.h viewer can show offscreen layers in MSKPSlide 2021-05-12 19:49:03 +00:00
ParticlesSlide.cpp Remove starts_with and ends_with from SkSL::String. 2022-02-02 14:14:49 +00:00
ParticlesSlide.h Particles: Remove play-position thing, simplify mouse tracking 2019-12-05 20:07:13 +00:00
SampleSlide.cpp tools/skui: put all enums in a common namespace 2019-08-29 15:39:32 +00:00
SampleSlide.h tools/skui: put all enums in a common namespace 2019-08-29 15:39:32 +00:00
SkottieSlide.cpp Reland "Add format-specifier warnings to SkDebugf." 2021-06-25 17:57:43 +00:00
SkottieSlide.h Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
SKPSlide.cpp Enable ClangTidy check readability-redundant-smartptr-get. 2020-08-16 15:56:48 +00:00
SKPSlide.h Add an skp loader to CanvasKit viewer 2020-05-28 17:29:28 +00:00
SkRiveSlide.cpp Simplify common case for recttorect 2021-01-15 18:37:46 +00:00
SkRiveSlide.h [skrive] Initial artboard plumbing 2020-06-09 19:58:38 +00:00
SkSLDebuggerSlide.cpp Provide bit-casted slot values from DebugTracePlayer. 2021-12-29 18:30:19 +00:00
SkSLDebuggerSlide.h Show the stack trace in the Debugger slide. 2021-12-14 15:56:44 +00:00
SkSLSlide.cpp Remove default/deprecated arguments to makeShader calls 2022-02-09 20:41:23 +00:00
SkSLSlide.h Revert "Spruce up SkSL slide with a much nicer editor" 2022-01-07 15:56:16 +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 Enable ClangTidy check llvm-namespace-comment. 2020-08-06 19:07:52 +00:00
StatsLayer.cpp Simplify common case for recttorect 2021-01-15 18:37:46 +00:00
StatsLayer.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SvgSlide.cpp Reland "Fix compilation w/ "skia_enable_svg = false" (take 2)" 2021-09-01 17:54:08 +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 Allow Viewer to filter glyphRunList. 2022-02-14 16:58:42 +00:00
Viewer.h Remove SkSL::String class. 2022-02-03 14:59:16 +00:00