Commit Graph

245 Commits

Author SHA1 Message Date
twinaphex 34662e8fe8 (Context drivers) Cleanups - use egl_get_proc_address directly instead
of wrapper functions
2020-07-18 17:22:24 +02:00
twinaphex e8e9a7b1d3 Get rid of multiple definition of wayland show mouse function 2020-07-17 13:59:13 +02:00
twinaphex f4bc332bcd (Wayland) Split up Wayland context driver into two - GL and Vulkan 2020-07-17 13:55:25 +02:00
twinaphex 748e3dccf2 (wayland) buildfixes 2020-07-14 16:20:15 +02:00
twinaphex b7c2cbc6b2 Move flush_wayland_fd to input/common/wayland_common.c 2020-07-14 16:17:43 +02:00
twinaphex 4009919eca (Wayland) Fix code duplication 2020-07-14 16:14:47 +02:00
twinaphex 3cb1b7b4bb (Wayland) Move more code 2020-07-14 16:09:13 +02:00
twinaphex 646d627a6c Move more Wayland code 2020-07-14 16:04:10 +02:00
twinaphex 1f4a27abba Split up wayland code 2020-07-14 15:56:52 +02:00
twinaphex 88f742894d Move wayland header to input/common 2020-07-14 14:32:37 +02:00
twinaphex 0d543baa4b (Drivers context) Move more static global state to structs 2020-03-07 18:21:49 +01: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 68664fdf1d update_title - we don't need video_info 2020-03-06 22:11:44 +01:00
twinaphex 4aae293e3d Remove is_shutdown from check_window 2020-03-06 20:29:31 +01:00
twinaphex d48d4385d9 (Wayland) Silence warning 2020-01-15 08:48:13 +01:00
twinaphex 53dbd69751 (EGL) Create egl_bind_api 2020-01-04 15:09:42 +01:00
twinaphex efdc07ab10 (Wayland) update_title function - simplify this function a bit 2019-09-22 12:14:49 +02:00
twinaphex 718d65d95d Take this out - too unsafe - fixes D3D12 driver 2019-08-29 12:30:56 +02:00
Sunderland93 8345f08f64 [Wayland] Remove deprecated wl_shell interface 2019-08-28 12:26:51 +04:00
twinaphex a623a611f1 (Wayland) Untested - apply the same for Wayland 2019-08-24 20:51:12 +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 e680fab6e1 (Cheevos) Fix Cheevos
(Wayland) Hopefully finally fix EGL issues
2019-05-30 11:08:00 +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
orbea 1e86824e96 wayland: Fix build.
Fixes https://github.com/libretro/RetroArch/issues/8614
2019-04-21 08:11:26 -07: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 7b3be5eddf (wayland) Fix some CXX_BUILD issues; possibly not all 2019-04-20 18:42:23 +02:00
Themaister ecc7bc0cf2 Fix compile error and flag errors on X/Wayland. 2019-03-13 18:27:44 +01: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
Vladimir Serbinenko 2d5715b807 wayland: fix keyboard handling.
This bug interferes with my BK-0010 libretro port.
2019-03-12 23:49:46 +01:00
Twinaphex 3b19fa9bad
Merge pull request #8226 from Sunderland93/master
[Wayland] Fix zxdg_shell_v6 detection
2019-02-08 19:35:47 +01:00
Aleksey Samoilov b609eaf83f
[Wayland] Fix zxdg_shell_v6 detection 2019-02-08 21:45:40 +04:00
orbea 28ff4b391a Clean up white space. 2019-02-03 16:00:50 -08:00
twinaphex 62bea6ad11 SOme header cleanups 2019-02-02 22:02:24 +01:00
orbea 5d56080312 Use the posix poll.h instead of sys/poll.h. 2019-02-01 09:58:04 -08:00
benutzer193 8e26b13578
If window is not present, create window 2019-01-26 17:49:20 +01:00
Sunderland93 cd35fb9440 Change prev_width and prev_height to unsigned int 2019-01-20 22:12:05 +04:00
Sunderland93 dba9781f26 Fix toggle fullscreen 2019-01-12 22:18:31 +04:00
Greg V b52a5ae664 Remove trailing whitespace in wayland_ctx.c
vim has been helpfully doing this for me every time I saved the file
and I've had to manually ignore these changes when committing.
Let's just commit this.
2019-01-11 20:37:59 +03:00
twinaphex 01b2b9c3a6 Buildfix 2019-01-09 01:01:03 +01:00
Twinaphex d2f7853d49
Merge branch 'master' into more-wayland 2019-01-08 21:45:43 +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
Greg V e36bf32490 Wayland: track current output and its scale
Ideally, we would track all outputs we're on and choose the highest DPI among them,
but that is pretty difficult. Let's at least use the latest output we've entered
as the current one.
2019-01-04 01:58:44 +03:00
Greg V 60c8f51009 Wayland: keep track of all outputs (displays)
Required to support multiple monitors with varying scales (HiDPI/LoDPI)
2019-01-04 00:37:02 +03:00
Greg V 056c7fffe1 Wayland: consistently store wl->width/height unscaled
No functional change
2019-01-03 23:43:36 +03:00
Greg V b7a13a02cb Wayland: use lowercase 'retroarch' as app_id
It should match the name of the .desktop file.
2019-01-03 22:16:55 +03:00