Commit Graph

1501 Commits

Author SHA1 Message Date
Brandon Wright 3e87063780 GTK+: Mandate OpenGL on Wayland.
Warn users if their OpenGL stack is too old.
2018-11-09 14:55:33 -06:00
Brandon Wright e5aed9f8d5 Update 1.56.2 to 1.57 everywhere but appveyor. 2018-11-08 19:00:36 -06:00
Brandon Wright 17d30d2641 Update changelog. 2018-11-08 16:44:30 -06:00
Brandon Wright c878b35610 GTK+: OSS: Try /dev/dspN 1 through 9. 2018-11-08 15:12:47 -06:00
Brandon Wright 7ae93a539e GTK+: Save controller ports to config file. 2018-11-08 14:59:24 -06:00
Brandon Wright 8c7b326254 GTK+: Add hotkey to capture the mouse. 2018-11-08 14:23:37 -06:00
Brandon Wright af2df5869d GTK+: Remove goofy headerbar experiment. 2018-11-07 15:09:27 -06:00
Brandon Wright 18535e99e2 win32: Add a colorful icon resource. 2018-11-06 19:22:06 -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 528839a13b GTK+: lint the snes9x.ui file. 2018-11-06 16:39:23 -06:00
Brandon Wright cadffa0073 GTK+: Relative save slots. 2018-11-06 16:39:23 -06:00
OV2 9f795150fc Correct stream revert behavior (closes #353) 2018-11-06 22:18:55 +01:00
OV2 6c9bd1a580 win32: remove hires option (closes #348) 2018-11-06 22:18:55 +01:00
Brandon Wright fcdbe149ba GTK+: Remove extraneous Cg directory. 2018-11-06 11:57:19 -06:00
Brandon Wright de4699bd24 GTK+: Use glXQueryExtension, not epoxy_has_glx. 2018-11-06 11:39:17 -06:00
Brandon Wright d3b42751b9 GTK+: Fix some typos and add comments to config. 2018-11-05 18:40:16 -06:00
Brandon Wright 5e2049ac55 GTK+: Don't append "- Snes9x" to game name. 2018-11-05 18:17:48 -06:00
Nelson Garcia 6591ee92a2 Remove memory leak in loadzip.cpp
* Call `unzClose(file)` outside of the assert clause. In Release mode,
any statement in an assert clause is not called, causing a memory leak.
If the file does not close successfully, `assert(FAIL)` is called.
2018-11-05 16:02:29 -06:00
Brandon Wright b5b7c4390c GTK+: Add support for header bar. 2018-11-02 19:20:46 -05: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 4536194e32 GTK+: More consts and enums instead of #defines. 2018-11-02 15:47:31 -05:00
Brandon Wright 61d691a523 GTK+: Clean up control stuff a bit. 2018-11-02 15:27:12 -05:00
Brandon Wright 7700efe1fc GTK+: Fix OpenGL without NPOT. 2018-11-02 15:25:32 -05:00
Brandon Wright 43c61d1c77 GTK+: Get rid of # in joystick binding name.
Rename a couple bindings.
2018-11-01 21:11:39 -05:00
Brandon Wright 0c3bc1d350 GTK+: Remove XML config format. 2018-11-01 21:11:39 -05:00
OV2 28c04cfc31 win32: align offset with gtk/libretro 2018-11-01 23:22:21 +01:00
Brandon Wright b590115594 GTK+, libretro: Don't clip between fields. 2018-11-01 17:14:38 -05:00
OV2 24c29e281a win32: cut ext height from top and botton, center regular (fixes #443) 2018-11-01 23:01:07 +01:00
OV2 63126dfc48 win32: remove bogus height reduction 2018-10-31 20:54:57 +01:00
Brandon Wright e665f339f0 GTK+: Human-readable bindings in config file. 2018-10-30 19:26:01 -05:00
Brandon Wright 8b49ab2f5f win32: Disable bg toggle keys by default. 2018-10-30 16:45:02 -05:00
Brandon Wright d3115c87d6 GTK+: OpenGL+: Check context size on expose.
Also, fix splash drawing on Wayland/OpenGL.
2018-10-29 16:41:41 -05:00
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 4af57d8d98 GTK+: Disable sound sync by default. 2018-10-28 19:46:08 -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 7dcf6a0ce4 GTK+: Turn context structs into classes.
Remove placeholder "#pragma once" uses.
2018-10-28 11:29:51 -05:00
Brandon Wright c4412fa77b GTK+: Use a GLSL 1.10 shader for OpenGL < 3.0. 2018-10-28 11:22:00 -05:00
Brandon Wright f1b508de1c GTK+: Faster cairo software output path. 2018-10-27 19:07:49 -05:00
Brandon Wright 09498e72e0 GTK+: Modernize OpenGL code.
Requires OpenGL 2.0 or above. Everything is core-compatible now.
2018-10-27 18:13:51 -05:00
Brandon Wright b84a8fbd5b glsl: Use core-compatible OpenGL calls.
* Remove glTexCoordPointer because it wasn't affecting anything
anyway.
* Use GL_TRIANGLE_STRIP instead of deprecated GL_QUADS.
2018-10-27 18:00:15 -05:00
Brandon Wright 8c8e04fec2 Remove support for old-style XML shaders. 2018-10-27 16:16:41 -05:00
Brandon Wright aa2db4c186 Remove excess styling. 2018-10-27 16:06:16 -05:00
Brandon Wright 0ce6970cd6 GTK+: Force OpenGL 2.0 compatibility. 2018-10-27 15:56:22 -05:00
Brandon Wright 94c2c4c460 Remove 24-bit PBO format. It's actually useless. 2018-10-27 15:33:55 -05:00
Brandon Wright dc3dd8e709 Support context creation on GLX 1.3. 2018-10-27 15:12:21 -05:00
Brandon Wright 752da257b8 Remove reconfigure method. 2018-10-26 19:14:25 -05:00
Brandon Wright d58c37c4da Be conservative with OpenGL version for now. 2018-10-26 18:54:28 -05:00