Commit graph

23 commits

Author SHA1 Message Date
beb8332854 Change screenshot filename to contain shader name and frame count 2021-02-27 22:54:24 +01:00
6fe9d082b9 Update log levels 2021-02-26 21:18:36 +01:00
5f5fe249f8 Make inotify optional
If it fails, display a warning and allow manual reloading only. Also
add more logging for inotify-related stuff.
2021-02-26 20:16:17 +01:00
2b683cb169 Set the inotify fd to non-blocking and read file changes 2021-02-26 19:58:45 +01:00
1d6319e928 Setup inotify to watch for modifications of buffer source files 2021-02-26 18:39:07 +01:00
ea6dfed522 Add a substructure for shader states 2021-02-26 18:16:56 +01:00
bda5ebddca Add CI build 2021-02-26 18:08:08 +01:00
41c2db982c Add Doxygen configuration
Generate documentation with `doxygen Doxyfile`.
2021-02-25 22:09:36 +01:00
6f21d1e0ec Reset frame count and time when reloading shaders
Define a struct to hold the renderer state.
2021-02-25 21:09:40 +01:00
685e2e62ce Add FPS counter 2021-02-25 20:07:23 +01:00
03d1a2c9f4 Move framebuffer initialization to a helper function 2021-02-25 19:57:27 +01:00
163cdd63d4 Improve framebuffer handling 2021-02-25 19:23:45 +01:00
9c50aa394c Add LICENSE file 2021-02-24 22:43:27 +01:00
528a2a2765 Use the texture correctly in the two framebuffers 2021-02-24 22:40:32 +01:00
f434b661eb Recompile both fragment shaders when resetting 2021-02-24 21:50:45 +01:00
60d94b06f2 Add a framebuffer to hold a texture 2021-02-24 21:48:54 +01:00
57cdfca13d Add keyboard shortcut to take screenshots 2021-02-24 09:22:34 +01:00
0b0ed67bc2 Add Julia set shader 2021-02-23 22:27:46 +01:00
d2f8ca7ed3 Reorganize files and add Mandelbrot shader 2021-02-23 22:08:03 +01:00
7ba0590d33 Take the fragment shader file as a command line argument 2021-02-23 20:18:34 +01:00
e4b01079f0 Better handle errors 2021-02-23 20:06:05 +01:00
2480fa80ef Split into several files 2021-02-23 19:42:11 +01:00
a3a19af3ec Initial commit 2021-02-23 19:15:44 +01:00