Commit Graph

1015 Commits

Author SHA1 Message Date
twinaphex
d06ce4df13 Buildfix for Travis 2019-07-10 23:56:47 +02:00
twinaphex
278063d157 (CocoaGL) Silence warning when building without HAVE_VULKAN 2019-07-10 05:48:26 +02:00
twinaphex
1d6bae7b35 (Linux) fix --disable-overlay 2019-07-10 05:43:05 +02:00
twinaphex
09f5d2c95d Fix compilation when configuring with --disable-overlay 2019-07-10 05:39:50 +02:00
twinaphex
3cfa3ff1d8 Cleanups 2019-07-04 22:05:38 +02:00
Twinaphex
5d56302a31
Merge pull request #9033 from yoshisuga/ios_remove_pause_indicator
iOS: remove pause indicator
2019-06-29 12:12:32 +02:00
CatGreen90
550ea0f143 Update android_ctx.c (#9032) 2019-06-27 19:37:21 -05:00
twinaphex
c57aa566e5 (CGL) Add missing header 2019-06-19 20:53:24 +02:00
twinaphex
d63f4afc57 Add missing header include 2019-06-18 22:46:37 +02:00
root
e8b07e93a4 fix missing include 2019-06-18 23:19:09 +03:00
LazyBumHorse
c20c67bd3a proper shader compatibility checks
- move shader flags from the video drivers to the context drivers
 - rework config_load_shader_preset() from configuration.c into retroarch_load_shader_preset() in retroarch.c with proper compatibility check
 - implicitly call retroarch_load_shader_preset() in retroarch_get_shader_preset() once per core/content life cycle
 - use video_shader_is_supported() instead of video_driver_test_all_flags() where appropriate
 - remove GFX_CTX_FLAGS_NONE because it is meaningless
2019-06-18 13:46:41 +02: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
Yoshi Sugawara
45b36d7d47 iOS: remove pause indicator; show the native UI menu using 4-finger swipe down gesture 2019-06-14 08:35:33 -10:00
jdgleaver
80c9475fa4 Add option to show 'remove playlist entry' only on history/favourites 2019-06-04 11:29:51 +01:00
Twinaphex
cc22680480
Merge pull request #8897 from orbea/khr
Try using the udev or linuxraw input drivers for khr_display.
2019-06-02 09:07:35 +02:00
orbea
a9c9d0efc3 Try using the udev or linuxraw input drivers for khr_display.
When using vulkan with a khr_display context while the x input
driver is set RA will fail to start. This changes it to try setting
the udev and then linuxraw input drivers in such cases.

This code is copied from gfx/drivers_context/drm_ctx.c
2019-06-01 19:16:27 -07:00
orbea
44c62c8a37 Fix shaders init with glcore + kms.
See https://github.com/libretro/RetroArch/issues/8834
2019-06-01 13:32:06 -07:00
Twinaphex
5183160142
Merge pull request #8894 from LazyBumHorse/master
(wgl_ctx) set GFX_CTX_FLAGS_SHADERS_SLANG for glcore
2019-06-01 21:35:38 +02:00
LazyBumHorse
a6f042b320 wgl_ctx: set GFX_CTX_FLAGS_SHADERS_SLANG for glcore 2019-06-01 21:21:45 +02:00
twinaphex
e680fab6e1 (Cheevos) Fix Cheevos
(Wayland) Hopefully finally fix EGL issues
2019-05-30 11:08:00 +02:00
twinaphex
9d585ecd94 (EGL) Buildfixes 2019-05-29 10:02:03 +02:00
twinaphex
4a08b3e239 (Wayland ctx) Add missing HAVE_EGL ifdefs 2019-05-27 14:55:41 +02:00
Brad Parker
f2e15af6ba griffin: linux buildfixes 2019-05-22 14:07:56 -04:00
twinaphex
74388d8490 Remove string_concat 2019-05-10 18:05:58 +02:00
twinaphex
39eadbab6f Use string_concat in more performance critical areas 2019-04-30 21:17:51 +02:00
twinaphex
1f53eea4ee (Cocoa GL/GLES) Set this flag for OpenGLES 2019-04-26 02:27:48 +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
orbea
1e86824e96 wayland: Fix build.
Fixes https://github.com/libretro/RetroArch/issues/8614
2019-04-21 08:11:26 -07:00
twinaphex
8e638f435a (Wayland) wl_array_for_each macro fails with CXX_BUILD - have to
roll our own macro instead doing it right
2019-04-20 20:33:22 +02:00
twinaphex
7b3be5eddf (wayland) Fix some CXX_BUILD issues; possibly not all 2019-04-20 18:42:23 +02:00
Themaister
ecc7bc0cf2 Fix compile error and flag errors on X/Wayland. 2019-03-13 18:27:44 +01:00
Twinaphex
dd5eca0f46 (OSX) Buildfix 2019-03-13 14:31:03 +01:00
twinaphex
b347b26d61 Reimplement shader flags being set - GL core should have only
Slang support and no GLSL, with the GL2 driver it is dependent
on the context driver
2019-03-13 14:06:50 +01:00
Vladimir Serbinenko
2d5715b807 wayland: fix keyboard handling.
This bug interferes with my BK-0010 libretro port.
2019-03-12 23:49:46 +01:00
Brad Parker
a09e110d24 VC6 cannot cast uint64 to double, use int64 instead 2019-03-01 09:10:05 -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
4f0d61a2ac update copyright 2019-02-22 19:13:36 -05:00
natinusala
a98cb75549 libnx: disable mesa errors to improve perf 2019-02-21 20:58:23 +01:00
twinaphex
158a442036 Add further HAVE_OPENGL1 support 2019-02-17 10:42:16 +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
twinaphex
5733ed9a29 Move these defines to cocoa_common.h 2019-02-10 02:11:22 +01:00
twinaphex
293eac3019 Update 2019-02-10 02:03:50 +01:00
twinaphex
62cef96118 Update cocoa_gl_ctx.m 2019-02-10 02:02:17 +01:00
twinaphex
794ab4ef68 Update cocoagl_set_mode 2019-02-10 01:59:08 +01:00
twinaphex
2c9b7c84df Updates 2019-02-10 01:54:39 +01:00
twinaphex
a49d0a50b9 Move more functionaliy to cocoa_gl_shared.h 2019-02-10 01:44:46 +01:00
twinaphex
35ce4dcadc Updates 2019-02-10 01:30:12 +01:00
twinaphex
74bddae86e (CocoaGL) Move shared code to gl_shared file 2019-02-10 01:29:04 +01:00