skia2/tools/gpu
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
..
atlastext Support WebGL 1.0 with caps 2019-03-28 17:21:23 +00:00
gl Reland "Remove the NullGL interface (and associated test context)" 2019-04-03 16:38:10 +00:00
mock Move GrBackend enum to enum class. 2018-10-12 14:01:58 +00:00
mtl Fix asserts in Metal tests. 2019-03-15 20:04:21 +00:00
vk Upgrade to Mesa 18.3.3 2019-02-12 16:42:30 +00:00
FenceSync.h Add NV_fence support to get better timing from ANGLE ES2 2017-10-10 21:13:03 +00:00
GpuTimer.h test,tools: whitespace changes for clang-format 2018-09-19 17:50:51 +00:00
GrContextFactory.cpp Reland "Remove the NullGL interface (and associated test context)" 2019-04-03 16:38:10 +00:00
GrContextFactory.h Reland "Remove the NullGL interface (and associated test context)" 2019-04-03 16:38:10 +00:00
GrTest.cpp Revert "Remove GrDrawAtlasOp" 2019-03-24 00:53:33 +00:00
MemoryCache.cpp Make the persistent cache utility functions operate on SkData 2019-04-12 15:00:54 +00:00
MemoryCache.h GLSL editing in Viewer 2019-04-12 16:23:54 +00:00
ProxyUtils.cpp Move DrawingManager to RecordingContext 2019-02-22 17:25:00 +00:00
ProxyUtils.h Move DrawingManager to RecordingContext 2019-02-22 17:25:00 +00:00
TestContext.cpp Revert "Revert "Add method to sk_gpu_test::TestContext to automatically restore the previous context."" 2017-11-17 16:22:56 +00:00
TestContext.h Move GrBackend enum to enum class. 2018-10-12 14:01:58 +00:00
YUVUtils.cpp Use YUV effect in drawEdgeAAImageSet 2019-03-21 17:43:28 +00:00
YUVUtils.h Use YUV effect in drawEdgeAAImageSet 2019-03-21 17:43:28 +00:00