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
orbea
d3dcc548b2
qb: Allow falling back to a bundled wayland-protocols when not found.
2019-02-10 15:34:50 -08:00
twinaphex
1a8ad73c3f
(Cocoa) Unify both headers
2019-02-09 04:40:38 +01:00
Brad Parker
8d8feec318
gl1: screenshot support
2019-02-08 16:31:34 -05:00
Brad Parker
cbbb81f46f
gl1: add BFI and menu/content linear filtering
2019-02-08 15:37:38 -05:00
Brad Parker
333c630469
gl1: blend menu with video
2019-02-08 13:47:43 -05:00
Brad Parker
74fd184097
initial GL1 video driver, only rgui is working currently
2019-02-08 12:14:55 -05:00
twinaphex
e612773645
(Xbox OG) Buildfixes
2019-02-07 05:42:23 +01:00
twinaphex
f49b6e26a0
(Metal) Add menu widget support
2019-02-07 02:00:23 +01:00
twinaphex
b7c1fda56f
(Windows) Fix C89_BUILD
2019-02-06 19:08:56 +01:00
orbea
28ff4b391a
Clean up white space.
2019-02-03 16:00:50 -08:00
twinaphex
9aa542b1ae
* Get rid of video_shader_driver_use
...
* Get rid of Nuklear - ozone/menu widgets is probably the replacement
for it - Zarch will go next
2019-02-03 04:37:54 +01:00
twinaphex
91f8e8465a
(GL) Cleanups
2019-02-03 00:11:41 +01:00
twinaphex
97dc77b940
(GL) renderchain interface is gone now
2019-02-03 00:07:53 +01:00
twinaphex
62bea6ad11
SOme header cleanups
2019-02-02 22:02:24 +01:00
twinaphex
0c0ab19b11
(GL) We don't need gl_common.c anymore
2019-02-02 21:47:31 +01:00
twinaphex
350b0dd1a2
gl_add_lut can now become a static function inside gl.c
2019-02-02 21:34:02 +01:00
twinaphex
90f1317498
Cut down on code duplication - create gl_load_luts
2019-02-02 21:32:37 +01:00
twinaphex
2560d1c105
Move gl_load_texture_data to gl_common.c
2019-02-02 17:33:58 +01:00
twinaphex
7c74f0abe8
Create gl_add_lut
2019-02-02 17:25:27 +01:00
twinaphex
5d77244334
(OSX) Implement flyinghead's GL3 support
2019-01-31 21:30:49 +01:00
David Skywalker
347519a4d8
now X11 driver using keycodes instead keysyms, fixes international layouts problems.
2019-01-31 12:50:58 +01:00
krzys-h
3c18232448
Fix d3d12 swap chain creation
...
Apparently, HAVE_WINDOW was not defined in this file (and this obviously
doesn't appear on MSVC because of how griffin.c works...)
2019-01-28 10:44:47 +01:00
Twinaphex
8b958b91f9
Merge pull request #8105 from orbea/qb
...
Update generate_wayland_protos.sh.
2019-01-28 00:31:57 +01:00
Brad Parker
8b6676e17f
d3d9: implement scissor test
2019-01-26 20:13:39 -05:00
orbea
ae7b09afae
gfx: Update generate_wayland_protos.sh.
2019-01-26 16:08:18 -08:00
Twinaphex
b512c0aeb9
Merge pull request #8095 from Sunderland93/wayland-version
...
[Wayland] Set minimum wayland version to 1.12
2019-01-26 22:49:34 +01:00
Sunderland93
10d2d13004
Fix version's comparison
2019-01-26 13:41:03 +04:00
orbea
63c7abef06
qb: Allow testing more than one version in check_pkgconf.
2019-01-25 15:04:29 -08:00
Sunderland93
677395f05e
[Wayland] Set minimum wayland version to 1.12
2019-01-25 21:41:13 +04:00
orbea
d3f81e8db8
Fix the osx metal travis build.
2019-01-21 13:03:51 -08:00
twinaphex
b13777e9fc
Header cleanups
2019-01-20 03:16:58 +01:00
twinaphex
d3ae2cbd29
Cleanup some header includes
2019-01-20 01:49:21 +01:00
twinaphex
83241ed0b1
Some header cleanups
2019-01-19 23:27:59 +01:00
orbea
e062b98088
Remove trailing blank lines.
...
find . -type f -exec sed -i '${/^[[:space:]]*$/d;}' {} \+
2019-01-17 19:39:38 -08:00
orbea
ff2e3bbbce
Fix CXX_BUILD errors.
2019-01-13 11:51:33 -08:00
twinaphex
7ad34509e7
Silence more CXX_BUILD warnings
2019-01-12 21:16:48 +01:00
Twinaphex
ff8e10f014
Merge pull request #7984 from myfreeweb/egl-fix
...
Fix EGL initialization not setting 'n'
2019-01-12 05:10:46 +01:00
CozmoP
2052e15a08
pass content label when loading content from Qt ( #7982 )
2019-01-11 18:51:44 -05:00
Greg V
3ab7e780d1
EGL: use unused 'n' argument for storing the config count ( fixes #7953 )
...
The 'n' argument was probably intended for the count, but it was unused.
The Wayland platform would check whether n would be non-zero (and
wouldn't initialize n with zero), so it would only succeed because it
was initialized with random garbage.
Pointy hat: @Sunderland93
2019-01-11 20:41:40 +03:00
twinaphex
c98b2e2292
Buildfixes and more static code analysis warning fixes
2019-01-10 22:24:43 +01:00
twinaphex
b9ff2e4de1
Fix some static code analysis warnings from MSVC 2017
2019-01-10 21:47:15 +01:00
Twinaphex
ac04c1bfc5
Merge pull request #7892 from Datamats/libnx_nwindow
...
libnx: refactor all the code of the now deprecated gfx api over to the new nwindow / framebuffer api
2019-01-08 23:36:20 +01:00
Twinaphex
40997473ed
Merge branch 'master' into orbis2
2019-01-08 20:18:08 +01:00
orbea
bfc366decc
Squeeze extra blank lines with cat(1).
...
Example:
find . -type f -iname '*.c' | while read -r i; do
cat -s "$i" > "$i.new"
mv "$i.new" "$i"
done
2019-01-08 11:04:58 -08:00
Mats
462a4b24fd
libnx: refactor all the code of the now deprecated gfx api over to the new nwindow / framebuffer api
2019-01-07 15:03:44 +01:00
Brad Parker
85b560e76b
vc2003 buildfix
2019-01-05 19:19:53 -05:00
Greg V
a1c15b5362
Wayland: try /usr/local for wayland-scanner/protocols
...
Default prefix is /usr/local on FreeBSD
2019-01-01 03:07:20 +03:00
Francisco José García García
c56e9b1ff6
[ORBIS] eglSwapInterval workaround
2018-12-30 14:01:10 +01:00
twinaphex
1cb9f7c1bf
Fix D3D10/11/12 drivers for Win32 build
2018-12-30 05:08:57 +01:00
Twinaphex
22e54dfc6b
Merge pull request #7839 from frangarcj/orbis2
...
[WIP] ORBIS / PS4 Port
2018-12-30 01:04:50 +01:00
Francisco José García García
d34b94a661
[ORBIS] Several EGL and GL fixes
2018-12-30 00:11:53 +01:00
krzys-h
1cb1ea55b1
Bugfix - creating swap chain twice in d3d11
...
Not sure what I was thinking when writing this
dd60b5d576 (commitcomment-31801518)
2018-12-29 11:38:09 +01:00
twinaphex
bddcd2d5e5
Buildfix - include header for prototype definition
2018-12-29 06:04:46 +01:00
twinaphex
8f67cf7384
Some buildfixes
2018-12-29 02:20:25 +01:00
twinaphex
0e5fbbb9e1
Silence some warnings
2018-12-29 02:12:50 +01:00
krzys-h
4fb06703b3
Port d3d12 driver for UWP
2018-12-28 22:10:26 +01:00
krzys-h
f6c8a0c5c2
Add UWP input driver
...
Keyboard, mouse and touch support: done
2018-12-28 22:09:30 +01:00
krzys-h
b201d669b5
First iteration of UWP support
...
Enough to kind of run
Working drivers: xinput, d3d11
Still missing: input driver with keyboard support, audio driver
2018-12-28 22:09:22 +01:00
Francisco José García García
912060fc4b
[ORBIS] Use SceWindow
2018-12-28 11:19:28 +01:00
Francisco José García García
48167d46bc
[ORBIS] Initial video context driver
2018-12-28 01:27:13 +01:00
radius
d2a2878b2c
fix #935 thanks to @bparker
2018-12-23 19:55:26 -05:00
Themaister
077b108aa1
Vulkan: Fix potential crash when toggling fullscreen.
...
If we have HW rendering, and we toggle fullscreen while in the menu, we
don't have a ready HW image, so fall back to black dummy texture.
2018-12-12 13:28:46 +01:00
radius
a7e4d8359b
fix fullscreen=>windowed when remember window positions is on
2018-12-11 19:34:12 -05:00
Themaister
868465ad01
EGL: Add callback to select EGLConfig.
...
A more robust fix for DRM/GBM shenanigans.
2018-12-11 20:12:25 +01:00
Aleksey Samoilov
d82987b1b5
Merge branch 'master' into master
2018-12-09 20:56:20 +03:00
Sunderland93
830882e296
Merge branch 'server-decorations'
2018-12-09 19:03:57 +04:00
Sunderland93
d1c15efc24
Revert "Add KDE's server-decoration protocol as fallback (for KDE)"
...
This reverts commit 058a880a8b
.
2018-12-09 18:47:47 +04:00
Sunderland93
058a880a8b
Add KDE's server-decoration protocol as fallback (for KDE)
2018-12-09 18:42:45 +04:00
twinaphex
bfd9141577
Play it safe for non-GBM targets
2018-12-07 21:15:38 +01:00
twinaphex
96840572ef
Add HAVE_GBM ifdefs
2018-12-07 20:18:01 +01:00
Twinaphex
d6e96b986f
Merge pull request #7707 from fr500/upstream
...
make windowed size take into account window border and title height
2018-12-07 16:33:29 +01:00
twinaphex
7638637518
Cleanups
2018-12-07 00:51:56 +01:00
orbea
5898f3e5d2
Fix KMS with OpenGL.
...
All credit for this patch goes to dtsarr.
Fixes https://github.com/libretro/RetroArch/issues/7119
2018-12-06 08:34:26 -08:00
radius
defe82c9ce
fix the menubar height growing issue too
2018-12-06 10:15:50 -05:00
radius
e050ca89c7
make windowed size take into account window border and title height
2018-12-06 10:03:48 -05:00
Sunderland93
f960144212
Merge branch 'fallback' into 'master'
2018-12-05 23:23:02 +04:00
Sunderland93
dc94886664
Initial support for xdg-decoration-unstable-v1
2018-12-05 22:51:07 +04:00
Sunderland93
9b0bad5d9f
Add zxdg_shell_v6 and wl_shell ad fallback interfaces
2018-12-03 14:32:31 +04:00
twinaphex
b027395341
(Android/Vulkan) Enable 'emulate mailbox' for Android
2018-12-03 00:40:50 +01:00
Stuart Carnie
0e295716b9
feat(metal): Add native rotation support for Metal driver
...
* fix crash when frame or frame size is 0
2018-11-29 22:04:43 -07:00
dukemiller
8294bf86df
Create option for dx video drivers to toggle displaying memory use
2018-11-28 00:01:09 -07:00
Twinaphex
7a174d290e
Merge pull request #7655 from Sunderland93/master
...
[Wayland] Implement idle-inhibit support
2018-11-26 19:25:46 +01:00
Sunderland93
ea180a1775
Relax wayland and wayland-protocols version's
2018-11-26 21:58:43 +04:00
Sunderland93
b538786b00
Implement zwp_idle_inhibit_v1 protocol
2018-11-26 21:54:39 +04:00
twinaphex
6bf35ab6e8
(x11_common.c) Cleanups
2018-11-26 13:54:51 +01:00
twinaphex
098e62067e
Small cleanups
2018-11-26 13:37:35 +01:00
radius
77ae2dc0cd
don't change window position on fullscreen changes
2018-11-25 11:51:13 -05:00
twinaphex
4a4a6511e0
Workaround - fullscreen mode was no longer working properly
2018-11-25 10:08:50 +01:00
twinaphex
5313c50b0e
(Windows) Saves/remembers window size now too - still some edge case
...
when clicking maximize button - you need to then move the window
slightly in order for x/y position to be saved - just clicking maximize
alone is not enough
2018-11-25 09:50:08 +01:00
twinaphex
e1afdf8c3c
(Windows) Start implementing 'remember window positions'. Right now only
...
saves/remembers X, Y position
2018-11-25 09:02:32 +01:00
Twinaphex
3d4fc5d38f
Merge pull request #7607 from Sunderland93/master
...
Wayland: xdg-shell support
2018-11-24 18:45:20 +01:00
twinaphex
5d8666e226
Only one function calls EnumDisplaySettings now
2018-11-24 02:06:28 +01:00
Sunderland93
c32c98e667
Very WIP: xdg-shell support
2018-11-17 16:01:51 +04:00
Themaister
f51ef85f27
Vulkan: Fix scissor in menu driver.
2018-11-08 21:57:53 +01:00
Themaister
afcd25a3f8
Vulkan: Fix scissor in menu driver.
2018-11-08 21:45:51 +01:00
Stuart Carnie
fd2524429d
chore(meta): Cleanup
2018-11-06 07:56:05 -07:00
Stuart Carnie
8569ee79bc
feat(metal): Add scissor rect support
...
This is required for correct rendering of the ozone menu
2018-11-06 07:56:05 -07:00
Stuart Carnie
5c1075127b
chore(metal): Separate legacy GL and Metal source
...
* Forks of Cocoa / Cocoa Touch to *_metal.* version
* Reverted original GL Cocoa / Cocoa Touch versions
* GL and Metal projects still build
2018-11-04 20:50:50 -07:00
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
Stuart Carnie
30d2192338
fix(Metal): Fix release build crash for misaligned read
2018-07-04 00:16:14 -07:00
Stuart Carnie
44ca1062b0
formatting
2018-07-03 22:32:12 -07:00