Commit Graph

50 Commits

Author SHA1 Message Date
Brandon Wright
a3ecddc0bc GTK+: Never let GTK+ paint the output window. 2018-10-29 16:14:40 -05:00
Brandon Wright
6d0eddf02a GTK+: Don't pass draw signal on OpenGL/Wayland.
Also, don't pass draw signal on to GTK+, period.
2018-10-29 16:02:45 -05:00
Brandon Wright
79b1ab0250 GTK+: Clean up speed throttling.
No more frameskip selection, only 4 options:

* Timer throttling to Settings.FrameRate
* Same, but skips frames when late
* Wait on sound buffer
* Don't throttle.

Dynamic rate control is automatically disabled for option 3.
2018-10-28 16:55:33 -05:00
Brandon Wright
a47e9773d6 Software Wayland mostly works. 2018-10-16 17:26:24 -05:00
Brandon Wright
34268314c4 Conditional set_bypass_compositor. 2018-10-15 14:31:42 -05:00
Rémi Calixte
5e4f12a12b wayland: fix fullscreen mode 2018-10-15 14:20:13 -05:00
Rémi Calixte
58f6099730 wayland: handle screensaver 2018-10-15 14:19:51 -05:00
Brandon Wright
62f3761aa6 Remove 'else', fix formatting. 2018-10-15 14:18:21 -05:00
Rémi Calixte
e7f4bd63fa wayland: implement Snes9xWindow::get_refresh_rate 2018-10-15 14:16:40 -05:00
Rémi Calixte
c6731024ca wayland: include X11 libraries only if it is an available GDK backend 2018-10-15 14:15:52 -05:00
Brandon Wright
602919d522 GTK+: Don't override command-line port choice. 2018-10-03 16:58:40 -05:00
Brandon Wright
ae814163dd Revert "Save oops unconditionally on loading state."
This reverts commit fc0b79ec2f.
2018-06-21 13:46:29 -05:00
Brandon Wright
fc0b79ec2f Save oops unconditionally on loading state.
GTK+: Use oops for undo load state.
2018-06-20 12:44:09 -05:00
Brandon Wright
583e4b740d Add an undo load state option. 2018-06-09 10:23:26 -05:00
Brandon Wright
83480765f1 Sanity check input rate better. 2018-06-07 15:49:41 -05:00
Brandon Wright
692c8f58b7 Sanity check automatic input rate for deviations > 5%. 2018-06-07 09:43:29 -05:00
Brandon Wright
d39e7af6d0 Move shader parameters to main menu and make dialog box non-modal so we can see changes in real time. 2018-05-24 12:20:06 -05:00
Brandon Wright
c555b07846 Translate mouse coordinates correctly in hidpi modes. Hide cursor when SuperScope enabled. 2018-05-23 15:50:57 -05:00
Brandon Wright
a42498b161 Fix a bunch of warnings. 2018-05-13 20:19:21 -05:00
Brandon Wright
7411df6c73 Make rewinding and bilinear filtering global Snes9x settings. 2018-05-13 17:31:25 -05:00
Brandon Wright
a1fa47a978 Remove GUI specifics in save function. 2018-05-13 11:02:52 -05:00
Brandon Wright
a1f8cf3807 Bypass compositor properly. 2018-05-04 18:31:25 -05:00
Brandon Wright
3668c5c7a2 Simplify XRR config. 2018-05-04 17:56:57 -05:00
Brandon Wright
dcfb7c3ad0 Use 16-bit instead of 15-bit pixel format on Gtk+. Add splash screen with test patterns. 2018-05-04 14:29:13 -05:00
Brandon Wright
8384891515 Use level value for S9xUpdateDynamicRate to just report SoundInputRate change. 2018-05-02 17:51:58 -05:00
Brandon Wright
5874559a3e Add automatic input rate checkbox. Use as default. 2018-05-02 17:43:32 -05:00
Brandon Wright
d726c6a8dd Mandate XRandR libraries and headers. 2018-05-02 16:53:54 -05:00
Brandon Wright
831176983a Set bypass compositor bit on drawing window. 2018-04-29 10:37:05 -05:00
Brandon Wright
c48f212a8a Rework XRandR support to list all modes and refresh rates. 2018-04-28 18:36:40 -05:00
Brandon Wright
363fdc9848 Try to turn off compositor in full-screen. 2018-04-28 12:49:36 -05:00
Brandon Wright
99f7e63972 Use GTK_MAJOR_VERSION macro instead of custom one. 2018-04-28 11:59:17 -05:00
Brandon Wright
bd59b4e9ac Fix issue with expose on GTK+ 3. 2017-12-07 12:24:29 -06:00
Brandon Wright
886ea13daf Some GTK+ 3 fixes. 2017-12-06 20:30:27 -06:00
Ari Sundholm
5d6a7199bb gtk: replace uses of deprecated functions with those of non-deprecated ones 2017-09-12 03:33:16 +03:00
Yamashita Ren
5519a00241 GTK: Add a 10th save slot (Slot 9).
Reorganizing save slots section of snes9x.ui while I'm at it.
2017-04-25 21:45:30 +02:00
Brandon Wright
90be7fb762 Merge branch 'master' of http://github.com/juhalaukkanen/snes9x into juhalaukken-master 2016-10-08 21:15:45 -05:00
Brandon Wright
7d95f3732a Fix some idiotic expose handling. 2016-10-01 19:23:21 -05:00
Brandon Wright
8a52db74da Draw splash background with drivers.
Avoids cairo conflicts and allows user to see post-processing changes.
2015-08-16 05:36:56 -05:00
Juha Laukkanen
118544e8ac Use of rewind feature (stateman) with GTK. 2014-06-27 08:36:36 +00:00
Brandon Wright
df8ad8104a Round window width. 2014-04-01 12:06:21 -05:00
Brandon Wright
427ef85bd3 Use overscan height of 239 pixels.
Resize window on status bar visibility.
2014-03-29 22:15:04 -05:00
Brandon Wright
ea09396218 Add more aspect correction options. 2014-03-29 05:48:35 -05:00
Brandon Wright
4f551d3d29 Fix crash on opening nonexistent file. Keep shaders from appearing in
the recent files menu.
2012-04-07 16:43:34 -05:00
Brandon Wright
c9c49095ee Add byuu's SMP and DSP files to tree. 2011-06-12 01:25:22 -05:00
Brandon Wright
f9b909b022 Fix GTK+ 3.0 changes that required GTK+ 2.24 for compatibility. 2011-02-11 03:44:47 -06:00
Brandon Wright
10c498e37b More GTK+3 support. 2011-02-05 19:42:26 -06:00
Brandon Wright
61b7f108b9 Some changes to improve Gtk+ 3.0 compatibility. Still not working. 2011-02-05 06:36:27 -06:00
Brandon Wright
c6677d8292 Add hidden option for enabling non-modal dialogs. 2010-10-30 09:21:26 -05:00
Brandon Wright
31f45619a5 Import of GTK port changes. 2010-09-26 04:19:15 -05:00
OV2
d1666860e0 Initial 1.52 import 2010-09-25 17:46:12 +02:00