8322 Commits

Author SHA1 Message Date
alphanu1
30d7ef898d
Xrandr sapmming fix 2018-09-10 17:39:52 +01:00
alphanu1
adb0542748
Merge pull request #84 from libretro/master
update
2018-09-10 17:35:58 +01:00
alphanu1
1b4439413c
Update dispserv_x11.c 2018-09-09 12:50:28 +01:00
alphanu1
cf4fff8d31
snprintf broke switching 2018-09-09 11:51:37 +01:00
twinaphex
bfdb75a30e Add ifdef 2018-09-09 01:28:09 +02:00
alphanu1
5c6fc6db7e
New Porch Calc, Matched against an oscilloscope 2018-09-08 22:11:31 +01:00
alphanu1
952b46f2c1
Fix for crt interlaced bug 2018-09-08 22:09:30 +01:00
Themaister
d338dac277 Only do mailbox emulation for fullscreen.
Too large impact on performance in Windowed mode.
2018-09-08 16:27:25 +02:00
Themaister
d39f66a738 Emulate mailbox by wrapping acquire in a thread.
Needed on nVidia Windows since they don't support timeout == 0 ...
2018-09-08 15:56:49 +02:00
Themaister
157d1e7e63 Only use mailbox emulation on AMD. 2018-09-08 11:47:58 +02:00
Themaister
66c4f8fd35 Make sure to always clear out swapchain_fence_signalled. 2018-09-08 11:47:58 +02:00
Themaister
9ebac87638 Vulkan: Emulate mailbox on Windows. 2018-09-08 11:47:58 +02:00
Themaister
af534f0fa8 Vulkan maintenance fixes.
- Use VkBuffer instead of linear VkImage for staging uploads.
  Not guaranteed to be supported, and desktop IHVs recommend using
  buffers.

- Fix validation error where swapchain recreation with reuse of the old
  VkSwapchainKHR does not create a fence properly, leading to validation
  error next time that swapchain index is observed.
2018-09-08 11:47:58 +02:00
Stuart Carnie
99f497de85 feat(Metal): Add support for screen shots 2018-09-02 17:55:02 -07:00
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