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
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
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
Twinaphex
2324399fa8
Buildfix
2017-04-15 19:21:10 +02:00
twinaphex
e97682d4ca
Simplify cocoa_gl_ctx.m
2017-04-15 19:20:42 +02:00
Twinaphex
80017f7d71
(OSX) Try to free allocation at the end of get_selector
2017-04-15 19:13:21 +02:00
twinaphex
f9b75e7d76
CXX_BUILD buildfix
2017-04-14 03:40:58 +02:00
aliaspider
c04573233c
add missing extern "C" guard.
2017-04-11 18:54:26 +01:00
Jools Wills
b587018c56
hardcode struct for compatibility between various mali EGL headers
...
Old kronos headers used mali_native_window, ARM's headers used fbdev_window, and
latest mali-fbdev package on the odroid with newer khronos headers, the struct seems missing
2017-04-07 18:55:33 +01:00
twinaphex
3da08c9d9e
Cleanup egl_create_context
2017-03-30 02:39:08 +02:00
twinaphex
38f9b93885
Refine egl_init_context - DRM EGL contexts still fails
...
at eglGetDisplay
2017-03-30 02:31:51 +02:00
twinaphex
55a0b7d1a9
Create default_ortho static variable
2017-03-25 10:22:57 +01:00
twinaphex
7d79e367f9
(GL) Prevent implicit memset; some other general cleanups
2017-03-25 10:18:24 +01:00
twinaphex
d77c209c85
Cleanups
2017-03-25 10:13:18 +01:00
twinaphex
b97c8a183d
Update log
2017-03-24 01:38:23 +01:00
twinaphex
a72cdb77ad
Update logs
2017-03-24 01:33:22 +01:00
twinaphex
396857db9a
Update logs
2017-03-24 01:28:58 +01:00
twinaphex
755ceda4f9
More consistent log messages
2017-03-24 00:30:14 +01:00
twinaphex
1b27c3dec1
Make some log messages more consistent
2017-03-24 00:28:21 +01:00
twinaphex
7579d68272
Cleanups
2017-03-24 00:15:17 +01:00
twinaphex
62aa0c4415
Split up dbus functions into separate file
2017-03-24 00:12:21 +01:00
twinaphex
22672af217
Update logs
2017-03-23 23:59:08 +01:00
twinaphex
17235d70e2
Create set_coords_fallback for shader driver
2017-03-23 21:49:29 +01:00
twinaphex
571f899c3d
Don't include these headers
2017-03-23 20:09:24 +01:00
twinaphex
805470072b
Make desktop_mode a static variable inside x11_common.c
2017-03-23 20:07:56 +01:00
twinaphex
1ce3b12335
Split up xinerama functions into separate files
2017-03-23 19:59:11 +01:00
twinaphex
09e7186a4e
Start splitting up xinerama functions
2017-03-23 19:46:06 +01:00
twinaphex
4c0ce28e6e
(x11_common.c) Cleanups
2017-03-23 19:36:39 +01:00
Brad Parker
151feee826
add null pointer check, fixes startup crash with null video driver
2017-03-19 19:25:19 -04:00
twinaphex
17739435de
Cleanups
2017-03-07 12:59:58 +01:00
twinaphex
4118d0bbd2
Cleanups
2017-03-07 12:49:52 +01:00
twinaphex
f4ac760178
Cleanups
2017-03-07 12:37:11 +01:00
twinaphex
cb1c8df547
Simplify gl_glsl_set_coords
2017-03-07 12:35:29 +01:00
twinaphex
2be88a44ed
(XMB) Fix
2017-02-28 04:50:07 +01:00
Twinaphex
43c32aad3d
Silence more warnings
2017-02-26 22:16:03 +01:00
Twinaphex
216e7bcdaf
Silence more warnings on iOS
2017-02-26 21:46:19 +01:00
Twinaphex
b7b3b2cb5f
Try to prevent truckload of warnings on iOS
2017-02-26 10:33:03 +01:00
twinaphex
c215fef8dd
Updates
2017-02-21 18:58:03 +01:00
twinaphex
873a07030f
(Win32) Buildfix
2017-02-21 17:33:51 +01:00
twinaphex
d3e8e66b9f
Create task_push_load_content_with_current_core_from_companion_ui
2017-02-21 17:29:30 +01:00
twinaphex
d74f1a56f3
Create load_content_with_new_core_from_companion_ui
2017-02-21 16:30:47 +01:00
hunterk
a1124b8ded
(Vulkan) add bokeh menu shader for vulkan
2017-02-20 22:59:05 -06:00
Jean-André Santoni
b700a4e77b
(CoreText) Fix loading fonts from a path
2017-02-20 23:11:40 +01:00
twinaphex
4fb3315091
Change to 6 * 2
2017-02-20 21:52:49 +01:00
twinaphex
0d873b6da1
(Vulkan) Add fancy snow for Vulkan
2017-02-20 21:51:58 +01:00
twinaphex
962149ef63
(Vulkan) Add pipeline_snow
2017-02-20 21:25:40 +01:00
Hans-Kristian Arntzen
2d88530c98
Vulkan: Simple snow pipeline works.
...
Some other fixes too.
2017-02-20 20:53:59 +01:00
twinaphex
3cfaf47637
Avoid 'variable may be used uninitialized in this function' warnings
2017-02-19 18:59:02 +01:00
aliaspider
0d945a81d7
stb_unicode: use the same unicode handling code as the freetype
...
renderer, which supports codepoints > 0xFFFF.
2017-02-19 14:40:05 +01:00
aliaspider
461d6ed3e0
(WiiU) use the TV resolution instead of the gamepad resolution for
...
viewport settings. fixes #4655
2017-02-17 15:06:48 +01:00
twinaphex
5d8c191df7
Cleanup
2017-02-16 01:30:50 +01:00
Hans-Kristian Arntzen
6395907887
Vulkan: Find supported composite alpha in swapchain.
2017-02-13 16:30:02 +01:00
vanfanel
0b75671c21
DISPMANX: Disable triple buffering for now, for stability reasons.
2017-02-12 19:27:59 +01:00
Nicolas Adenis-Lamarre
9993435cf9
sdl2 renderer: remove the random flashing black borders
...
on the batocera linux distribution (https://github.com/nadenislamarre/batocera.linux ),
retroarch gives some flashing black borders sometimes when running a game.
It looks like sometimes the rendering is done without clearing the screen causing
this flashing effect.
Signed-off-by: Nicolas Adenis-Lamarre <nicolas.adenis.lamarre@gmail.com>
2017-02-08 22:31:26 +01:00
Brad Parker
373535f329
DOS: improve color accuracy and scaling, thanks to aliaspider
2017-02-08 00:17:12 -05:00
Brad Parker
0bdcdac2da
DOS: scale menu frame to fit screen
2017-02-05 15:23:38 -05:00
twinaphex
0383d20465
Revert "Revert "Merge lakka patch for DRM""
...
This reverts commit 4e0ed3d3d6
.
2017-02-05 11:06:51 +01:00
twinaphex
4e0ed3d3d6
Revert "Merge lakka patch for DRM"
...
This reverts commit 207ebe5e59
.
2017-02-05 11:05:55 +01:00
twinaphex
a06380e9ca
Fix ./configure --enable-python
2017-02-04 09:01:02 +01:00
Brad Parker
118308fbff
fix threaded menu parameters
2017-02-01 01:08:06 -05:00
Brad Parker
3dfe93b13f
DOS: swap red/blue in rgui menu frame
2017-01-31 18:10:27 -05:00
Brad Parker
2661d5556b
DOS: fix image scaling and colors for 16-bit core video
2017-01-30 13:51:41 -05:00
Brad Parker
343ac9fea7
DOS: scale 16-bit core video to fit screen
2017-01-29 00:48:22 -05:00
twinaphex
207ebe5e59
Merge lakka patch for DRM
2017-01-29 03:55:32 +01:00
twinaphex
bdaf00032e
Add comments
2017-01-26 02:49:42 +01:00
twinaphex
0d3703bc13
(Vita) Buildfix
2017-01-25 18:39:55 +01:00
twinaphex
0a7538f1b8
Create menu_display_get_fb_size
2017-01-25 18:32:16 +01:00
twinaphex
374fd57270
Remove the few performance counters that depend on runloop_ctl
2017-01-25 18:15:58 +01:00
twinaphex
cdfc89b975
use perfcounter plus functions for video_thread_wrapper too
2017-01-25 17:13:29 +01:00
twinaphex
a9164b7124
Try to use performance counter plus functions in most cases
2017-01-25 17:12:43 +01:00