Themaister
3f41cd533b
Fix RGUI regression on Vulkan.
2018-10-16 23:29:17 +02:00
twinaphex
448d2d333c
Set ctx_driver
2018-10-14 08:22:26 +02:00
twinaphex
e661cf3cfd
Rewrite video_context_driver_init_first
2018-10-14 08:13:05 +02:00
twinaphex
5b4473b948
Create gl_set_core_context
2018-10-10 18:24:41 +02:00
Brad Parker
b9699f4780
gdi: texture load support, fix menu text alignment, support multi-line messages
2018-10-10 09:58:49 -04:00
twinaphex
77fba6d58d
(Vulkan) Silence warning
2018-10-01 00:41:29 +02:00
twinaphex
2125f92281
Silence warnings/cleanups
2018-09-30 13:43:56 +02:00
twinaphex
4c23fa02e9
(MSVC 2013) Fix build for rcheevos
...
(MSVC) Fix some warnings; unused variables, etc.
2018-09-30 13:38:58 +02:00
M4xw
cf097d7f42
[LIBNX] Implement OpenGL
2018-09-27 01:23:24 +02:00
misson20000
fa76a3cb60
CRLF -> LF
2018-09-15 03:27:05 -07:00
M4xw
64edf5f879
[LIBNX] Fixups and bare minimum to function
2018-09-14 20:38:42 +02:00
twinaphex
4738ef545c
Change interval type to signed int
2018-09-12 00:08:13 +02:00
Themaister
a1989afba9
Vulkan: Fix race condition in threaded mailbox emulation.
2018-09-10 19:35:13 +02: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
eadc3f4a91
fix(Metal): Fix SIGFAULT if any attribute is 0
2018-09-01 16:13:23 -07: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
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
twinaphex
7250181319
Add some __WINRT__ ifdefs
2018-08-17 14:51:27 +02: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
twinaphex
921e52e64f
Remove old leftover buggy Win32 driver
2018-08-16 00:05:09 +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
Stuart Carnie
0291c41afa
fix(Metal): Fix blank screen after full screen toggle; window focus
2018-07-14 11:18:21 -07:00
Dwedit
fa00eda625
Relocation of Win32 Message Loop Fix is now tied to whether threaded video is enabled or not
...
Menu bar is removed if threaded video is enabled, due to code currently being unsafe when using threaded video.
2018-07-13 22:34:03 -05:00
twinaphex
abc6eb7d8c
Revert "Re-revert this - causes issues with toggling fullscreen with threaded"
...
This reverts commit 52a55695ce
.
2018-07-14 00:22:52 +02:00
twinaphex
52a55695ce
Re-revert this - causes issues with toggling fullscreen with threaded
...
video mode and GL driver
2018-07-14 00:10:21 +02:00
twinaphex
38a35e53fd
Revert "Move Message loop call to right before video_driver_get_status
call"
...
This reverts commit 838dcc8a5a
.
2018-07-14 00:01:25 +02:00
Stuart Carnie
13a9aca88a
fix(Metal): Render search box correctly
2018-07-12 23:15:24 -07:00
Stuart Carnie
167ad3b57d
fix(Metal): Various Metal fixes
...
* OSD message background
* clear glui background
* add Metal to configuration
* added optional config to compile Metal build without OpenGL
* fixed fill_pathname_join_delim; if out_path and dir are same, don't
strlcpy, as the results are undefined.
2018-07-12 21:33:18 -07:00
Brad Parker
ab27b7c85f
initial SIXEL video driver
2018-07-12 16:55:08 -04:00
Brandon Wright
c81aab345c
Lock sizes of enum fields at 32 bits.
2018-07-11 16:37:37 -05:00
Stuart Carnie
01df2c5e88
fix(Metal): Check for nil drawable
2018-07-06 23:37:15 -07:00
Dwedit
838dcc8a5a
Move Message loop call to right before video_driver_get_status
call
2018-07-05 20:07:01 -05:00
twinaphex
c3d469dd8e
Revert "Moved WIN32 message loop out of win32_check_window, and into just before the call to runloop_iterate"
...
This reverts commit 7108628369
.
2018-07-05 02:42:16 +02:00
Twinaphex
95500f5631
Merge pull request #6948 from stuartcarnie/sgc-metal
...
feat(Metal): Add support for overlays
2018-07-04 22:52:29 +02:00
Stuart Carnie
a19ea2ed07
feat(Metal): Add support for overlays
2018-07-04 13:12:40 -07:00
Dwedit
7108628369
Moved WIN32 message loop out of win32_check_window, and into just before the call to runloop_iterate
2018-07-04 14:20:38 -05:00
Twinaphex
63a071b85a
Merge pull request #6945 from Themaister/master
...
Vulkan: WSI stability fixes
2018-07-04 21:04:08 +02:00
Hans-Kristian Arntzen
52cb0fe375
Vulkan: Fix crash when we get two create_swapchain errors in a row.
2018-07-04 20:25:03 +02:00
Hans-Kristian Arntzen
f1d2dac213
Vulkan: Fix various stability issues with WSI.
...
Added an ifdef to trigger "hardening" which will return spurious errors
for critical WSI things like acquire next image, queue submit and
surface dimension queries.
2018-07-04 19:45:54 +02:00
Stuart Carnie
048aa16599
feat(Metal): Support vsync enable / disable
2018-07-04 09:50:09 -07:00
Stuart Carnie
844e5e15d0
fix(Metal): fix XRGBA rendering; no nil texture; undefined stuff bad
2018-07-04 08:50:46 -07:00