Tatsuya79
3b31dafa7e
glcore rotation fix for desmume
2019-06-06 20:11:08 +02:00
Tatsuya79
1cc307a879
glcore fix wrong rotation with HW cores
2019-06-06 17:05:07 +02:00
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
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 26d6aee1eb
.
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
twinaphex
1f53eea4ee
(Cocoa GL/GLES) Set this flag for OpenGLES
2019-04-26 02:27:48 +02:00
twinaphex
ff40ae2486
Refactor slang_preprocess.cpp - try to remove auto variables
2019-04-25 04:07:18 +02:00
twinaphex
a42b8f616f
(slang reflection) Cleanups - start getting rid of most auto
...
variables
2019-04-25 03:54:04 +02:00
twinaphex
0bae77d199
(Shaders Vulkan/GLcore) Cleanups
2019-04-25 02:37:13 +02:00
twinaphex
15afaedaa8
(Shaders vulkan/GLcore) Simplify
2019-04-25 02:34:26 +02:00
twinaphex
e40c3ec07b
(Shader Vulkan/GL core) Make code more the same
2019-04-25 01:42:56 +02:00
twinaphex
55b53929db
(shader GL/Vulkan) Cleanups
2019-04-24 23:45:57 +02:00
twinaphex
604403fe90
(shader_vulkan) Simplifications - start making shader_gl_Core
...
and shader_vulkan more alike
2019-04-24 23:13:42 +02:00
twinaphex
e42dae928e
(gl shader core) Simplifications
2019-04-24 22:20:48 +02:00
twinaphex
51a69dff44
(gl core shaders) Simplification
2019-04-24 22:10:21 +02:00
twinaphex
3225876f0b
(shader_gl_core.cpp) Simplify
2019-04-24 20:25:37 +02:00
twinaphex
a60844897f
(Shader GL core) Simplify some code
2019-04-24 04:24:48 +02:00
Twinaphex
e9bbc8d8dd
(gl_core.c) Remove unused variable
2019-04-24 03:49:34 +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
a6e18f23a8
(stb font unicode) Put MSVC check in again - MSVC 2005 and up get
...
Unicode STB font
2019-04-23 00:35:04 +02:00
twinaphex
31c7abce64
(MSVC 2003) Fonts now show up for GL
2019-04-22 23:30:24 +02:00
twinaphex
c4d99586ba
(MSVC 2003) Compile in STB unicode for MSVC 2003
2019-04-22 23:07:10 +02:00
twinaphex
04d062b3d4
(MSVC2003) Enable HAVE_OPENGL1; make HAVE_OPENGL1 independent from
...
HAVE_OPENGL
2019-04-22 22:48:23 +02:00
twinaphex
146b4ccc50
Use config_file_read in more places
2019-04-22 02:20:04 +02:00
twinaphex
317a443741
Use config_file_read in more places
2019-04-22 02:10:12 +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
orbea
1e86824e96
wayland: Fix build.
...
Fixes https://github.com/libretro/RetroArch/issues/8614
2019-04-21 08:11:26 -07:00
twinaphex
7372bafb44
Remove RARCH_CTL_SET_LIBRETRO_PATH
2019-04-21 06:03:02 +02:00
twinaphex
8e638f435a
(Wayland) wl_array_for_each macro fails with CXX_BUILD - have to
...
roll our own macro instead doing it right
2019-04-20 20:33:22 +02:00
twinaphex
499235cd40
(CXX_BUILD) Another buildfix
2019-04-20 19:55:50 +02:00
twinaphex
7b3be5eddf
(wayland) Fix some CXX_BUILD issues; possibly not all
2019-04-20 18:42:23 +02:00