|
01c26d207a
|
Add argument parsing
|
2021-03-05 18:46:07 +01:00 |
|
|
1bdde4aed1
|
Separate all I/O functions in a separate file
|
2021-03-01 21:00:44 +01:00 |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
d2f8ca7ed3
|
Reorganize files and add Mandelbrot shader
|
2021-02-23 22:08:03 +01:00 |
|