LazyBumHorse
4c272973f1
fix frame_direction type for vulkan
2019-05-29 15:29:37 +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
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
Brad Parker
086b3ccfb7
gl1: ignore alpha in core video, fixes XRGB8888 rendering in some cores
2019-05-25 17:08:30 -04:00
LazyBumHorse
d12dba6db4
(hotfix) Don't poll vendor specific 'patch' version
2019-05-25 17:51:03 +02:00
LazyBumHorse
9894f48fb0
added paranoid NULL check
2019-05-25 13:10:13 +02:00
LazyBumHorse
662b473e9f
don't hardcode shader cross compilation target version but poll it
2019-05-25 12:32:34 +02:00
LazyBumHorse
ee3cda8abf
added "FrameDirection" slang semantic and implementation for glcore and vulkan
2019-05-24 22:11:12 +02:00
Brad Parker
f2e15af6ba
griffin: linux buildfixes
2019-05-22 14:07:56 -04:00
twinaphex
6aed230930
Reimplement 'Take Screenshot' - if GPU-accelerated viewport screenshots
...
are not available, resort to raw screenshots instead
2019-05-22 07:08:11 +02:00
Brad Parker
711ea77390
glcore: store GPU device/version string
2019-05-21 21:43:31 -04:00
Huw Pascoe
8e9913a1ab
Fix video_layout crash on unsupported drivers
2019-05-18 18:19:55 +01:00
Dwedit
24fa0cd5b5
Move pool_info.flags = VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT;
to after the other variable declaration (so all variable declarations happen before any other code)
2019-05-17 14:29:23 -05:00
twinaphex
ebaa5b9941
Undefine HAVE_VIDEO_LAYOUT for now instead of implicitly enabling
...
it for every platform - will have to be individually enabled for
each platform first after rigorous testing
2019-05-13 01:57:26 +02:00
twinaphex
ecb6318f40
Some buildfixes
2019-05-13 01:07:02 +02:00
Huw Pascoe
acb28a38c4
video_layout gl basic implementation
2019-05-11 14:23:26 +01:00
Huw Pascoe
2c56011f84
video_layout interface
2019-05-11 09:58:48 +01:00
Huw Pascoe
6aaa4df394
video_layout
2019-05-11 09:58:46 +01:00
twinaphex
3e350afe93
video_shader_parse_pass - free pointer earlier
2019-05-11 08:56:41 +02:00
Nathan S
edb37ccf70
menu widgets: cleanup fix and draw above overlay for gl and vulkan ( #8732 )
...
* menu_widgets: cleanup properly all widgets when loading or closing content
* gl: draw menu widgets above overlay
* vulkan: draw menu widgets above overlay
* vulkan: draw OSD above overlay
* menu_widgets: better cleanup
2019-05-11 06:26:40 +02: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
Brad Parker
c39765a5b7
set current screen orientation on startup so we don't reset back to normal if we started with a rotated display
2019-05-09 11:11:40 -04:00
Nathan S
4fad77304f
menu_widgets: better sanity check for threaded video wrapper ( #8722 )
2019-05-08 01:56:39 +02:00
twinaphex
7530436918
Better way to check if there is a resolution list - should
...
hide this entry on Android
2019-05-07 00:32:07 +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
68e91e3121
video_display_server_get_flags - conditional was wrong
2019-05-06 13:18:25 +02:00
twinaphex
0b426b2022
This should hide the CRT SwitchRes option on systems
...
where it's not supported
2019-05-05 16:33:25 +02:00
twinaphex
360f8189e0
(D3D8/D3D9) Screenshots don't seem to work, disabling
2019-05-05 14:25:16 +02:00
twinaphex
f349410082
(CTR/3DS) hide 'Take Screenshot' since screenshots are not implemented
...
anyway
2019-05-05 14:14:14 +02:00
twinaphex
3b110c0e3b
(D3D8) Add 'Screenshots supported'
2019-05-05 13:55:12 +02:00
twinaphex
c3d2b190f2
(dispmanx) Implement get_flags
2019-05-05 13:49:06 +02:00
twinaphex
a0b2d97ca3
Hide 'Take Screenshot' for video drivers that don't support
...
taking screenshots yet
2019-05-05 13:46:26 +02:00
orbea
9e9849170d
Silence unused function with --disable-menu.
...
gfx/drivers/gl_core.c:1529:13: warning: ‘gl_core_draw_menu_texture’ defined but not used [-Wunused-function]
static void gl_core_draw_menu_texture(gl_core_t *gl, video_frame_info_t *video_info)
^~~~~~~~~~~~~~~~~~~~~~~~~
2019-05-04 08:26:49 -07:00
natinusala
636f2ddb28
menu_widgets: implement the user setting
2019-05-03 21:25:20 +02:00
twinaphex
8b0f083a4e
(UWP) UWP cannot deal with relative paths, turn them into absolute
...
paths first before reading shader pass files
2019-05-02 18:24:54 +02:00
twinaphex
066643ac6e
(GX2) Buildfix
2019-05-01 00:11:43 +02:00
twinaphex
29b8ddef28
Move video_driver_menu_settings
2019-05-01 00:09:49 +02:00
twinaphex
39eadbab6f
Use string_concat in more performance critical areas
2019-04-30 21:17:51 +02:00
twinaphex
4b22522ae0
We need faster string concatenation for performance-critical
...
codepaths - this is being run every frame
2019-04-30 19:36:40 +02:00
twinaphex
bc2bdd5734
config_file_read not needed anymore
2019-04-30 13:37:10 +02:00
twinaphex
e76a8e6a75
(Apple/STB) Add Apple to STB unicode
2019-04-30 11:40:06 +02:00
twinaphex
c2f95940fb
(GL1) Whether GL1 driver has windowed mode support or not
...
depends on the video context driver and not the video driver itself
2019-04-29 07:21:37 +02:00
twinaphex
4c3e0d44b8
Revert "Start using string_is_equal_memcmp and"
...
This reverts commit 26d6aee1eb064a533534dbc158a2085a887658aa.
2019-04-29 04:04:33 +02:00
twinaphex
26d6aee1eb
Start using string_is_equal_memcmp and
...
string_is_equal_memcmp_fast
2019-04-28 17:23:11 +02:00
twinaphex
8784d21c74
(STB) WinRT/UWP can't deal with relative paths, so don't look for
...
osd-font.ttf
2019-04-28 07:24:34 +02:00
twinaphex
2c47d571aa
Use path_is_valid instead of filestream_exists when we only
...
need to know if a file exists on the filesystem
2019-04-27 14:01:50 +02:00
twinaphex
3e72c502a8
strlen optimizations :
...
- use STRLEN_CONST for constant strings, translates to sizeof
which should be computed at compile-time
- found some places where we are needlessly calling strlen two
times instead of just once
2019-04-27 04:21:10 +02:00