8108 Commits

Author SHA1 Message Date
Stuart Carnie
9d22aacaa7 refactor: Add vertex buffer struct to ShaderTypes and remove global 2018-09-02 17:53:18 -07:00
Stuart Carnie
8a63ace201 Revert "fix(gfx): Move enum to end to avoid breaking existing configurations"
This reverts commit 93b79fa
2018-09-02 13:03:16 -07:00
Twinaphex
6463f7005b
Merge pull request #7174 from stuartcarnie/sgc-metal
Fix crashes for metal; buffer overflow in xmb; Metal fullscreen issue
2018-09-02 21:55:10 +02:00
Stuart Carnie
eadc3f4a91 fix(Metal): Fix SIGFAULT if any attribute is 0 2018-09-01 16:13:23 -07:00
Themaister
1d7dfc5f47 Fix glslang_format LUT.
Was logging wrong format names.
2018-09-01 22:46:47 +02:00
Stuart Carnie
802697fdec fix(Metal): Use textures for pixel conversion 2018-09-01 11:58:37 -07:00
Stuart Carnie
577d81071e fix(Metal): Cleanup shader logging messages 2018-09-01 11:58:37 -07:00
Stuart Carnie
93b79fac90 fix(gfx): Move enum to end to avoid breaking existing configurations
* `aspect_ratio_index` relies on the ordinal values not changing
2018-09-01 11:58:37 -07:00
twinaphex
d5fa379aa8 Update header 2018-09-01 03:54:47 +02:00
twinaphex
85f093e042 Change these to numbers 2018-08-31 21:25:33 +02:00
twinaphex
a58511ec00 Revert "Compatibility fixes for OSX PPC"
This reverts commit d7899c51aa7ef7b752be97409dafdca8d9597e11.
2018-08-31 19:20:10 +02:00
twinaphex
1265d7546c Revert "Start using raw constants for OSX version detection"
This reverts commit ab34a70873637232be341f1c07544d9749e6dddb.
2018-08-31 19:19:42 +02:00
twinaphex
ab34a70873 Start using raw constants for OSX version detection 2018-08-30 16:35:44 +02:00
neville
d7899c51aa Compatibility fixes for OSX PPC 2018-08-30 16:18:51 +02:00
Twinaphex
ea87bb5a1d
Merge pull request #7122 from orbea/vulkan
Fix segfaults when starting vulkan without a working vulkan driver.
2018-08-27 18:59:00 +02:00
twinaphex
8a5d092e5b (dispserv_x11.c) Make variable bigger to avoid all the warnings and use snprintf 2018-08-27 16:09:12 +02:00
orbea
260ce526c2 Fix segfaults when starting vulkan without a working vulkan driver.
RetroArch will crash in several places when running vulkan in an
environment that does not have working vulkan drivers.

This should guard against those crashes and allow RetroArch to fail
safely in those cases.
2018-08-24 19:36:03 -07:00
orbea
d8ea30881d Default to gl instead of vulkan.
If the video_driver is set incorrectly it will default to vulkan
instead of gl. However its possible to have RetroArch built with
vulkan even with no working vulkan drivers and this will cause a
segfault.

Defaulting to gl again should be a safer default which should crash
for fewer users.

Fixes https://github.com/libretro/RetroArch/issues/5568.
2018-08-24 13:55:09 -07:00
Brad Parker
4d09ddde1c Qt: limit shader preset/pass selection to the appropriate extensions 2018-08-20 20:26:50 -04:00
Brad Parker
e4834250b9 Qt: set shader dialog title to current preset/shader name 2018-08-18 12:39:17 -04:00
twinaphex
90efa02718 Fix more scan-build issues 2018-08-18 16:16:17 +02:00
twinaphex
646e64c28c Fix some clang scan-build warnings/errors 2018-08-18 15:56:44 +02:00
Brad Parker
16459bfa91 Qt: add filter/scale to shader window 2018-08-18 00:33:59 -04:00
twinaphex
ae0d9fd60d (Wayland) Buildfixes 2018-08-17 17:42:14 +02:00
twinaphex
7250181319 Add some __WINRT__ ifdefs 2018-08-17 14:51:27 +02:00
Brad Parker
e2ff7478ca don't return uninitialized data 2018-08-17 07:49:25 -04:00
twinaphex
4a54826d9b Remove unused variable 2018-08-16 21:14:56 +02:00
twinaphex
a1d5b0fd03 Update MSVC 2012 solution 2018-08-16 20:49:31 +02:00
Brad Parker
12539f310d use strl functions 2018-08-16 13:51:44 -04:00
twinaphex
75a388cd67 Use strlcpy instead of strncpy in slang_process.cpp 2018-08-16 10:14:42 +02:00
twinaphex
6266065384 Fix more code when compiling without menu support 2018-08-16 09:59:51 +02:00
twinaphex
921e52e64f Remove old leftover buggy Win32 driver 2018-08-16 00:05:09 +02:00
Twinaphex
eee287074c
Merge pull request #7077 from bparker06/wimp_shader_param
Qt: Initial shader parameters window
2018-08-15 21:36:34 +02:00
Twinaphex
4d96fddf5e
Merge pull request #7061 from wiktorek140/sailfishos-touch
Sailfish OS  device build configuration connected with touch screen support required for device with this OS
2018-08-15 13:30:04 +02:00
Brad Parker
341cf63399 Qt: show shader pass in parameters window, reload shader params when shader is reloaded 2018-08-14 21:38:52 -04:00
Brad Parker
560149857b shaders: track the pass for each parameter 2018-08-14 18:46:32 -04:00
Brad Parker
4a86d29810 shaders: fix memory leak 2018-08-14 18:44:19 -04:00
Brad Parker
6de4384350 glsl: don't clear the shader source 2018-08-14 18:42:23 -04:00
twinaphex
a6941fb4ed Initial work done on VS2017 solution for Android 2018-08-14 16:02:31 +02:00
twinaphex
6a64e27e3d (D3D8) Add HAVE_MENU ifdefs 2018-08-14 11:41:43 +02:00
twinaphex
db9f4697f6 Add HAVE_MENU ifdefs 2018-08-14 11:40:42 +02:00
Wiktor Strzębała
45799ee034 Bring up touch support for wayland subsystem for sailfish os devices
Touch code cleanup
Make variabled static as suggest bparker06
C89 compilation error fix (at least for loops)
More C89 fixes

Signed-off-by: Wiktor Strzębała <wiktorek140@tlen.pl>
2018-08-09 20:49:27 +02:00
Tatsuya79
e48b9011bf Don't adjust audio for VRR. Silence log message about it. 2018-08-09 12:29:40 +02:00
twinaphex
aec7ed40da This crashed Wayland 2018-08-01 01:15:58 +02:00
Sven
c750235414
Merge branch 'master' into cheater 2018-07-26 19:40:20 -04:00
Sven
5f35249216 Implement robust cheat searching interface with rumble features 2018-07-25 19:19:14 -04:00
twinaphex
9c0ed0f2c4 Don't use core profile GLSL shaders for OpenGLES 2018-07-18 10:06:30 +02:00
twinaphex
eb345019c2 Don't implement bind_block/flush_block for drivers that
don't implement it
2018-07-15 20:16:40 +02:00
Stuart Carnie
0291c41afa fix(Metal): Fix blank screen after full screen toggle; window focus 2018-07-14 11:18:21 -07:00
Twinaphex
a68a22081c
Merge pull request #6989 from Dwedit/win32_message_loop_threaded_video_fix
Move win32 message loop, now compatible with threaded video
2018-07-14 06:12:07 +02:00