skia2/tools/viewer
Brian Osman bd4f872d69 Handle runtime effect shader errors better
- Expose shader error handler on GrBaseContextPriv
- Use that to report errors that happen during (late) SkSL conversion
- Remove various asserts. We expect these functions not to fail, but
  they absolutely can for any kind of error that gets past the first
  compile in SkRuntimeEffect::Make. We'll still make a GLSLFP, but it
  won't inject any code, so the resulting shader will *also* fail to
  compile. Injecting our own errors first gives the user a better idea
  what's actually broken.
- SkSLSlide also reports errors via the error handler now, too.

Change-Id: I4b871cdaa5e3217b042ebf000bb7474afaeab04c
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/275679
Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
2020-03-06 21:32:31 +00:00
..
AnimTimer.h tools: separate TimeUtils from AnimTimer 2019-07-12 15:05:01 +00:00
BisectSlide.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
BisectSlide.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
GMSlide.cpp Clean up some gm factory use. 2019-08-13 15:57:37 +00:00
GMSlide.h Clean up some gm factory use. 2019-08-13 15:57:37 +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 tools/skui: put all enums in a common namespace 2019-08-29 15:39:32 +00:00
ImGuiLayer.h Remove SkTMin and SkTMax 2020-02-07 18:40:09 +00:00
ParticlesSlide.cpp Particles: Remove play-position thing, simplify mouse tracking 2019-12-05 20:07:13 +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 [skottie] Add SkottieSlide frame rate UI option 2019-12-11 22:40:42 +00:00
SkottieSlide.h [skottie] Add SkottieSlide frame rate UI option 2019-12-11 22:40:42 +00:00
SKPSlide.cpp Hook up pinch-zoom and swipe gestures. 2019-09-10 13:34:47 +00:00
SKPSlide.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkSLSlide.cpp Handle runtime effect shader errors better 2020-03-06 21:32:31 +00:00
SkSLSlide.h Handle runtime effect shader errors better 2020-03-06 21:32:31 +00:00
Slide.h tools/skui: put all enums in a common namespace 2019-08-29 15:39:32 +00:00
SlideDir.cpp use std::make_unique 2019-12-12 22:32:45 +00:00
SlideDir.h tools/skui: put all enums in a common namespace 2019-08-29 15:39:32 +00:00
StatsLayer.cpp Remove SkTMin and SkTMax 2020-02-07 18:40:09 +00:00
StatsLayer.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SvgSlide.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SvgSlide.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
TouchGesture.cpp Hook up pinch-zoom and swipe gestures. 2019-09-10 13:34:47 +00:00
TouchGesture.h Hook up pinch-zoom and swipe gestures. 2019-09-10 13:34:47 +00:00
Viewer.cpp Clip-only tiling in Viewer 2020-02-19 14:54:39 +00:00
Viewer.h Add F16Norm mode to viewer 2019-09-18 17:04:56 +00:00