Commit Graph

34 Commits

Author SHA1 Message Date
BearOso 1434dce671 Gtk: Add setting to configure for VRR automatically.
Swaps to ideal config for VRR in fullscreen. Switches sound
input rate and frame rate to exact SNES rate and uses timers for
sync.
2023-03-07 14:01:29 -06:00
BearOso 6433b8f689 Gtk: Clean up and modernize a bit. 2023-03-07 13:58:21 -06: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 3c3ea985ef GTK: Refactoring of display output code.
Moves buffer management to single location.
2020-06-30 17:28:10 -05:00
Brandon Wright 673896f7aa GTK: Xv: Add a couple of error checks. 2019-09-08 12:45:18 -05:00
Brandon Wright f8a0fadfa1 GTK: Use C++ memory allocation. 2019-05-14 15:34:25 -05:00
Brandon Wright 124594d220 GTK: Use a struct for S9xApplyAspect output.
Reusing the parameters is likely confusing.
2019-05-14 14:59:51 -05:00
Brandon Wright fcdead0028 GTK+: Use lowercase true/false, bool in more places. 2018-12-28 17:07:32 -06:00
Brandon Wright f0ddb097f9 Mark all of GTK+ with header stub, and a couple others. 2018-11-15 17:42:29 -06:00
Brandon Wright a9cc03c06c GTK+: Consolidate includes to compat header. 2018-11-06 18:46:44 -06:00
Brandon Wright 0f15a398f9 GTK+: Fix GTK+ 2.0 compatibility again. 2018-11-06 18:04:10 -06:00
Brandon Wright c5038bc9fe GTK+/style: Remove explicit returns in void funcs. 2018-11-02 16:48:20 -05:00
Brandon Wright a04ccfc02c GTK+: Style: Remove voids from parameter list. 2018-11-02 15:52:26 -05:00
Brandon Wright 752da257b8 Remove reconfigure method. 2018-10-26 19:14:25 -05:00
Brandon Wright 02ce1fcb35 Better driver failure behavior. 2018-10-15 14:54:36 -05:00
Brandon Wright 2de55719de Check for NULL Display. 2018-07-12 10:15:37 -05:00
Brandon Wright a1fa47a978 Remove GUI specifics in save function. 2018-05-13 11:02:52 -05:00
Brandon Wright 7566704e65 Fix gdk_window_new already having applied device scale. 2018-05-05 14:14:06 -05:00
Brandon Wright 0c8ea1671d Use GdkWindow to avoid Gtk's poor handling of foreign windows. 2018-05-05 13:50:37 -05:00
Brandon Wright 4cdb8f6e65 Overscan issues. 2018-05-04 17:12:22 -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 99f7e63972 Use GTK_MAJOR_VERSION macro instead of custom one. 2018-04-28 11:59:17 -05:00
Brandon Wright 17f83a0806 Fix sizing when using GDK hidpi scaling with OpenGL or Xv. 2016-10-02 19:41:42 -05:00
Brandon Wright 7d95f3732a Fix some idiotic expose handling. 2016-10-01 19:23:21 -05:00
Brandon Wright 026f9eaa1e Fix some possible problems from cppcheck. Everything else looks fine. 2016-09-27 15:25:37 -05:00
Brandon Wright 96a5e03770 Simplify window recreation. 2014-02-05 02:44:04 -06:00
Brandon Wright db6de9a624 Fix reconfiguring the X11 sub-window every draw. 2014-02-05 02:25:16 -06:00
Brandon Wright 17fe17b4e2 Fix a couple of warnings/gdk_pixbuf_unref deprecation. 2012-04-07 20:04:02 -05:00
Brandon Wright 7e32a1f4ea Simplify ridiculous round-about function calls. 2011-02-11 03:50:24 -06: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 61b7f108b9 Some changes to improve Gtk+ 3.0 compatibility. Still not working. 2011-02-05 06:36:27 -06:00
Brandon Wright 32edb0315e Use XConfigureWindow instead of creating new ones. This doesn't exhibit
the expose problem that XResizeWindow shows.
2011-01-09 05:34:26 -06: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