1215 Commits

Author SHA1 Message Date
twinaphex
09f5d2c95d Fix compilation when configuring with --disable-overlay 2019-07-10 05:39:50 +02:00
twinaphex
f0f5c32b51 Remove state tracker - legacy code - we can revisit this later
and integrate it in a way so that it scales across all drivers
2019-07-09 07:39:38 +02:00
twinaphex
3cfa3ff1d8 Cleanups 2019-07-04 22:05:38 +02:00
Dwedit
81b6703912 Fix wrong reference count for D3D12 adapters (crash at close due to a destroyed adapter being released again) 2019-07-03 15:35:06 -05:00
Dwedit
10343d51b9 Small fixes for D3D12: Do not return false when enumerating, and add a null check for the Fence object 2019-07-02 19:46:02 -05:00
stoofin
1b57cf6112 Fall back to libvulkan.so.1 if libvulkan.so isn't present 2019-06-27 14:08:14 -07:00
LazyBumHorse
b5199d7921 fix black screen in Metal 2019-06-22 11:07:08 +02:00
twinaphex
6b9238198b Cleanups 2019-06-21 04:47:51 +02:00
twinaphex
48eeb15d2c Silence warnings 2019-06-20 01:16:05 +02:00
Brad Parker
d01f04c146 d3d10/11/12: add GPU selection 2019-06-18 16:35:50 -04:00
LazyBumHorse
692dc9f6a9 refactor shader checks affected by last commit and more:
- gl.c: refactor backend fallback into more general gl2_get_fallback_shader_type
 - d3d9-12, gl_core, gx2_gfx, gl, vulkan: more consistent shader init and `set_shader` behavior
 - configuration.c: remove check_shader_compatibility
 - shader_glsl.c, shader_gl_cg.c: use `video_shader_get_type_from_ext`
 - shader_gl_cg.c: add shader type check with fallback to stock like in shader_glsl.c
 - menu_shader.c: use `enum rarch_shader_type` instead of `unsigned`
 - video_shader_parse.c: add `video_shader_to_str` for easier logging
 - remove `type` from `struct video_shader`, which was always set to CG and wrongly used in lang_process.cpp's `slang_process()` (has no further consequences because the code is unused)
2019-06-18 13:44:19 +02:00
twinaphex
ee3208ac39 Integrate video_driver.c into retroarch.c 2019-06-17 15:10:22 +02:00
twinaphex
f60306b232 Rename read_conf_cgp/write_conf_cgp to
read_conf_preset/write_conf_preset
2019-06-15 09:00:35 +02:00
Brad Parker
c962da0ddb add video setting to select gpu (currently implemented for vulkan) 2019-06-13 12:47:08 -04:00
LazyBumHorse
9ab49b7b2c Add FrameDirection for metal and gx2_gfx 2019-05-29 21:06:44 +02:00
LazyBumHorse
b54ad4d67f implement FrameDirection slang semantic for d3d10,11,12 2019-05-29 18:09:37 +02:00
twinaphex
e1b39f6621 (WinRT) Make dxgi_update into a stub function for WinRT 2019-05-26 08:22:16 +02:00
twinaphex
17b2019e11 (Vulkan) Fix potential memory leak 2019-05-26 08:18:42 +02:00
Huw Pascoe
acb28a38c4 video_layout gl basic implementation 2019-05-11 14:23:26 +01:00
twinaphex
52dd39f98a Another buildfix 2019-05-10 20:17:20 +02:00
twinaphex
74388d8490 Remove string_concat 2019-05-10 18:05:58 +02:00
Nathan S
775c272029 Menu widgets stuff + vulkan sanity check (#8710)
* task_screenshot: fix hang with menu widgets

* word_wrap: add max_lines parameter

* vulkan: better instance creation sanity check
2019-05-06 21:10:57 +02:00
twinaphex
39eadbab6f Use string_concat in more performance critical areas 2019-04-30 21:17:51 +02:00
twinaphex
bc2bdd5734 config_file_read not needed anymore 2019-04-30 13:37:10 +02:00
twinaphex
c55873c324 (GL_CORE) More updates 2019-04-24 03:33:32 +02:00
twinaphex
59b45f7812 Start making HAVE_OPENGL_CORE independent 2019-04-24 03:23:57 +02:00
twinaphex
04d062b3d4 (MSVC2003) Enable HAVE_OPENGL1; make HAVE_OPENGL1 independent from
HAVE_OPENGL
2019-04-22 22:48:23 +02:00
twinaphex
955a149ce9 Use config_file_read where we can assume we are reading a file 2019-04-22 01:56:24 +02:00
twinaphex
7372bafb44 Remove RARCH_CTL_SET_LIBRETRO_PATH 2019-04-21 06:03:02 +02:00
jdgleaver
54e1711f9a (3DS) Sanitise/Improve display mode selection 2019-04-15 17:05:55 +01:00
Huw Pascoe
fed06044c4 silence warnings 2019-04-12 17:32:11 +01:00
Brad Parker
9579804c72 gl1: add overlay support 2019-04-05 23:07:59 -04:00
twinaphex
a5aa4d731b Use memset instead of bzero 2019-04-03 16:56:50 +02:00
twinaphex
f67bfa24ef Get rid of video_poke_interface set_mvp 2019-03-18 15:19:11 +01:00
Hugo Hromic
136c08a4bb (x11_common.c) Fix C89 build 2019-03-14 16:09:34 +00:00
twinaphex
3691f4fabf Fix CXX_BUILD errors 2019-03-13 17:00:52 +01:00
Twinaphex
75102a435f
Merge pull request #8437 from DSkywalk/master
X11 auto-repeat event fixed
2019-03-10 23:17:53 +01:00
David Skywalker
83e7fda272 sorry, fixed typo. 2019-03-09 21:29:21 +01:00
David Skywalker
46036894d4 fix x11 auto-repeat event 2019-03-09 19:06:01 +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
10df615d14 add "Send Debug Info" option under Help 2019-03-07 19:17:54 -05: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
Brad Parker
4f0d61a2ac update copyright 2019-02-22 19:13:36 -05:00
Brad Parker
477d46d52b update copyright 2019-02-22 19:13:36 -05:00
Brad Parker
99f4203abf win32: implement screen orientation support 2019-02-21 14:37:24 -05:00
radius
814db2c44e fix #7670 by checking threaded video 2019-02-21 11:54:10 -05:00
twinaphex
691462e3d6 Change INT32 to int32_t 2019-02-16 10:52:40 +01:00
Brad Parker
5e177c75a5 add memory stats to more context drivers, use correct default variables for fps/stats/framecount/memory_show 2019-02-15 15:59:00 -05:00
Themaister
3b9ad729fb Vulkan: Fix color issues with RGBA8888 swapchains in readback. 2019-02-15 20:30:08 +01:00
Brad Parker
5a3a58c8a6 gl1: fix order of non-rgui menu drawing, add proper texture support 2019-02-11 12:05:31 -05:00