Commit Graph

1263 Commits

Author SHA1 Message Date
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
Brandon Wright
f9b553638f Make OpenGL context management separate. 2018-10-26 18:22:51 -05:00
Brandon Wright
b35d8d9ae5 Rename Wayland helpers to Wayland egl context. 2018-10-26 15:49:56 -05:00
Brandon Wright
84b9d5acaa Fix compilation with GTK2. 2018-10-26 15:46:55 -05:00
Brandon Wright
15930a4d79 libretro: Center 224 lines when crop overscan off 2018-10-24 17:26:50 -05:00
Brandon Wright
748e4aa40d libretro: use > instead of >= to compare heights. 2018-10-24 16:54:55 -05:00
Brandon Wright
e2640286b7 Clean overscan area when turning off extended. 2018-10-24 16:05:44 -05:00
Brandon Wright
ad373237e4 GTK: No, the other way. 2018-10-24 15:45:01 -05:00
Brandon Wright
94ec890ac6 GTK: Move centered 224/239 to y=8 instead of y=7. 2018-10-24 15:41:24 -05:00
Brandon Wright
51601c523c Merge remote-tracking branch 'libretro/master' 2018-10-24 15:36:15 -05:00
Brandon Wright
781704ac50 Center overscan crop in libretro. 2018-10-24 15:35:11 -05:00
Brandon Wright
a0931d6058 More XRandR not to compile if not X11. 2018-10-22 15:08:11 -05:00
Brandon Wright
1b6690b1fe Invalidate on init to reset GTK spacing. 2018-10-22 15:06:12 -05:00
Brandon Wright
a48cbf72da Set output window size. 2018-10-22 14:53:12 -05:00
Brandon Wright
32633bd664 Request compositor protocol v3. Set buffer scale. 2018-10-22 14:36:52 -05:00
Brandon Wright
58e04558c6 Save framebuffer. 2018-10-22 13:56:18 -05:00
Brandon Wright
85608d9384 NULL out region 2018-10-21 18:49:13 -05:00
Brandon Wright
35cdf9c182 Add wayland helper files. 2018-10-21 18:03:35 -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
finalpatch
d7ebfaa83b Add core option "Block Invalid VRAM Access" (#184)
* Add core option "Block Invalid VRAM Access"
2018-10-17 07:49:27 -05:00
Brandon Wright
a47e9773d6 Software Wayland mostly works. 2018-10-16 17:26:24 -05:00
Brandon Wright
02ce1fcb35 Better driver failure behavior. 2018-10-15 14:54:36 -05:00
Brandon Wright
34268314c4 Conditional set_bypass_compositor. 2018-10-15 14:31:42 -05:00
Brandon Wright
3829408d3d Allow XV only in GTK/X11. 2018-10-15 14:25:26 -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
Rémi Calixte
549e98e5e7 wayland: make xrandr query conditional 2018-10-15 14:19:22 -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
55723df0a6 GTK: Add EGL WSI for OpenGL. 2018-10-15 14:04:28 -05:00
meepingsnesroms
6a4af792da
Fix compiling on Mac OS Mojave 2018-10-12 09:24:28 -07:00
Brandon Wright
e543702e24 Allow instant IRQ trigger from 4200 writes again. 2018-10-05 18:17:19 -05:00
Brandon Wright
6cf60bc8ec Merge remote-tracking branch 'libretro/master' 2018-10-03 17:45:03 -05:00