BearOso
e58c16351c
Shaders: Use C++ style struct types.
...
Supresses non-C-compatible warnings.
2020-08-07 14:59:03 -05:00
Brandon Wright
e17ff69533
Gtk: Switch codebase to gtkmm.
...
GTK: Remove support for GTK+ 2.0.
GTK 3 is stable and widespread enough now.
GTK: Rearrange headers to eliminate gtk_s9xcore.h
Gtk: Initial gtkmm conversion work.
Gtk: More gtkmm conversion and bug fixing.
Gtk: More gtkmm fixes.
Gtk: More Fixes
OpenGL no longer creates a second window.
Accelerators are fixed.
Gtk: More fixes
Removed GLX context dependency on Gtk.
Gtk: Fix formatting.
Gtk: Remove a #pragma once
2020-07-17 14:48:34 -05:00
Brandon Wright
38bcabff68
Shaders: Use const char * for filenames.
2020-06-30 16:53:52 -05:00
Brandon Wright
fc31f47fc2
Shaders: Scan source code in as few passes as possible.
...
Improves loading time of crt-royale significantly.
2019-01-30 10:25:19 -06:00
Brandon Wright
f825f14a06
Shaders: Try to clean up in case we reuse GLSLShader.
2019-01-29 17:49:40 -06:00
Brandon Wright
9b67d0ad8b
Shaders: Use mipmap_input flag.
2019-01-27 20:14:28 -06:00
Brandon Wright
8c8805da40
Slang: Implement feedback support. See below.
...
This uses a complex workaround because we normally draw the last
pass straight to the screen. Now, only in the event that feedback is
enabled and only if the last pass uses it, we draw to a texture and use
glBlitFramebuffer to draw to the screen (saved_framebuffer) instead.
2019-01-27 17:43:22 -06:00
Brandon Wright
58e1bfadfa
Revert "Revert "Slang: Feedback support. Doesn't completely work yet.""
...
This reverts commit 814323513d
.
2019-01-27 16:28:18 -06:00
Brandon Wright
814323513d
Revert "Slang: Feedback support. Doesn't completely work yet."
...
This reverts commit 9536daa09b
.
2019-01-26 18:13:32 -06:00
Brandon Wright
9536daa09b
Slang: Feedback support. Doesn't completely work yet.
...
We don't commit the last stage to a texture any more, so feedback can't
read it. That would need to be reverted for this to work.
2019-01-26 17:57:03 -06:00
Brandon Wright
01f4fed8b5
Slang shader support.
2019-01-25 13:28:24 -06:00
Brandon Wright
4207ddc9d2
Simplify shader string handling a bit.
2019-01-08 19:44:43 -06:00
Brandon Wright
405aee6d1e
Clean up shader files a bit.
2019-01-08 17:18:17 -06:00
Brandon Wright
f0ddb097f9
Mark all of GTK+ with header stub, and a couple others.
2018-11-15 17:42:29 -06:00
OV2
06f84ee6b3
win32: add shader parameters dialog
2018-05-24 15:54:06 +02:00
Brandon Wright
9bd9133fbc
Fix declaration so it's obvious I switched variables around.
2018-05-21 18:08:22 -05:00
Brandon Wright
b9b60a8e60
GLSL: Use a viewport callback to size final pass.
2018-05-21 14:36:13 -05:00
Brandon Wright
cc8fd9c231
Add wrap_mode parameter.
2018-05-14 14:27:07 -05:00
Brandon Wright
79adc1d3c8
Move shader files to root directory.
2018-05-13 18:22:54 -05:00