Commit Graph

1688 Commits

Author SHA1 Message Date
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 c1feada6d7 GTK+: Don't save single pass slang as glslp. 2019-01-26 17:56:53 -06:00
Brandon Wright d316da9a5c Slang: Opposite of what it was before. This is correct. 2019-01-26 11:52:24 -06:00
Brandon Wright d0bc12522b Slang: This isn't right, actually. 2019-01-25 20:29:16 -06:00
Brandon Wright 65b38ed36b Revert "Shaders: Trim whitespace and comments on preset strings."
This reverts commit 4c3d886dab.
2019-01-25 20:09:06 -06:00
Brandon Wright 02be8ba1f2 Shaders: Add support for grayscale PNGs
GTK+: Fix invalid texture clear.
2019-01-25 20:01:52 -06:00
Brandon Wright 4c3d886dab Shaders: Trim whitespace and comments on preset strings.
Report some file open failures.
2019-01-25 18:51:50 -06:00
Brandon Wright 61f5141bcc Sizes were backwards.
GTK+: Fix .slangp custom extension.
2019-01-25 17:54:55 -06:00
Brandon Wright a3065c10b0 GTK+: slang: Notify if SPIRV-Cross submodule is missing. 2019-01-25 16:56:17 -06:00
Brandon Wright eefb06a8d4 GTK+: slang: Make support autodetect by default. 2019-01-25 14:13:05 -06:00
Brandon Wright febae438c6 Add SPIRV-Cross submodule. 2019-01-25 13:39:13 -06:00
Brandon Wright 01f4fed8b5 Slang shader support. 2019-01-25 13:28:24 -06:00
Brandon Wright 30c50f4fc4 GTK+: Fix key bindings with spaces. 2019-01-24 15:39:57 -06:00
Brandon Wright d1e078e570 Only allow instantaneous IRQ when toggling IRQ completely. 2019-01-18 18:29:51 -06:00
Brandon Wright 0e559cd046 Don't use move on return value. 2019-01-18 15:14:32 -06:00
Brandon Wright 848bb64d52 GTK+: OpenGL: Fix obvious thinko with last commit. 2019-01-17 17:08:38 -06:00
Brandon Wright 175b9baf64 GTK+: OpenGL: Use MapBufferRange on GL >= 3.0. 2019-01-17 16:51:13 -06:00
OV2 5b01fa2dc1 win32: make _twfullpath work with NULL destination 2019-01-15 23:23:39 +01:00
OV2 4ede9b18cc win32: remove non existing header from project 2019-01-15 23:23:15 +01:00
Brandon Wright 4c4f3ebf07 Revert "Don't spin when SA1 is stopped."
This reverts commit 3dbac11beb.
2019-01-14 14:08:03 -06:00
Brandon Wright 3dbac11beb Don't spin when SA1 is stopped. 2019-01-13 15:52:45 -06:00
Brandon Wright 2b5d9af6ca More prep of shader files. 2019-01-13 15:52:32 -06:00
OV2 29241c9cde win32: update compile txt to include dxmath and remove ddraw hint 2019-01-13 13:55:47 +01:00
Brandon Wright 93a99a4807 GTK+: Fix threaded filters. 2019-01-12 13:03:44 -06:00
Brandon Wright ebf1b6dadc GTK+: Fix xBRZ size fallback. 2019-01-12 11:58:32 -06:00
Brandon Wright 8c24f6d49f Check for CR in correct string. 2019-01-08 20:17:08 -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 2c1753474c GTK+: Show block invalid vram box if dangerous hacks enabled. 2019-01-08 15:48:36 -06:00
Brandon Wright 56af48c042 Reduced version of Vitor's fix for SA1 speed throttle. 2019-01-08 15:32:44 -06:00
Brandon Wright aa741087a5 GTK+: Clean up gtk_display files a little. 2019-01-07 16:39:35 -06:00
Brandon Wright 51909e0cb4 Fix PNG usage without preprocessor check. 2019-01-04 10:52:11 -06:00
Brandon Wright 8387fce0e5 Include ctype.h 2018-12-29 12:50:24 -06:00
Brandon Wright ae1477d420 Use strcspn instead of strtok for reentrancy.
Also, trim codes so game genie and pro-action replay codes
parse properly.
2018-12-29 12:47:15 -06:00
twinaphex 2b0e4b557d This text is not necessary 2018-12-29 11:50:29 -06:00
twinaphex a66d66f46a BUildfix for PS3 - error: comma at end of enumerator list 2018-12-29 11:50:22 -06:00
OV2 625448333b win32: return before restoring old output device on ok (fixes #471) 2018-12-29 15:28:43 +01:00
Brandon Wright 387d600147 GTK+: The build has never allowed GTK+3 < 22. 2018-12-28 18:43:21 -06:00
Brandon Wright e632740be3 GTK+: Use std::string for some config options. 2018-12-28 18:36:23 -06:00
Brandon Wright fcdead0028 GTK+: Use lowercase true/false, bool in more places. 2018-12-28 17:07:32 -06:00
Brandon Wright 3eea50654f GTK+: OpenGL: Separate glFinish and glFenceSync options. 2018-12-28 12:06:31 -06:00
bearoso 4e84647499
Merge pull request #469 from greg-kennedy/patch-1
Add some entries to the Unix default snes9x.conf
2018-12-24 12:32:20 -06:00
Greg Kennedy 136f0a1e74
Add some entries to the Unix default snes9x.conf
These knobs were missing default entries in snes9x.conf.default.
2018-12-24 12:21:51 -06:00
Brandon Wright 6b376cf8f4 GTK+: Match filenames and appname to snes9x-gtk.
This will help environments match the desktop file with
the executable easier. The visible name stays just Snes9x.
2018-12-23 12:09:30 -06:00
Brandon Wright 84dbdfd498 GTK+: Clean up build file and print summary of options. 2018-12-20 18:57:36 -06:00
Brandon Wright 881d64c2e9 Move ChangeInputDevice after controller option set. 2018-12-18 19:22:29 -06:00
Brandon Wright 4b2ce429cd win32: Try to propagate controller enabled state. 2018-12-18 19:15:36 -06:00