twinaphex
953045f0d2
Update logs
2017-04-23 11:56:46 +02:00
twinaphex
6ebd4e139e
Rewrite more string_is_equal call invocations as memcmp
2017-04-22 08:51:16 +02:00
Kyle Brenneman
a4d19e174a
Define the platform enums if they aren't in eglext.h.
...
Add #defines for EGL_PLATFORM_X11_KHR, EGL_PLATFORM_WAYLAND_KHR, and
EGL_PLATFORM_GBM_KHR, if they aren't already defiend in eglext.h.
2017-04-19 07:08:05 -06:00
Kyle Brenneman
fcccc9dc0b
Use eglGetPlatformDisplay when it's available.
...
Added a platform parameter to egl_init_context. If the caller provides a
platform other than EGL_NONE, then it will try to use eglGetPlatformDisplay or
eglGetPlatformDisplayEXT instead of eglGetDisplay.
If neither eglGetPlatformDisplay or eglGetPlatformDisplayEXT is supported, then
it will still fall back to calling eglGetDisplay.
Updated the Wayland, X11, and DRM callers to use the correct platform enum.
Those are the callers that don't just pass EGL_DEFAULT_DISPLAY as the native
display handle.
Calling eglGetDisplay with any value other than EGL_DEFAULT_DISPLAY is
inherently unreliable, because it requires the EGL implementation to guess a
platform type based on a (void *) pointer. Some implementations might not
identify a particular platform, or worse, might guess wrong.
Fixes https://github.com/libretro/RetroArch/issues/4790
2017-04-16 14:19:40 -06:00
twinaphex
7f4b490fdb
Prevent implicit memsets with struct video_viewport
2017-04-15 19:43:52 +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
4ea31e99aa
Remove some header includes
2017-01-23 00:39:20 +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
Brad Parker
a54ea9ad88
show titlebar again for remaining drivers
2017-01-19 18:08:39 +00:00
Brad Parker
b44c8c9995
store buffer for window title, only update actual title when it changes
2017-01-19 00:33:52 -05: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
d48141041d
Pass joypad_info to input_state function callback - less
...
settings pointer grabbing
2017-01-10 17:40:21 +01:00
twinaphex
b9945f05f1
Pass joypad_info to input_joypad_analog
2017-01-10 03:53:57 +01:00
twinaphex
6376f2af68
Add rarch_joypad_info_t
2017-01-10 03:44:53 +01:00
twinaphex
36fb6776b2
Don't grab settings pointer in video_monitor_get_fps function
2017-01-09 15:42:14 +01:00
twinaphex
6b3cc9068d
Pass video_info to swap_buffers too
2017-01-09 14:59:15 +01:00
twinaphex
3d92ce140e
Pass video_frame_info_t to update_window_title
2017-01-09 14:42:07 +01:00
twinaphex
a90cf337c7
C buildfix
2017-01-09 01:56:36 +01:00
twinaphex
c87ef25133
CXX_BUILD fix
2017-01-09 01:54:15 +01:00
twinaphex
77e5cdbfde
Revert "Rename runloop_msg_queue_push to video_driver_msg_queue_push"
...
This reverts commit ad7386913cf2876d2bffd4bedf0284b23f1ed593.
2016-12-22 23:36:11 +01:00
twinaphex
ad7386913c
Rename runloop_msg_queue_push to video_driver_msg_queue_push
...
and move code to video_driver.c
2016-12-22 13:15:02 +01:00
Hans-Kristian Arntzen
c48bb6284e
Wayland: Cursor toggling.
2016-12-17 21:34:51 +01:00
Hans-Kristian Arntzen
313ac63c33
Make use of xkb_state_update_mask.
...
Fixes mod keys in Wayland it seems.
2016-12-17 20:42:48 +01:00
Hans-Kristian Arntzen
b2059dcb79
Implement basic Wayland keyboard and mouse.
2016-12-17 20:28:08 +01:00
twinaphex
2c7af649cf
(Wayland) Cleanups
2016-12-04 03:54:11 +01:00
twinaphex
aaefa8d59e
(wayland_ctx.c) Prevent implicit memsets
2016-11-06 18:47:50 +01:00
twinaphex
51b0e61712
Cleanups
2016-09-11 16:24:02 +02:00
twinaphex
7e83162c60
Remove general.h
2016-09-11 15:10:58 +02:00
twinaphex
6f47289ba6
Start adding HAVE_CONFIG_H to gfx/drivers_context
2016-09-06 19:39:02 +02:00
twinaphex
acd4dd527b
Header include cleanups
2016-09-05 18:31:32 +02:00
Brad Parker
0eb1777a1f
remove extra semicolons
2016-09-03 10:30:21 -04:00
twinaphex
aa15fb3f91
Update remaining video context drivers
2016-08-31 15:02:07 +02:00
Brad Parker
2afd72252c
make GLX context current when creating font textures with threaded video
2016-08-31 01:33:35 -04:00
Logan McNaughton
47227c829b
GLES3 fixes
2016-08-06 21:45:35 -06:00
twinaphex
d953be6397
(Wayland) Use signal handler code from frontend driver
2016-07-08 12:52:46 +02:00
Hans-Kristian Arntzen
471d06d133
Fix Wayland refresh rate logging.
2016-07-06 23:22:13 +02:00
twinaphex
5845a9944d
Add more HAVE_THREADS ifdefs
2016-05-11 19:02:43 +02:00
Hans-Kristian Arntzen
d723411436
De ioctl video_driver.
2016-05-08 14:00:51 +02:00
twinaphex
60233d1abb
Add set_flags to context driver
2016-05-05 17:35:28 +02:00
twinaphex
8136683ffc
(context drivers) Start exposing core GL flag
2016-05-05 05:46:00 +02:00
twinaphex
a0425dfb14
(Context drivers) Add get_flags function
2016-05-05 05:35:35 +02:00
twinaphex
64a77af881
Use RARCH_DISPLAY_CTL_HW_CONTEXT_GET directly instead of
...
going through video_driver_callback
2016-03-04 20:49:55 +01:00
twinaphex
b8c1e31c13
(Android/Vulkan) Start hooking up Vulkan for Android context driver
2016-03-01 18:16:22 +01:00
twinaphex
e938be3747
Have to rewrite EGL context code
2016-03-01 06:49:05 +01:00
Alcaro
7a6463a300
Add escape hatch if rarch (or the core) is in an infinite loop.
2016-02-23 16:11:39 +01:00