Brandon Wright
b6858adf11
GTK+: OpenGL: Only do this part on non-legacy.
2018-11-09 15:47:38 -06:00
Brandon Wright
21c1863782
GTK+: OpenGL: Allow legacy, no shader, paths.
2018-11-09 15:46:13 -06:00
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
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
de4699bd24
GTK+: Use glXQueryExtension, not epoxy_has_glx.
2018-11-06 11:39:17 -06:00
Brandon Wright
7700efe1fc
GTK+: Fix OpenGL without NPOT.
2018-11-02 15:25:32 -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
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
c4412fa77b
GTK+: Use a GLSL 1.10 shader for OpenGL < 3.0.
2018-10-28 11:22:00 -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
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
752da257b8
Remove reconfigure method.
2018-10-26 19:14:25 -05:00
Brandon Wright
f9b553638f
Make OpenGL context management separate.
2018-10-26 18:22:51 -05:00
Brandon Wright
a48cbf72da
Set output window size.
2018-10-22 14:53:12 -05:00
Brandon Wright
daec5ccc57
Better Wayland OpenGL.
...
Still breaks with scale factors.
2018-10-21 17:05:37 -05:00
Brandon Wright
5b76a2b6c7
EGL X11 leaks badly. Revert Wayland/GL stuff ATM.
2018-10-20 16:47:43 -05:00
Brandon Wright
434c943a0b
Pass input through subsurface.
2018-10-18 18:08:01 -05:00
Brandon Wright
f9f7be1f6f
Use a flush instead of commit.
2018-10-18 18:00:27 -05:00
Brandon Wright
ae01dbb92c
Fix fullscreen in Wayland/GL.
2018-10-18 17:53:07 -05:00
Brandon Wright
e70675db98
Basic OpenGL on Wayland. Fullscreen is broken.
2018-10-18 17:47:39 -05:00
Brandon Wright
55723df0a6
GTK: Add EGL WSI for OpenGL.
2018-10-15 14:04:28 -05:00
Brandon Wright
a1b9a89718
GTK+: Update interlaced drawing.
...
Apply vsync on resize.
2018-08-05 17:03:36 -05:00
Brandon Wright
2de55719de
Check for NULL Display.
2018-07-12 10:15:37 -05:00
Brandon Wright
8200a7bb5f
Drop Cg shaders from GTK+ port.
2018-05-24 13:00:49 -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
b9b60a8e60
GLSL: Use a viewport callback to size final pass.
2018-05-21 14:36:13 -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
21dd926a5a
Output directly to framebuffer on last pass.
2018-05-12 18:07:23 -05:00
Brandon Wright
c9ed910879
Last pass filter.
2018-05-12 17:36:45 -05:00
Brandon Wright
fac1174f6b
Save shader parameters.
2018-05-12 16:22:27 -05:00
Brandon Wright
6ad137aca2
Work towards configurable parameters.
2018-05-12 15:07:07 -05:00
Brandon Wright
3b01b57162
Clean up some stuff. Add LUT features to glsl shaders.
2018-05-11 15:56:58 -05:00
Brandon Wright
9da5a83550
Rudimentary GLSL Shader support.
2018-05-10 18:47:55 -05:00
Brandon Wright
e0de36dbb6
Rename some functions.
2018-05-08 17:56:13 -05:00
Brandon Wright
f7bf180b39
Use libepoxy to cut out the OpenGL loading cruft.
2018-05-08 17:52:40 -05:00
Brandon Wright
b34ecf8973
Add rudimentary Cg support for Gtk+ based on the Win32 port.
2018-05-08 16:56:54 -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
8f18796d4b
First draft changelog update.
2016-10-09 21:00:39 -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
7c39cc34ba
Fix some compiler warnings.
2014-02-05 03:22:07 -06:00