8801 Commits

Author SHA1 Message Date
twinaphex
fdd09a8b06 Refactor task screenshot 2019-06-06 15:48:50 +02:00
twinaphex
280cec702b video_driver_supports_viewport_read should only check if
taking screenshots with the GPU backbuffer is supported,
move outside settings check to callee
2019-06-06 15:06:27 +02:00
twinaphex
43d27006ce Rewrite '== true' in our own code 2019-06-06 13:51:56 +02:00
twinaphex
6d17d11132 Rewrite '== false' to '!' for our own code 2019-06-06 13:50:39 +02:00
Ash Logan
24fba02a9f (GX2) Display menu texture at full opacity
rgui does its own transparency effects in the texture, so we don't have 
to add another 50% on that
2019-06-05 23:19:35 +10:00
Ash Logan
87be0d366f (GX2) Use correct pixelformat ordering for menu texture
This fixes up some backwards colours on wiiu, resulting in all the
themes looking lovely.
2019-06-05 23:18:09 +10:00
Twinaphex
faf612098f
Merge pull request #8912 from jdgleaver/remove-history-favourites
Add option to show 'remove playlist entry' only on history/favourites
2019-06-04 19:35:27 +02:00
jdgleaver
736ff13e35 (GEKKO) Add optional overscan correction 2019-06-04 15:50:47 +01:00
jdgleaver
80c9475fa4 Add option to show 'remove playlist entry' only on history/favourites 2019-06-04 11:29:51 +01:00
Ash Logan
3d40a3bcaf (GX2) Respect filtering settings for menu 2019-06-03 21:41:03 +10:00
Ash Logan
3461955dae (GX2) Scale menu to viewport size 2019-06-03 21:38:40 +10:00
Ash Logan
ab4ca8cf1b (GX2) Use correct menu coordinates to render menu 2019-06-03 20:35:46 +10:00
Twinaphex
cc22680480
Merge pull request #8897 from orbea/khr
Try using the udev or linuxraw input drivers for khr_display.
2019-06-02 09:07:35 +02:00
orbea
a9c9d0efc3 Try using the udev or linuxraw input drivers for khr_display.
When using vulkan with a khr_display context while the x input
driver is set RA will fail to start. This changes it to try setting
the udev and then linuxraw input drivers in such cases.

This code is copied from gfx/drivers_context/drm_ctx.c
2019-06-01 19:16:27 -07:00
orbea
44c62c8a37 Fix shaders init with glcore + kms.
See https://github.com/libretro/RetroArch/issues/8834
2019-06-01 13:32:06 -07:00
Twinaphex
5183160142
Merge pull request #8894 from LazyBumHorse/master
(wgl_ctx) set GFX_CTX_FLAGS_SHADERS_SLANG for glcore
2019-06-01 21:35:38 +02:00
LazyBumHorse
a6f042b320 wgl_ctx: set GFX_CTX_FLAGS_SHADERS_SLANG for glcore 2019-06-01 21:21:45 +02:00
twinaphex
4c5f9ee65b Cleanups 2019-05-31 17:34:32 +02:00
twinaphex
e680fab6e1 (Cheevos) Fix Cheevos
(Wayland) Hopefully finally fix EGL issues
2019-05-30 11:08:00 +02: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
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