Commit Graph

37296 Commits

Author SHA1 Message Date
twinaphex
d722ac6c04 Cleanup 2017-04-18 05:57:38 +02:00
twinaphex
d5821c7f61 Update logs 2017-04-18 05:42:49 +02:00
twinaphex
f4071ba6ec Set axis_threshold 2017-04-18 05:11:44 +02:00
twinaphex
0a8f7b9ff2 Simplify CMD_EVENT_AUDIO_STOP/CMD_EVENT_AUDIO_START 2017-04-18 04:11:34 +02:00
twinaphex
e21df42ec1 Turn function static 2017-04-18 03:59:15 +02:00
twinaphex
8aa7ae168e Remove unused function 2017-04-18 03:54:53 +02:00
twinaphex
55dd4ac754 Simplifications 2017-04-18 03:52:01 +02:00
twinaphex
662755c899 Start simplifying audio driver start/stop 2017-04-18 03:49:35 +02:00
Twinaphex
4159dc43ed Merge pull request #4828 from kbrenneman/fix-eglGetDisplay-ifdef
Add #ifdefs for trying to use eglGetPlatformDisplay.
2017-04-17 10:19:30 +02:00
Kyle Brenneman
7baa75bee0 Add #ifdefs for trying to use eglGetPlatformDisplay.
Add #ifdefs for EGL_VERSION_1_5 and EGL_EXT_platform_base around the calls to
eglGetPlatformDisplay and eglGetPlatformDisplayEXT, respectively.

This avoids compiler errors when the EGL header files don't have the necessary
declarations for EGL 1.5 or EGL_EXT_platform_base.

Follow-up fix for https://github.com/libretro/RetroArch/issues/4790
2017-04-16 17:11:27 -06:00
twinaphex
d433d592e1 Do this workaround for now - for Android/Emscripten 2017-04-17 00:26:20 +02:00
Twinaphex
692caf19ce Merge pull request #4827 from fr500/master
android autoconf improvements
2017-04-17 00:23:39 +02:00
twinaphex
96d984b04d (egl_common.c) Cleanups/style nits 2017-04-17 00:04:08 +02:00
radius
a759cd9a19 allow swapping ok/cancel via autoconf parameter 2017-04-16 16:59:05 -05:00
radius
d236b2db58 try to override swap ok/cancel for remote controls 2017-04-16 16:51:54 -05:00
radius
d70d04c473 improve shield portable hack 2017-04-16 16:48:37 -05:00
Twinaphex
996bb990a0 Merge pull request #4826 from kbrenneman/fix-eglGetDisplay
Use eglGetPlatformDisplay when it's available.
2017-04-16 22:52:21 +02: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
5b9a17dc8f (gfx/scaler) Cleanups 2017-04-16 19:54:38 +02:00
twinaphex
f21bb4d0dc Simplify scaler_filter 2017-04-16 12:57:21 +02:00
twinaphex
0c5a87b1d7 Create scaler_ctx_scale_direct 2017-04-16 11:03:29 +02:00
twinaphex
9c7dd3068f Get rid of unnecessary wrappers around calloc/free 2017-04-16 10:39:42 +02:00
twinaphex
f14dbe081b Simplify scaler.c 2017-04-16 10:36:16 +02:00
twinaphex
8fd0033b43 Simplify scaler code 2017-04-16 10:29:22 +02:00
twinaphex
602ba5d8a6 scaler_filter - cleanups 2017-04-16 09:58:42 +02:00
twinaphex
9ee32a4dd6 Style nit 2017-04-16 09:50:53 +02:00
twinaphex
23bedbb3fb Turn libretro_get_environment_info into static function 2017-04-16 09:42:17 +02:00
twinaphex
c1e85bb504 Add to CHANGES.md 2017-04-16 08:45:29 +02:00
twinaphex
b43d0b4201 Simplify matrix_3x3 2017-04-16 08:36:04 +02:00
twinaphex
9b3519f850 Turn matrix_4x4_lookat into macro, remove matrix_4x4.c 2017-04-16 07:57:31 +02:00
twinaphex
257410d058 Turn matrix_4x4_multiply into macro 2017-04-16 07:55:02 +02:00
twinaphex
b7aefa71f8 Cleanups to matrix_3x3.c 2017-04-16 07:30:23 +02:00
twinaphex
8ac346be63 (libretro-common) Cleanups 2017-04-16 05:06:15 +02:00
twinaphex
a86e6975cc Update 2017-04-16 04:57:45 +02:00
twinaphex
8f7fc79cd7 Don't include retro_inline.h 2017-04-16 04:50:34 +02:00
twinaphex
e06006b436 Turn more matrix_4x4 functions into macros 2017-04-16 04:44:35 +02:00
twinaphex
d30686a78f Add math.h header include to matrix_4x4.h 2017-04-16 04:03:55 +02:00
twinaphex
32cebbbcba Turn more matrix_4x4 functions into macros 2017-04-16 04:00:20 +02:00
twinaphex
fbd6d0ebc6 Turn more matrix 4x4 functions into macros 2017-04-16 03:53:07 +02:00
twinaphex
809bce6cd9 Start turning most matrix 4x4 functions into macros 2017-04-16 03:45:07 +02:00
twinaphex
793930b352 Simplify matrix_4x4_identity 2017-04-16 03:34:33 +02:00
twinaphex
bd63327c3d Cleanup matrix_3x3_identity 2017-04-15 22:30:02 +02:00
twinaphex
a9492f6a44 Cleanups 2017-04-15 22:27:23 +02:00
twinaphex
b591d63e8b Silence unused variable warning 2017-04-15 20:20:47 +02:00
twinaphex
4b419ce125 (iOS) Fix 'release is unavailable; not available in automatic reference
counting mode'
2017-04-15 20:20:08 +02:00
Zoran Vuckovic
66f1c42fcc Add sync off support, improve format negotiation 2017-04-15 20:09:14 +02:00
Zoran Vuckovic
05a3f43057 Add sync off support, improve format negotiation 2017-04-15 20:09:08 +02:00
twinaphex
7f4b490fdb Prevent implicit memsets with struct video_viewport 2017-04-15 19:43:52 +02:00
twinaphex
e3fce81097 Use BRIDGE macro 2017-04-15 19:28:10 +02:00
twinaphex
1d97a81224 Optimize get_backing_scale_factor - store result of backing scale
factor query and use it for later function call invocations
2017-04-15 19:27:33 +02:00