6432 Commits

Author SHA1 Message Date
twinaphex
2dfe441381 Get rid of video_info->frame_count 2017-04-23 19:21:12 +02:00
twinaphex
bf7616cf0e Revert "Move structs to gfx/video_thread_wrapper.h"
This reverts commit 12d0073d501a659c337b8c751f825cb69024c194.
2017-04-23 19:17:52 +02:00
twinaphex
12d0073d50 Move structs to gfx/video_thread_wrapper.h 2017-04-23 18:28:44 +02:00
twinaphex
7c6b93f58f More cleanups 2017-04-23 17:44:24 +02:00
twinaphex
3ec5816259 Rewrite RUNLOOP_CTL_SYSTEM_INFO_GET 2017-04-23 16:41:26 +02:00
twinaphex
aea00f1e00 Use memcmp instead of string_is_equal for more instances 2017-04-23 12:17:51 +02:00
twinaphex
953045f0d2 Update logs 2017-04-23 11:56:46 +02:00
twinaphex
0f2a6f3dd2 Don't use performance counters in GL/Vulkan/video thread wrapper
unless PERF_ENABLE is defined
2017-04-23 11:31:11 +02:00
twinaphex
caafee006c Get rid of performance counter for softfilter 2017-04-23 11:26:10 +02:00
twinaphex
a88284897b (D3D) Use C-style allocation for d3d->menu 2017-04-23 09:38:44 +02:00
twinaphex
f12ea0e1e3 Fix C89_BUILD 2017-04-22 09:37:36 +02:00
twinaphex
aa2c29ac8b (exynos_gfx.c) Use memcmp 2017-04-22 09:34:30 +02:00
twinaphex
6ebd4e139e Rewrite more string_is_equal call invocations as memcmp 2017-04-22 08:51:16 +02:00
twinaphex
d77da6b53d Fix bug in shader_glsl.c 2017-04-21 23:10:55 +02:00
twinaphex
284e6b2994 Replace more instances of string_is_equal 2017-04-21 22:51:04 +02:00
twinaphex
f9bc2d3783 Use memcmp instead of string_is_equal where possible for
better performance
2017-04-21 22:47:15 +02:00
twinaphex
e9e1db2945 Cleanups 2017-04-21 21:18:28 +02:00
twinaphex
bcce88e516 (D3D) Cleanup d3dx9anim.h header 2017-04-21 21:00:22 +02:00
twinaphex
82c62b1693 Use stdstring in more instances 2017-04-21 13:50:24 +02:00
twinaphex
637b26772c Directly initialize some variables 2017-04-20 09:46:03 +02:00
twinaphex
96a9730a08 Cleanups 2017-04-20 09:15:56 +02:00
twinaphex
d1ff5dd973 Header include cleanups 2017-04-20 09:14:20 +02:00
twinaphex
4df1ba690d (D3D) Header cleanups 2017-04-19 19:11:58 +02:00
twinaphex
d220ce5870 Update D3D9 2017-04-19 18:58:01 +02:00
Twinaphex
8eed4c38cf Merge pull request #4833 from kbrenneman/platform-enums
Define the platform enums if they aren't in eglext.h.
2017-04-19 16:13:07 +02:00
twinaphex
87c5b03bed Get rid of another pragma warning 2017-04-19 16:11:35 +02:00
twinaphex
d4ecc6398d (d3d9_cg_renderchain.cpp) Fix header includes 2017-04-19 16:11:00 +02:00
twinaphex
0b3e90dbf4 Header cleanups D3D9 2017-04-19 16:10:11 +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
twinaphex
27a6d68af9 Get rid of this pragma 2017-04-19 12:56:25 +02:00
twinaphex
d5d04babdd Cleanups 2017-04-19 12:55:41 +02:00
twinaphex
9ca27adb59 Simplify D3D9 headers 2017-04-19 12:46:07 +02:00
twinaphex
ca6eee21d9 Add header include for null_renderchain.c 2017-04-19 12:37:54 +02:00
twinaphex
0a33e6e8e4 Fix relative path header includes 2017-04-19 02:17:34 +02:00
twinaphex
b15cca82c7 Fix some relative path header includes 2017-04-19 02:15:47 +02:00
twinaphex
841adf04a5 Add header include 2017-04-19 02:14:51 +02:00
twinaphex
5bfc513af4 Buildfixes 2017-04-19 02:03:01 +02:00
twinaphex
00a59629aa Silence some more warnings 2017-04-19 01:57:00 +02:00
twinaphex
7790fc3647 MOve renderchain files to dir 2017-04-19 01:51:05 +02:00
twinaphex
32c91baca6 Move read_viewport and viewport_info to render_chain_gl_legacy.c 2017-04-19 01:25:34 +02:00
twinaphex
7104d329fd Update logs 2017-04-18 06:02:43 +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
96d984b04d (egl_common.c) Cleanups/style nits 2017-04-17 00:04:08 +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
0c5a87b1d7 Create scaler_ctx_scale_direct 2017-04-16 11:03:29 +02:00
twinaphex
257410d058 Turn matrix_4x4_multiply into macro 2017-04-16 07:55:02 +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