Commit Graph

8635 Commits

Author SHA1 Message Date
Themaister
1d0b3b96e6 Be a bit more pedantic about which contexts are active. 2019-03-09 20:53:29 +01:00
Themaister
37298876fc Clear out FBO on startup.
Some cores seem to rely on it?
2019-03-09 13:15:14 +01:00
Themaister
1ba8c626ed Minor build fixes. 2019-03-09 12:42:23 +01:00
Themaister
4bb17fd6e9 Fix wrong condition for hard sync. 2019-03-09 12:42:11 +01:00
Themaister
07bf62eaba GLcore: Actually bind depth/stencil RT to HW fbo. 2019-03-09 12:30:49 +01:00
Themaister
d9b245ce66 Swap order of drivers gl2/glcore. 2019-03-09 12:30:49 +01:00
Themaister
74039617ce Use correct context flags. 2019-03-09 12:30:49 +01:00
Themaister
4adf16b5ed Fix version detection for non-HW cores. 2019-03-09 12:30:49 +01:00
Themaister
3029f96511 Add a new "glcore" driver with slang support.
This driver should sunset the old gl2 driver, but that driver will
likely live on to support really ancient and terrible GL stacks.
All the worst legacy cruft has been ripped out, and it's almost a decent
backend now.

Requirements for slang are GL 3.2+ or GLES3.
Some shaders require features which are not directly compatible with
GLES2 or legacy GL.

This driver shares a lot of concepts from the Vulkan driver.
The slang shader stack and SPIRV-Cross are used to implement the shader
spec, and the menu shaders are also shared with Vulkan.
2019-03-09 12:30:49 +01:00
Brad Parker
9279d06f93 Merge branch 'master' into send_debug 2019-03-07 19:23:41 -05:00
Brad Parker
10df615d14 add "Send Debug Info" option under Help 2019-03-07 19:17:54 -05:00
Francisco Javier Trujillo Mata
652300f674 [PS2] Fixed memory leaks in the ps2_font 2019-03-07 00:14:59 +01:00
Francisco Javier Trujillo Mata
8316d073bc [PS2] Implement Pitch support in the ps2_gfx 2019-03-03 14:08:12 +01:00
Brad Parker
a09e110d24 VC6 cannot cast uint64 to double, use int64 instead 2019-03-01 09:10:05 -05:00
twinaphex
ebae7ebc79 Input driver - Get rid of 'own driver' mechanism 2019-02-27 17:17:34 +01:00
twinaphex
829aedc6e2 (Video/Audio) Remove 'own driver' mechanism 2019-02-27 17:09:15 +01:00
Brad Parker
433cbb021f temporary crash fix 2019-02-26 23:37:08 -05:00
Brad Parker
4ec71da9a9 x11: using_global_dpy is not restricted to xrandr 2019-02-26 23:37:08 -05:00
Twinaphex
d619f14839
Merge pull request #8375 from fjtrujy/feature/PS2DefaultDir
[PS2] Fix Load/Save state
2019-02-27 02:58:03 +01:00
Brad Parker
211515ece1 x11: open display ourself if global one is not available (e.g. with SDL) 2019-02-26 20:23:11 -05:00
Francisco Javier Trujillo Mata
0e7d5ed32b Improvements regarding the ps2 font driver 2019-02-26 21:02:29 +01:00
driver1998
6ea79bca36 Allow winraw and xinput to work without dinput in Windows
Necessary for Windows ARM32 Desktop (RT)
2019-02-26 21:29:43 +08:00
Hugo Hromic
8984702ba8 (dispserv_x11.c) add missing defines and clean-up code
* Removed redundant and unused variables
* Use multiples of eight for array sizes
* Styled code for consistency with the rest
* Quoted string arguments in shell commands
* Added missing `HAVE_XRANDR` define checks
2019-02-23 20:58:51 +00:00
Brad Parker
97b7512420 restore initial screen orientation on exit for x11/win32 2019-02-23 14:15:36 -05:00
Twinaphex
adc9ecf4cc
Merge pull request #8335 from natinusala/master
Reintroduce menu widgets (only runloop_msg_queue for now)
2019-02-23 14:22:31 +01:00
Brad Parker
76ca37aaee x11: implement screen orientation support 2019-02-22 19:13:36 -05:00
Brad Parker
4f0d61a2ac update copyright 2019-02-22 19:13:36 -05:00
Brad Parker
8e14d1dd87 whitespace 2019-02-22 19:13:36 -05:00
Brad Parker
477d46d52b update copyright 2019-02-22 19:13:36 -05:00
twinaphex
292c5e93ad Add d3d9_menu_widgets_enabled 2019-02-22 03:13:41 +01:00
Twinaphex
0778847062
Merge pull request #8341 from fjtrujy/feature/PS2AudioImprovement
[PS2] Audio improvement
2019-02-22 01:48:43 +01:00
Francisco Javier Trujillo Mata
7ec160f860 Remove the specific audio thread 2019-02-22 00:01:36 +01:00
twinaphex
74a35d8be1 (GL2) Add GL1 fallback 2019-02-21 21:49:22 +01:00
Brad Parker
0cb6ed7b29 remove tabs 2019-02-21 15:38:18 -05:00
twinaphex
eba1c474b5 Fix MSVC 2010 port 2019-02-21 21:34:22 +01:00
twinaphex
a39bed3bb1 Silence warnings 2019-02-21 21:31:29 +01:00
natinusala
a98cb75549 libnx: disable mesa errors to improve perf 2019-02-21 20:58:23 +01:00
Brad Parker
99f4203abf win32: implement screen orientation support 2019-02-21 14:37:24 -05:00
Twinaphex
e3a93ca96e
Merge pull request #8337 from fr500/master
fix #7670 by checking threaded video
2019-02-21 18:05:49 +01:00
radius
814db2c44e fix #7670 by checking threaded video 2019-02-21 11:54:10 -05:00
twinaphex
e6d5f427fc (D3D9) Add widgets function call 2019-02-21 17:09:08 +01:00
Brad Parker
f5f492845f add setting for screen orientation, with initial android implementation 2019-02-21 00:31:55 -05:00
Francisco Javier Trujillo Mata
cf68058e67 Fix issues with the GSFont 2019-02-21 00:38:56 +01:00
Twinaphex
905f67810c
Merge pull request #8312 from bparker06/overlay
gl: draw OSD on top of overlay
2019-02-18 10:38:55 +01:00
Brad Parker
3a431adf02 gl: draw OSD on top of overlay 2019-02-17 18:51:19 -05:00
Francisco Javier Trujillo Mata
b8e2216dd4 Improvement the use of the palette 2019-02-17 23:29:16 +01:00
natinusala
631f9e6b8e font driver: expose line height 2019-02-17 16:54:24 +01:00
twinaphex
158a442036 Add further HAVE_OPENGL1 support 2019-02-17 10:42:16 +01:00
twinaphex
420f3a171b (GL1) Update - add HAVE_OPENGL1 to MSVC 2005/2008/2010/2012 2019-02-16 21:26:01 +01:00
twinaphex
691462e3d6 Change INT32 to int32_t 2019-02-16 10:52:40 +01:00