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
7ec6dc0bde
(x_ctx.c) Cleanup
2017-01-04 09:44:08 +01:00
twinaphex
b243fec095
Simplif gfx_ctx_drm_queue_flip
2017-01-01 06:06:44 +01:00
twinaphex
77e5cdbfde
Revert "Rename runloop_msg_queue_push to video_driver_msg_queue_push"
...
This reverts commit ad7386913c
.
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
feae0823ce
Prevent some implicit memsets
2016-12-17 14:40:06 +01:00
Hans-Kristian Arntzen
4c99809cde
Vulkan: Fix VSync toggling on Windows.
...
Retarded bug, but haven't actually had access to a Windows machine until
now.
2016-12-17 12:06:43 +01:00
Twinaphex
b48d896c1e
Merge pull request #4249 from joolswills/mali_fbdev_ctx_warning
...
added stdlib.h - fixes warning with free / system
2016-12-15 20:01:18 +01:00
Jools Wills
4153785130
added stdlib.h - fixes warning with free / system
2016-12-15 18:59:20 +00:00
twinaphex
a5d4032d01
(X11) Cleanups
2016-12-15 12:37:14 +01:00
twinaphex
2c7af649cf
(Wayland) Cleanups
2016-12-04 03:54:11 +01:00
twinaphex
49c78ea2ff
(Drivers context) Cleanups
2016-12-04 03:51:12 +01:00
twinaphex
cd8fad87fc
(Mali) Cleanups
2016-12-04 03:48:05 +01:00
Brad Parker
f725b48555
starting to revert unicode changes
2016-12-03 00:15:29 -05:00
Brad Parker
5be05b3f61
Merge branch 'msvc'
2016-12-02 14:36:48 -05:00
twinaphex
5547b3fa3e
Rename some variables in wgl_ctx.cpp and cahnge prefix 'g_' to 'win32_'
2016-12-02 19:58:55 +01:00
Brad Parker
f64fb911b8
remove explicit unicode def/undefs
2016-12-02 12:46:32 -05:00
twinaphex
4ee5fcae47
Buildfixes
2016-12-02 01:51:26 +01:00
Brad Parker
367dea6723
unicode-ify a couple other windows files, start changing function names to W version explicitly
2016-11-29 20:32:24 -05:00
twinaphex
cd0bf8f31a
Prefer to use strlcpy instead of strcpy
2016-11-26 17:11:30 +01:00
twinaphex
88b1c3ed4c
Initialize char variables
2016-11-25 18:26:11 +01:00
Lioncash
5a5a54ef91
opendingux: Properly close #ifdef macro
2016-11-25 12:23:35 -05:00
twinaphex
e27940e646
Fixes Android 2.4 compatibility
2016-11-19 03:54:21 +01:00
Alcaro
a3e9addd80
Clean this one up a little
2016-11-14 17:23:38 +01:00
twinaphex
aaefa8d59e
(wayland_ctx.c) Prevent implicit memsets
2016-11-06 18:47:50 +01:00
twinaphex
695ff2a299
(sdl_gl_ctx.c) Prevent some implicit memsets
2016-11-06 18:44:55 +01:00
twinaphex
027a194346
(xegl_ctx.c) Style nit
2016-11-06 18:41:59 +01:00
twinaphex
8e941ee77a
(android_ctx.c) Prevent implicit memsets
2016-11-06 18:39:38 +01:00
twinaphex
219880a72b
Prevent implicit memsets for WGL context update_window_title
...
function
2016-11-06 18:36:58 +01:00
twinaphex
d4809d310a
Fix for previous bugged Xorg GL drivers
2016-11-03 13:25:44 +01:00
Logan McNaughton
200cf15044
Add egl debug context option for Android
...
According to https://www.khronos.org/registry/egl/extensions/KHR/EGL_KHR_create_context.txt
"The default value of EGL_CONTEXT_FLAGS_KHR is zero"
So this should keep it at 0 if debug=false, and set it to EGL_CONTEXT_OPENGL_DEBUG_BIT_KHR is debug=true
Fixes https://github.com/libretro/RetroArch/issues/3910
2016-10-31 15:28:45 -06:00
Brad Parker
d1d5584d18
update copyright
2016-10-27 11:47:10 -04:00
twinaphex
c3ab8800f4
Prevent implicit memsets
2016-10-21 05:57:40 +02:00
Higor Eurípedes
6f2cb9742d
(font) Create font_data_t and update font_driver_init_first()
2016-10-18 20:07:00 -03:00
Mikael Brunnhede
80dc3bec09
if 0 missed Vblank log printout code, since it may cause performance degradation.
2016-10-14 12:45:00 +02:00
Mikael Brunnhede
ca5e20bcaf
Remove missed Vblank log printout, since it may cause performance degradation.
2016-10-14 08:59:07 +02:00
twinaphex
3b1cf79c63
(X contexts) Cleanups
2016-10-08 14:37:26 +02:00
twinaphex
f698e0cfac
Add GL_CAPS_GLES3_SUPPORTED
2016-10-08 14:11:12 +02:00
twinaphex
1f99df6740
(GLX) Start adding hooks for MSAA
2016-10-08 14:00:06 +02:00
twinaphex
601aba72ea
Start adding GLX_SAMPLE_BUFFERS/GLX_SAMPLES to X context
2016-10-08 10:05:58 +02:00
twinaphex
91b1889873
(X11) Mouse input is no longer registered when we are on the
...
titlebar of the window or we are no longer inside the window
2016-10-03 06:50:00 +02:00
Logan McNaughton
4f002f2316
Specify EGL_DEPTH_SIZE for emscripten
...
Some drivers require it to provide a depth buffer.
2016-09-24 19:53:45 -06:00
twinaphex
83be6daa93
Try to prevent input driver from being set with Emscripten EGL context driver if HAVE_SDL2 is defined
2016-09-24 05:57:02 +02:00
twinaphex
0d49ed5877
drm_ctx.c - remove dead assignment
2016-09-22 20:56:42 +02:00
twinaphex
1b9a067bcc
Move code to apple_compat.h
2016-09-14 14:10:39 +02:00
twinaphex
6d7602d47f
Fix C89_BUILD
2016-09-11 16:43:28 +02:00
twinaphex
7290c7e3c2
(Emscripten) Buildfix
2016-09-11 16:39:13 +02: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
7a36ea7d1c
Silence warnings
2016-09-08 06:11:02 +02:00
twinaphex
671063aec2
Silence warnings
2016-09-06 23:17:16 +02:00
twinaphex
6f47289ba6
Start adding HAVE_CONFIG_H to gfx/drivers_context
2016-09-06 19:39:02 +02:00
Alcaro
23dc89168a
are those HAVE flags not set up there or something?
2016-09-06 19:21:33 +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
e106fd4374
Get rid of more general.h includes
2016-09-01 18:01:41 +02:00
twinaphex
b7fd9bef60
Add configuration.h
2016-09-01 17:34:24 +02:00
twinaphex
815c0eb3ee
Remove header includes
2016-09-01 05:46:10 +02:00
twinaphex
12cfb3bfce
Rewrite gfx_ctx_x_make_current a bit and turn it into a
...
static function
2016-08-31 15:24:56 +02: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
78337bae4b
EGL_DEPTH_SIZE should be set
...
Same reasoning as Android.
2016-08-30 15:32:25 -06:00
Logan McNaughton
1beb9e9ffd
EGL_DEPTH_SIZE should be set
...
EGL_DEPTH_SIZE needs to be set in order to have an FBO with a depth buffer. Some drivers aren't as strict about this but many are.
2016-08-30 15:29:17 -06:00
twinaphex
24075fd52f
(osmesa_ctx.c) Cleanups
2016-08-28 18:26:53 +02:00
twinaphex
5f4ee2567c
(sdl_gl_ctx.c) Cleanup
2016-08-28 18:20:31 +02:00
Alcaro
6cb656bcc9
Doublekill warning
2016-08-28 18:06:57 +02:00
Alcaro
c4d4c51a5f
Kill warning
2016-08-28 17:59:43 +02:00
Brad Parker
cf4bf344a9
add configuration option to toggle showing hidden files (default on), fixes issue #2769
2016-08-27 21:48:55 -04:00
twinaphex
035d006d62
Set attrib to EGL_OPENGL_ES3_BIT_KRH if g_es3 is true
2016-08-23 00:09:33 +02:00
Brad Parker
cc582db6fb
recursively scan directories for database content, fixes issue #3139
2016-08-21 00:59:41 -04:00
Logan McNaughton
47227c829b
GLES3 fixes
2016-08-06 21:45:35 -06:00
Higor Eurípedes
529031270b
(osmesa) Cleanup and minor fixes
2016-08-05 20:54:35 -03:00
twinaphex
a07ce85086
(OSMesa) No C++ comments
2016-08-02 02:19:06 +02:00
Higor Eurípedes
8752313961
(gfx) Add OSMesa context
2016-08-02 02:16:02 +02:00
twinaphex
6e644223a8
(D3D) Header fix pt. 3
2016-08-01 22:21:50 +02:00
twinaphex
d98fad0d98
Simplify free_drm_resources
2016-07-23 06:05:21 +02:00
twinaphex
22e35c553b
(PS3) Fixes issues where content would sometimes not be able to
...
be loaded for some sporadic reason
2016-07-22 10:41:56 +02:00
twinaphex
6ac8b64e3d
Put this around a HAVE_CG ifdef
2016-07-16 22:32:33 +02:00
Twinaphex
1586214876
(OSX) Fix text title inside window
2016-07-16 15:01:06 +02:00
amspady20
9adc8e34c0
Update xegl_ctx.c
...
Fixed include statment for frontend_driver.h
2016-07-08 12:30:53 -04:00
twinaphex
c66ada4e90
(FBDev) Cleanups
2016-07-08 14:43:13 +02:00
twinaphex
e1a5379886
(FBDev) Cleanups/unifications
2016-07-08 14:29:16 +02:00
twinaphex
bddd93bcaa
(EGL) Don't use g_egl_quit and egl_install_sighandler
2016-07-08 12:58:06 +02:00
twinaphex
d953be6397
(Wayland) Use signal handler code from frontend driver
2016-07-08 12:52:46 +02:00
twinaphex
8d5f34eeb9
Move signal handler code to frontend driver interface
2016-07-08 02:43:55 +02:00
twinaphex
76cc6fd8ec
Start implementing signal handler code once in frontend driver code
2016-07-08 02:38:33 +02:00
Alcaro
4b75304d15
You missed a spot, maister
2016-07-07 21:03:30 +02:00
Hans-Kristian Arntzen
df7870c2ea
Vulkan: Don't use sighandling on Win32 in khr_display.
...
Lots of the embedded backends do signal-handling like this
which is kinda awkward. This should be moved to frontend runloop or
something similar.
2016-07-07 20:34:42 +02:00
Hans-Kristian Arntzen
c561d8c4e6
Install sighandler for khr_display backend.
2016-07-07 19:32:09 +02:00
Hans-Kristian Arntzen
d382e1069e
Basic VK_KHR_display integration works! :)
2016-07-07 19:28:27 +02:00
Hans-Kristian Arntzen
471d06d133
Fix Wayland refresh rate logging.
2016-07-06 23:22:13 +02:00
twinaphex
3c7dc0a62e
Try to silence more Coverity warnings
2016-06-29 12:13:40 +02:00
twinaphex
a24d43c8fd
Add GFX_CTX_FLAGS_CUSTOMIZABLE_SWAPCHAIN_IMAGES display flag
2016-06-27 23:43:57 +02:00
Twinaphex
1e91689919
(iOS) Fix FPS reporting
2016-06-22 17:42:32 +02:00
twinaphex
8a8fadc5b2
Implement max swapchain images setting, implement it first for DRM/KMS context
2016-06-21 21:36:58 +02:00
Hans-Kristian Arntzen
e7b4f4fd4d
Fix various Android Vulkan issues.
...
Was getting bogus swapchain width/height causing weird issues.
Also, create swapchain after swap interval is correctly set.
2016-06-13 19:51:44 +02:00
Twinaphex
d178f90cc1
Remove this header
2016-06-08 08:19:06 +02:00
neville
f170856374
(OSX) Fixes
2016-06-08 07:41:59 +02:00
Twinaphex
f17b4fba05
Rename ui_cocoa_window.h
2016-06-07 16:47:48 +02:00
Hans-Kristian Arntzen
c374c9853d
Some potential fixes for Android Vulkan.
2016-06-07 01:43:14 +02:00
twinaphex
ea5f458fbd
Go through function pointer
2016-06-06 08:01:26 +02:00
Twinaphex
c4cea05399
Go through ui_window_t function pointer
2016-06-06 07:39:31 +02:00
twinaphex
ca6f539ff5
(iOS) Prevent unused variable 'buf' warning
2016-06-05 07:02:44 +02:00
twinaphex
80b194f491
(Cocoa) Cleanups
2016-06-04 08:20:39 +02:00
Twinaphex
860fb1d525
(Cocoa) Implement ui_window_cocoa_set_title
2016-06-04 08:09:55 +02:00
twinaphex
492818deed
(d3d_ctx.cpp) Use set_title function
2016-06-04 06:07:11 +02:00
twinaphex
d739e4771e
Use set_title function from wgl_ctx.cpp
2016-06-04 06:02:15 +02:00
twinaphex
f490b2b58a
Simplify win32_monitor_from_window
2016-06-04 05:54:33 +02:00
twinaphex
5eb43846da
Prevent explicit NULL dereferenced warnings
2016-06-01 04:14:48 +02:00
twinaphex
cf91d006b3
BB10 starts again
2016-05-31 05:16:35 +02:00
twinaphex
72d37e3917
Fix unreachable code
2016-05-24 21:48:32 +02:00
twinaphex
c17315cd27
(DRM) Prevent double free and prevent dereference before NULL check
2016-05-23 22:30:01 +02:00
Lionel Flandrin
b7d5c1d3e8
potential fix for AMD and GL core contexts
2016-05-20 20:12:41 +02:00
twinaphex
c104bc094b
(QNX) Fix egl_create_surface call
2016-05-19 20:07:03 +02:00
Twinaphex
85331042be
(QNX) Build fixes
2016-05-19 20:02:39 +02:00
twinaphex
0433d3ca6e
(WGL) Make context driver more modular
2016-05-16 08:34:56 +02:00
twinaphex
822d66f401
(WGL) Avoid some warnings
2016-05-16 08:25:14 +02:00
twinaphex
0d833c903a
Merge remote-tracking branch 'origin/vulkan-windows'
2016-05-16 07:51:01 +02:00
twinaphex
21438fc0af
Some buildfixes for GL_DEBUG
2016-05-12 02:58:09 +02:00
twinaphex
5845a9944d
Add more HAVE_THREADS ifdefs
2016-05-11 19:02:43 +02:00
twinaphex
b20d550cc4
Rename video context driver functions
2016-05-08 20:32:56 +02:00
Torsten Paul
1979ea52d2
Suppress screensaver only if requested by user settings.
2016-05-08 19:22:45 +02:00
Hans-Kristian Arntzen
66c4f608e6
Clear out rest of video_driver_ctl use.
2016-05-08 14:10:28 +02:00
Hans-Kristian Arntzen
d723411436
De ioctl video_driver.
2016-05-08 14:00:51 +02:00
Torsten Paul
ccb224043b
Initialize window name at window creation time ( fixes #1521 ).
...
The protocol error reported in #1521 is caused by two different issues.
First xdg-screensaver fails to parse decimal values for the window id
(https://bugzilla.redhat.com/show_bug.cgi?id=1274931 ). Using the hex
notation fixes this part.
Second, the script reads the WM_NAME property from the window which is
not yet available at this time. Calling x11_update_window_title() early
ensures the property is set when xdg-screensaver is run.
2016-05-06 00:17:47 +02:00
twinaphex
78cbf97e70
Another fix
2016-05-05 17:58:58 +02:00
twinaphex
493ad4dfb8
(WGL) Typo buildfix
2016-05-05 17:50:26 +02:00
twinaphex
60233d1abb
Add set_flags to context driver
2016-05-05 17:35:28 +02:00
twinaphex
400f50ddac
Comment this out for now until we fundamentally fix it
2016-05-05 05:58:40 +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
53fc458795
(Cocoa) Store idiom type inside unsigned variable
2016-05-02 14:53:23 +02:00
Twinaphex
fab90f4b96
(iOS) Avoid warning for unhandled CarPlay enum value
2016-05-02 01:55:02 +02:00
Hans-Kristian Arntzen
406f084c4b
Vulkan: Set g_inited in Windows.
2016-03-29 18:02:32 +02:00
Hans-Kristian Arntzen
e04bbfbae2
Vulkan: Add more logging ...
2016-03-29 17:57:13 +02:00
Hans-Kristian Arntzen
02736963bc
Vulkan: Implement get_context_data callback in Win32.
...
Also fix some potential crashes with dinput handling.
2016-03-29 15:50:12 +02:00
Hans-Kristian Arntzen
8ade7fb274
Vulkan: Attempt Windows backend support.
...
Completely bind since I cannot test myself, but compiles.
2016-03-29 15:50:12 +02:00
twinaphex
1b289c0f05
(libretro-common) Update
2016-03-24 04:23:17 +01:00
twinaphex
e41127459e
Rename 'filestream' functions
2016-03-24 04:09:25 +01:00
twinaphex
3720cf87e7
Rename retro_file to file_stream
2016-03-20 16:29:14 +01:00
twinaphex
93b7dc1bdd
(libretro-common) move 'lists' files to lists/
2016-03-20 14:53:54 +01:00
Alcaro
f8c31dd56a
No point checking this twice.
2016-03-18 17:19:30 +01:00
Alcaro
ba90c4afaf
Fix some use-after-free holes.
2016-03-18 17:18:45 +01:00
Alwin Garside
36117750af
Merge branch 'master' of https://github.com/libretro/RetroArch
2016-03-13 15:30:41 +01:00
Alwin Garside
97b60b1e20
Fixed emscripten build
2016-03-13 15:30:30 +01:00
twinaphex
8467ce114c
(Android) Followup to earlier commit
2016-03-12 08:53:27 +01:00
twinaphex
432d7a358a
(Android) Move Android-specific Moto G2 DPI workaround to android graphics context
...
driver
2016-03-12 08:52:29 +01:00
Jean-André Santoni
0863a8eb84
Reorder static functions in vivante context
2016-03-12 04:29:26 +07:00
Jean-André Santoni
a16ce4a146
Fix a typo in mali_fbdev_ctx
2016-03-10 01:50:30 +07: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
Christopher Bransden
2d0c02d21e
Fix compilation error:
...
gfx/drivers_context/vc_egl_ctx.c:591:13: error: static declaration of ‘gfx_ctx_vc_set_swap_interval’ follows non-static declaration
gfx/drivers_context/vc_egl_ctx.c:312:4
2016-03-02 21:31:56 +00:00
twinaphex
0f8e31cad3
(iOS) Use -1 instead of UIUserInterfaceIdiomUnspecified for backwards
...
compatibility
2016-03-02 17:25:13 +01:00
twinaphex
702d4f9e3a
(Android) Buildfix
2016-03-01 22:26:57 +01:00
twinaphex
efb1c88215
(opendingux_fbdev_ctx.c) Another ifdef
2016-03-01 22:23:40 +01:00
twinaphex
f3cc1a9b59
(opendingux_fbdev_ctx.c) More HAVE_EGL ifdefs
2016-03-01 22:23:17 +01:00
twinaphex
ac584330bb
(Android) Bugfix
2016-03-01 21:58:35 +01:00
twinaphex
1b0a9d0b1d
Backport Opendingux/GCW Zero patches courtesy of gama.coder
2016-03-01 21:50:23 +01:00
twinaphex
c44107949d
(Vulkan) Pass width and height to vulkan_surface_create
2016-03-01 18:35:41 +01:00
twinaphex
5f125bc1f6
(Android) Only need to pass window for Android
2016-03-01 18:22:17 +01:00
twinaphex
eaa0b08bc2
(Android) Hook up Vulkan for gfx_ctx_bind_api
2016-03-01 18:21:09 +01:00
twinaphex
b8c1e31c13
(Android/Vulkan) Start hooking up Vulkan for Android context driver
2016-03-01 18:16:22 +01:00
twinaphex
dc12f07a55
(mali_fbdev) Add some ifdefs
2016-03-01 07:17:57 +01:00
twinaphex
59ed4b939f
Cleanups
2016-03-01 07:09:55 +01:00
twinaphex
47fddf28e5
(Emscripten context) Cleanups
2016-03-01 07:07:56 +01:00
twinaphex
32c4f13761
(XEGL) Add HAVE_VG ifdefs
2016-03-01 06:56:41 +01:00
twinaphex
e938be3747
Have to rewrite EGL context code
2016-03-01 06:49:05 +01:00
twinaphex
ae6302ede2
(Android EGL context) Add missing break
2016-03-01 05:09:07 +01:00
twinaphex
00741d06fb
Add android_gfx_ctx_bind_hw_render
2016-03-01 05:08:18 +01:00
twinaphex
c5667d8253
(Android EGL context) Refactor more code
2016-03-01 05:07:11 +01:00
twinaphex
2480181469
(Android) Add android_api variable
2016-03-01 04:53:48 +01:00
twinaphex
481196c55c
Add some more ifdefs
2016-03-01 04:19:33 +01:00
twinaphex
f8f2f7d03c
Rename androidegl_ctx.c to android_ctx.c
2016-03-01 04:18:43 +01:00
twinaphex
0ec1c5ade5
Start adding HAVE_OPENGLES ifdefs to androidegl_ctx.c
2016-03-01 04:17:02 +01:00
twinaphex
65b628cf20
Cover more edge cases for crashes initiated by Zarch
2016-02-29 01:49:58 +01:00
Twinaphex
ea2094126b
(iOS) Buildfix(iOS) Buildfix(iOS) Buildfix(iOS) Buildfix(iOS) Buildfix(iOS) Buildfix(iOS) Buildfix(iOS) Buildfix(iOS) Buildfix
2016-02-26 14:25:57 +01:00
twinaphex
4dfed7e930
Cast to NSOpenGLContext *
2016-02-26 13:39:01 +01:00
twinaphex
dcefb740f2
Create glcontext_get_ptr
2016-02-26 13:36:12 +01:00
twinaphex
c4b80e0e44
Fix CXX_BUILD - doesn't like a variable being named 'template'
2016-02-23 17:11:30 +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
twinaphex
6f6ba98576
(DRM) Add more HAVE_EGL ifdefs
2016-02-23 01:34:28 +01:00
twinaphex
6429bb6a40
(X context) rename g_api to x_api
2016-02-22 13:29:32 +01:00
twinaphex
e688770e64
(SDL GL Ctx) Rename g_api to sdl_api
2016-02-22 13:26:26 +01:00
twinaphex
f8a2014b7e
(DRM) Rename g_drm to drm
2016-02-22 13:25:48 +01:00
twinaphex
aa4015837f
(DRM) DRM context driver should compile now without OpenGL
2016-02-22 13:04:34 +01:00
twinaphex
d537b6ee9f
Rename some files
2016-02-22 13:01:16 +01:00
twinaphex
1a5d2ce85c
Start divorcing DRM context from EGL
2016-02-22 12:59:13 +01:00
twinaphex
85804838ad
(DRM) More refactors
2016-02-22 12:56:16 +01:00
twinaphex
09fba6016b
(DRM) Cleanups
2016-02-22 12:50:45 +01:00
twinaphex
034f1769c9
(DRM) Cleanups
2016-02-22 12:43:18 +01:00
twinaphex
cc622b6905
Start getting rid of 'egl' namespace conventions in drm_egl context
...
driver
2016-02-22 12:37:38 +01:00
twinaphex
ef1feca097
Some C89_BUILD fixes
2016-02-22 12:25:41 +01:00
twinaphex
47b34b38d2
(DRM) More HAVE_EGL ifdefs
2016-02-22 12:10:23 +01:00
twinaphex
22a677b3a8
Don't use egl_common's 'api' variable anymore
2016-02-22 11:54:19 +01:00
twinaphex
fd7a62f5ca
(Wayland) Context driver doesn't use egl api anymore
2016-02-22 11:48:17 +01:00
twinaphex
a8a871bd4e
(DRM) Create drm_api
2016-02-22 11:47:18 +01:00
twinaphex
e4935d490c
(DRM) Uses its own sighandler and atomic quit variable
2016-02-22 11:46:08 +01:00
twinaphex
3bebc2284f
DRM gets its own interval variable inside data struct
2016-02-22 11:42:36 +01:00
twinaphex
b421bdf687
(drm_egl_ctx.c) More ifdefs
2016-02-22 11:37:37 +01:00
twinaphex
eceadcde2b
(drm_egl_ctx.c) Add HAVE_EGL/HAVE_OPENGL ifdefs
2016-02-21 23:49:50 +01:00
Hans-Kristian Arntzen
c4104ae37c
Wayland: Add metrics support.
2016-02-21 22:04:56 +01:00
Hans-Kristian Arntzen
52a515f0d3
Wayland: Add HiDPI awareness.
2016-02-21 21:35:06 +01:00
twinaphex
5f50034514
Refactor gfx_ctx_x_bind_api
2016-02-20 20:47:06 +01:00
twinaphex
481fa56f2c
Move some code
2016-02-20 06:36:32 +01:00
twinaphex
fde9f1ce2c
Start making GL optional (previously we assumed pretty much - hardware
...
context = GL) Still have the issue where the menu driver auto-switches
back to rgui instead of glui/xmb
2016-02-20 06:16:34 +01:00
twinaphex
11c1535fe3
Rename glx context driver to x
2016-02-20 05:48:45 +01:00
Hans-Kristian Arntzen
4540369fcb
Use correct cast for WSI_XLIB.
2016-02-19 22:25:51 +01:00
Hans-Kristian Arntzen
88ec0f522b
Vulkan: Add Vulkan backend to GLX context.
...
Also fixes some snags with libretro-test-vulkan.
2016-02-19 21:37:24 +01:00
twinaphex
11831a8b47
move shareable vulkan initialization code to vulkan_common.c
2016-02-19 14:38:15 +01:00
twinaphex
e1a1843edc
Start moving code to vulkan_common.h
2016-02-19 14:23:51 +01:00
twinaphex
2d5e10e840
Fix this
2016-02-19 13:17:03 +01:00
twinaphex
140d65b994
Setup specific WSI extensions
2016-02-19 13:11:30 +01:00
twinaphex
7ec1a6836c
(Vulkan WSI) Add Mir bits (we don't have Mir context driver yet
...
but whatever, add them all)
2016-02-19 13:06:38 +01:00
twinaphex
50efe142b9
Go through function pointers
2016-02-19 13:03:35 +01:00
twinaphex
eb1fe0476d
Start implementing xlib/xcb bits (for when these context drivers
...
get added)
2016-02-19 12:46:42 +01:00
twinaphex
14d39be698
Move code around
2016-02-19 12:30:18 +01:00
twinaphex
cebefa6ae1
Refactor vulkan_surface_create
2016-02-19 12:23:16 +01:00
twinaphex
db074e1c1a
Start implementing more WSI variants
2016-02-19 12:15:16 +01:00
twinaphex
353c421a5c
Add function pointer for vkCreateAndroidSurfaceKHR
2016-02-19 12:08:34 +01:00
twinaphex
6fcd097e4c
Start setting up vulkan_init_context for multiple WSI types
2016-02-19 12:04:56 +01:00
twinaphex
1c412eea5a
Start adding preliminary implementation for vulkan_surface_create
2016-02-19 12:00:52 +01:00
twinaphex
96c9687a8a
Create vulkan_surface_create
2016-02-19 11:55:57 +01:00
twinaphex
98990d6afc
Add more WSI enum types
2016-02-19 11:50:25 +01:00
twinaphex
7205d76ab0
Cleanups
2016-02-19 11:36:46 +01:00
twinaphex
c105fb22f3
Style nits
2016-02-19 11:29:15 +01:00
twinaphex
a61536ffdc
More refactors - create vulkan_destroy_context
2016-02-19 11:12:43 +01:00
twinaphex
6be1453d9c
Create vulkan_init_context
2016-02-19 11:04:51 +01:00
twinaphex
50a605e9db
Cleanups
2016-02-19 10:54:00 +01:00
twinaphex
1165d1c0b7
Create gfx_ctx_vulkan_data_t
2016-02-19 10:35:59 +01:00
twinaphex
02e3d6eba7
Only one Wayland context driver now
2016-02-19 07:58:14 +01:00
twinaphex
0b85951abe
(Wayland context) Cleanup some defines
2016-02-18 07:40:13 +01:00
twinaphex
a21444fc9a
(Wayland ctx) More improvements to Vulkan support
2016-02-18 07:29:20 +01:00
twinaphex
f5c5c82729
Add extra conditionals for all possible usecases (HAVE_EGL/HAVE_OPENGL/HAVE_OPENGLES/etc)
2016-02-18 07:18:58 +01:00
twinaphex
bd672b8b72
Add vulkan path in registry_handle_global
2016-02-18 05:31:24 +01:00
twinaphex
620fbe8976
Forgot to set this
2016-02-18 00:20:23 +01:00
twinaphex
eeada0c458
Start making general-purpose Wayland context driver that could work
...
for both Vulkan and EGL/GL
2016-02-17 23:22:54 +01:00
twinaphex
56a14ffc3c
Start adding HAVE_OPENGL/HAVE_VG ifdefs
2016-02-17 22:20:43 +01:00
Hans-Kristian Arntzen
adbf9fed16
Vulkan implementation.
2016-02-16 20:42:02 +01:00
twinaphex
cbf84b8d6e
Style nits
2016-02-14 16:39:27 +01:00
twinaphex
64e891124c
(ps3_ctx.c) Cleanups
2016-02-14 16:36:06 +01:00
twinaphex
b0995e6eee
(GLX) 80-char width limit style nits
2016-02-14 16:34:31 +01:00
twinaphex
e842ebbfc4
80-char width limit style nits
2016-02-14 16:31:39 +01:00
twinaphex
602c40c228
(bbqnx) Style nits
2016-02-14 16:29:58 +01:00
netux79
a2851ab70b
(GX) Resolution Saving's Video Corruption Fix.
...
Also some cleanups for the RA GX version included.
2016-02-12 16:58:59 -05:00
twinaphex
157eb71606
Use string_is_equal more
2016-01-20 06:16:55 +01:00