Brandon Wright
3eea50654f
GTK+: OpenGL: Separate glFinish and glFenceSync options.
2018-12-28 12:06:31 -06:00
Brandon Wright
a718990735
GTK+: Remove vertex_shader and rename fragment_shader.
2018-12-10 15:10:40 -06:00
Brandon Wright
b9ad162723
GTK+: Set locale to C when loading shader files.
...
We can't know what format they're in, and for some reason español
breaks them.
2018-12-04 11:18:22 -06:00
Brandon Wright
8106c284d5
GTK+: OpenGL: Use fence to allow GTK+ to run during wait.
2018-12-03 20:03:53 -06:00
Brandon Wright
dc4de5b7c7
GTK+: OpenGL: Add fences as glFinish alternative.
2018-12-03 17:32:12 -06:00
Brandon Wright
1b61affbb5
GTK+: OpenGL: Number of components is deprecated.
2018-11-30 15:35:19 -06:00
Brandon Wright
adca138f03
GTK+: OpenGL: Use texture in GLSL 1.40 shader.
2018-11-29 16:09:18 -06:00
Brandon Wright
1cd825090b
GTK+: OpenGL: Don't reset state we don't change.
2018-11-17 12:19:16 -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
ffdf886a0a
GTK+: GL: Use PBOs by default, disable on GL < 1.5
2018-11-09 15:54:07 -06:00
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