libretroadmin
5f94f36204
Explicit typecasts to bool
2023-08-16 17:10:59 +02:00
libretroadmin
be65a13102
Cut down on update_title code duplication
2023-07-16 08:00:49 +02:00
zoltanvb
e0a8d403f1
Support screen refresh rate with Vulkan KHR_Display context
2023-05-28 14:18:51 +02:00
libretroadmin
f96ff71416
(video context drivers) Cleanups
2023-02-21 09:49:46 +01:00
LibretroAdmin
724acc4eb9
(Vulkan) Use flags for vulkan_ctx_data
2022-10-30 23:07:07 +01:00
LibretroAdmin
0159c2f70f
gfx_ctx_vulkan_data - use flags instead of booleans
2022-10-30 22:03:36 +01:00
twinaphex
7dcfd7a038
retro_sleep buildfix
2020-12-21 21:11:59 +01:00
twinaphex
5f08605680
Refactor joypad drivers
2020-08-30 05:29:32 +02:00
twinaphex
197465c1ea
make_current is only ever used for GL, so move it out of
...
video_driver_load/unload_texture and into the inner GL
drivers
2020-07-27 10:26:13 +02:00
twinaphex
9ac9309991
Optimize call to vulkan_present
2020-07-20 04:45:12 +02:00
twinaphex
ef552ba768
Style nits/cleanups
2020-07-18 14:06:45 +02:00
twinaphex
7c66a7457a
Go for a consistent return value
2020-07-17 14:44:57 +02:00
twinaphex
318d5490cd
Cleanups
2020-07-17 00:50:06 +02:00
twinaphex
b8cc047d20
(context drivers) Cleanups
2020-07-16 03:40:52 +02:00
twinaphex
03c7403a05
Cleanups
2020-07-14 16:37:02 +02:00
twinaphex
4598f186a8
Get rid of video_frame_info dependency
2020-03-07 00:39:06 +01:00
twinaphex
4d7b627421
Get rid of video_info dependency for set_video_mode
2020-03-06 22:58:12 +01:00
twinaphex
e20151a048
Get rid of video_info struct for swap_buffers too
2020-03-06 22:29:51 +01:00
twinaphex
4aae293e3d
Remove is_shutdown from check_window
2020-03-06 20:29:31 +01:00
twinaphex
03bddff8e6
Cleanups of update_window_title functions
2019-09-22 03:05:06 +02:00
twinaphex
302e2fdc53
Move show memory details outside of the video context driver and
...
into retroarch.c - avoid lots of code duplication
2019-09-21 07:49:33 +02:00
twinaphex
65b4c2595e
Update set keyboard mapping code for input driver
2019-07-27 02:21:24 +02:00
twinaphex
453cc3dcbd
(video context driver) has_Windowed can be degraded to a simple
...
boolean variable
2019-07-26 06:23:20 +02:00
LazyBumHorse
c20c67bd3a
proper shader compatibility checks
...
- move shader flags from the video drivers to the context drivers
- rework config_load_shader_preset() from configuration.c into retroarch_load_shader_preset() in retroarch.c with proper compatibility check
- implicitly call retroarch_load_shader_preset() in retroarch_get_shader_preset() once per core/content life cycle
- use video_shader_is_supported() instead of video_driver_test_all_flags() where appropriate
- remove GFX_CTX_FLAGS_NONE because it is meaningless
2019-06-18 13:46:41 +02:00
twinaphex
ee3208ac39
Integrate video_driver.c into retroarch.c
2019-06-17 15:10:22 +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
twinaphex
b347b26d61
Reimplement shader flags being set - GL core should have only
...
Slang support and no GLSL, with the GL2 driver it is dependent
on the context driver
2019-03-13 14:06:50 +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
twinaphex
62bea6ad11
SOme header cleanups
2019-02-02 22:02:24 +01:00
orbea
e062b98088
Remove trailing blank lines.
...
find . -type f -exec sed -i '${/^[[:space:]]*$/d;}' {} \+
2019-01-17 19:39:38 -08:00
twinaphex
4738ef545c
Change interval type to signed int
2018-09-12 00:08:13 +02:00
Themaister
f2cae17021
Vulkan: Try to avoid creating swapchains redundantly.
...
Win32: Only make resize events when needed.
Do not create swapchain unless necessary.
Deal better with Windows WSI workarounds.
2018-07-01 16:21:09 +02:00
Themaister
c4ba8d26a0
Support multiple displays in VK_KHR_display.
2018-07-01 01:21:51 +02:00
Brandon Wright
533f898132
Add get refresh rate context function. Implement for X11 and Wayland.
2018-04-15 17:56:12 -05:00
twinaphex
16c1bd7a03
Create context get_api function
2018-03-01 21:16:54 +01:00
gblues
6904101c44
Clean up trailing whitespace
...
== DETAILS
Really simple code cleanup, because my editor flags trailing whitespaces
and it's pretty annoying.
2017-12-12 00:24:18 -08:00
Themaister
75b84b4f94
Support pending swapchain creation.
2017-12-09 17:28:20 +01:00
twinaphex
f546020429
Silence more warnings with C89_BUILD
2017-08-12 18:06:48 +02:00
twinaphex
b0398c1482
C89 build fixes
2017-05-19 03:34:53 +02:00
twinaphex
6247d6ea1d
Update check_window - we no longer need runloop.h inside context driver
2017-01-23 01:02:33 +01:00
twinaphex
1ea3bea0ee
Don't pass video_info by value to context_driver init function
2017-01-22 18:29:22 +01:00
twinaphex
96c8ca5a09
Header update #1
2017-01-22 13:40:32 +01:00
twinaphex
7fbd3fcfb6
Simplify has_windowed
2017-01-19 02:50:56 +01:00
twinaphex
b96e0bb820
Remove stub update_title functions
2017-01-19 01:58:44 +01:00
twinaphex
34da27c36b
Don't need 'frame_count' variable for check_window
2017-01-18 21:47:12 +01:00
twinaphex
a6a4808e94
Refactor frame monitor code
2017-01-18 17:41:27 +01:00
twinaphex
666534cc74
Grab settings pointer only once inside wrapper 'input_driver' function
2017-01-16 00:14:10 +01:00
twinaphex
1fa3475d79
Add parameter to video_context_driver's 'init' function
2017-01-13 16:52:07 +01:00
twinaphex
80f79130c0
Update set_video_mode context driver callback function
2017-01-11 06:35:50 +01:00
twinaphex
36fb6776b2
Don't grab settings pointer in video_monitor_get_fps function
2017-01-09 15:42:14 +01:00