skia2/tools/viewer
Brian Osman 0b8bb88cbb GLSL editing in Viewer
When in GL backend, adds a "Shaders" section to the debug menu.
"Load" scrapes all of the vertex and fragment shaders being used,
then displays them. They can be edited, and "Save" pushes the
results.

Note: It is trivial to trigger an assert by saving a shader that
doesn't compile. I'd like to make the program builder more robust
in a follow-up CL, to fall back to the "real" SkSL, not draw, or
something along those lines.

Change-Id: I841fe2ee76a3c2eae58b64ef587fcbe25b95cc7e
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/206905
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
2019-04-12 16:23:54 +00:00
..
BisectSlide.cpp Stop using SkTSwap. 2018-06-19 02:06:31 +00:00
BisectSlide.h test,tools: whitespace changes for clang-format 2018-09-19 17:50:51 +00:00
GMSlide.cpp SkAnimTimer -> AnimTimer 2019-03-20 18:26:35 +00:00
GMSlide.h SkAnimTimer -> AnimTimer 2019-03-20 18:26:35 +00:00
ImageSlide.cpp
ImageSlide.h
ImGuiLayer.cpp Reduce usage of SkCanvas::flush 2019-03-04 22:09:39 +00:00
ImGuiLayer.h Reduce usage of SkCanvas::flush 2019-03-04 22:09:39 +00:00
NIMASlide.cpp SkAnimTimer -> AnimTimer 2019-03-20 18:26:35 +00:00
NIMASlide.h SkAnimTimer -> AnimTimer 2019-03-20 18:26:35 +00:00
ParticlesSlide.cpp SkAnimTimer -> AnimTimer 2019-03-20 18:26:35 +00:00
ParticlesSlide.h SkAnimTimer -> AnimTimer 2019-03-20 18:26:35 +00:00
SampleSlide.cpp de-common the rest of the flags 2019-03-25 17:39:58 +00:00
SampleSlide.h SkAnimTimer -> AnimTimer 2019-03-20 18:26:35 +00:00
SkottieSlide.cpp SkAnimTimer -> AnimTimer 2019-03-20 18:26:35 +00:00
SkottieSlide.h SkAnimTimer -> AnimTimer 2019-03-20 18:26:35 +00:00
SKPSlide.cpp de-common the rest of the flags 2019-03-25 17:39:58 +00:00
SKPSlide.h
Slide.h SkAnimTimer -> AnimTimer 2019-03-20 18:26:35 +00:00
SlideDir.cpp [sksg] Refactor gradient implementation 2019-04-01 18:43:43 +00:00
SlideDir.h SkAnimTimer -> AnimTimer 2019-03-20 18:26:35 +00:00
StatsLayer.cpp In viewer measure and show full frame times. 2019-03-21 19:30:06 +00:00
StatsLayer.h In viewer measure and show full frame times. 2019-03-21 19:30:06 +00:00
SvgSlide.cpp Fix !defined(SK_XML) builds 2018-08-01 14:28:56 +00:00
SvgSlide.h Viewer SVG support 2018-04-05 16:34:22 +00:00
TouchGesture.cpp Move Views into Sample and Viewer. 2018-08-09 15:25:32 +00:00
TouchGesture.h Move Views into Sample and Viewer. 2018-08-09 15:25:32 +00:00
Viewer.cpp GLSL editing in Viewer 2019-04-12 16:23:54 +00:00
Viewer.h GLSL editing in Viewer 2019-04-12 16:23:54 +00:00