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
twinaphex
0e1d00a85c
(CocoaTouch) Cleanup
2016-01-18 22:13:35 +01:00
Twinaphex
c68e824eb9
This AVFoundation code needs to work for both iOS and OSX
2016-01-18 13:19:28 +01:00
Phillip Ponson
6ca58a4d6e
iOS: Refactoring support for background Music.app.
2016-01-17 19:51:28 -06:00
twinaphex
dd239fc85d
Add HAVE_AVFOUNDATION ifdefs
2016-01-16 22:02:49 +01:00
Phillip Ponson
48b99b1f48
Fixing a build issue. syntax errors. 😣
...
.
'
2016-01-16 12:48:33 -06:00
pponso1
212337c7c1
iOS audio support
2016-01-16 11:57:00 -06:00
twinaphex
fcc8c5dae7
This is still necessary unfortunately
2016-01-16 16:46:20 +01:00
twinaphex
9f27b9b56d
Remove another compile-time ifdef
2016-01-16 16:22:55 +01:00
Twinaphex
fbdc30e7bb
(OSX) Buildfix
2016-01-16 16:21:39 +01:00
twinaphex
b4687fdb2b
Check if convertRectToBacking is available at runtime instead
...
of compile-time
2016-01-16 16:20:19 +01:00
twinaphex
a5c83da839
Simplify cocoagl_gfx_ctx_get_video_size
2016-01-16 16:14:25 +01:00
Twinaphex
c824f7af15
get_video_size - don't need screen pointer anymore
2016-01-16 13:31:43 +01:00
twinaphex
6a1d423700
(OSX) Cleanup
2016-01-16 13:30:38 +01:00
twinaphex
14ec006412
Cleanup
2016-01-16 13:29:33 +01:00
neville
9a38ec28b0
Get rid of compile-time ifdefs inside get_chosen_screen
2016-01-16 13:23:00 +01:00
Twinaphex
2c42ad3c96
(cocoa_gl_ctx.m) Cleanups
2016-01-16 12:12:07 +01:00
Twinaphex
dfe79c3fcd
setWantsBestResolutionOpenGLSurface - determine at runtime if we can call
...
this instead of compile-time
2016-01-16 12:09:50 +01:00
Twinaphex
21dc363e0f
backingScaleFactor - cut down on compile-time ifdef - attempt to detect it at runtime
2016-01-16 11:58:36 +01:00
Twinaphex
64fe30281c
Cleanup
2016-01-16 11:51:24 +01:00
Twinaphex
302089e8d8
Cleanup
2016-01-16 11:50:44 +01:00
Twinaphex
5a4db266e8
(OSX) Change get_from_selector
2016-01-16 11:49:10 +01:00
Twinaphex
5cc163a10b
(OSX) Cleanup
2016-01-16 11:40:48 +01:00
Twinaphex
794bcc53c3
(iOS) Buildfix
2016-01-15 23:15:49 +01:00
twinaphex
09a183df3f
(OSX) Create get_backing_scale_factor
2016-01-15 22:15:23 +01:00
twinaphex
e920e5f1b9
Add early return in case settings is NULL
2016-01-15 15:38:21 +01:00
twinaphex
039e2acc49
Make switch stop complaininig
2016-01-15 14:08:38 +01:00
twinaphex
5f513d2af0
(cocoa_gl_ctx.m) Cleanups
2016-01-15 14:03:56 +01:00
Twinaphex
58ebbdeada
Attempt to prevent race issue in get_chosen_screen
2016-01-15 13:58:16 +01:00
Twinaphex
26bcfa8d89
Revert "Refactor function get_float_from_selector - obsolete"
...
This reverts commit 1b2632e7fa
.
2016-01-15 13:03:40 +01:00
twinaphex
1b2632e7fa
Refactor function get_float_from_selector - obsolete
...
hardcoded ifdef
2016-01-15 12:53:33 +01:00
Twinaphex
50a7686931
(iOS) Fix ARC issues
2016-01-14 07:03:35 +01:00
twinaphex
3eb6ef0251
(OSX 10.6) Buildfix
2016-01-13 21:21:11 +01:00
twinaphex
54f46f4ee3
Update headers
2016-01-10 04:41:52 +01:00
twinaphex
3a30649876
Pass through data variable to win32_window_create correctly
2016-01-08 05:13:10 +01:00
twinaphex
5a60055aa9
Make curD3D a static variable
2016-01-07 01:18:51 +01:00
twinaphex
e5f327edda
N/A
2016-01-07 01:11:26 +01:00
twinaphex
9f616cca07
Check if device is NULL inside d3d_set_resize
2016-01-07 01:10:37 +01:00
twinaphex
3b8932b302
Turn returntype of set_resize into bool
2016-01-07 00:58:33 +01:00
twinaphex
38a58a2a8a
Call d3d_restore from d3d.cpp
2016-01-07 00:38:42 +01:00
twinaphex
c2d7cbe18b
Use string_is_empty
2015-12-26 07:59:15 +01:00
twinaphex
466953fae8
remove this
2015-12-22 21:59:24 +01:00
Higor Eurípedes
f6729c0b74
(d3d_ctx) Return video_data as the context data
...
The d3d context shares the d3d video driver data.
2015-12-20 19:12:14 -03:00
Jean-André Santoni
6f5d09b235
(Mali) Fix mali fbdev build
2015-12-15 10:23:02 +07:00
twinaphex
e1331fa6a5
CXX_BUILD fixes
2015-12-10 14:05:56 +01:00
twinaphex
902997c579
Remove gfx_ctx_data_get_ptr
2015-12-09 09:05:55 +01:00
Higor Eurípedes
1f51a0d948
(videocore) Fix build
2015-12-08 19:34:26 -03:00
Higor Eurípedes
39b238151f
(androidegl_ctx) Lock android_app before accessing it
2015-12-08 19:26:32 -03:00
Higor Eurípedes
7dcecc500f
(cocoa) Fix warning
2015-12-08 17:33:59 -03:00
Higor Eurípedes
c2d4da4660
(mali) Convert to new egl common api
2015-12-08 17:33:59 -03:00
Higor Eurípedes
9e90efacbb
(videocore) Convert to new egl common api
2015-12-08 17:33:59 -03:00
Higor Eurípedes
98baf27a99
(vivante-fbdev) Convert to new egl common api
2015-12-08 17:33:59 -03:00
twinaphex
77f1bbdb26
(D3D) Buildfix
2015-12-08 20:55:19 +01:00
twinaphex
a5d0770268
(PS3) Get rid of gfx_ctx_free_data
2015-12-08 19:56:43 +01:00
Higor Eurípedes
5b7069b377
(bbqnx_ctx.c) Convert to the new egl common api
2015-12-08 14:56:46 -03:00
Higor Eurípedes
3a7f93d459
(android_ctx.c) Use the new egl common api
2015-12-08 14:30:45 -03:00
Higor Eurípedes
1cf574cfbe
Move most of egl_common globals into egl_ctx_data_t
2015-12-08 13:54:03 -03:00
Higor Eurípedes
c257374dcd
(video_context_driver) Make better use of the data argument in context calls
2015-12-08 12:19:08 -03:00
twinaphex
a95762e5cb
Create egl_has_config
2015-12-08 14:42:02 +01:00
twinaphex
0f94353b28
Create egl_get_native_visual_id
2015-12-08 14:38:06 +01:00
twinaphex
2d55dc3bda
Complete namespace changes
2015-12-07 15:32:14 +01:00
twinaphex
c0a1a6a3fe
Move system->shutdown to runloop_ctl, turn it into a local
...
static variable
2015-12-04 12:44:12 +01:00
twinaphex
6c6beca430
Create x11_save_last_used_monitor
2015-12-01 08:49:35 +01:00
twinaphex
c4354ff429
Create g_x11_screen
2015-12-01 08:42:33 +01:00
twinaphex
1d44619f41
Move driver->video_cache_context and driver->video_cache_context_ack
...
to video_driver.c
2015-11-29 20:44:51 +01:00
twinaphex
0044d853f8
Move display_type / display_window etc all to gfx/video_driver.c -
...
no more dependencies on driver_t
2015-11-29 01:12:49 +01:00
twinaphex
ef3cbed13e
Create separate WndProc for GL and D3D
2015-11-28 21:50:28 +01:00
twinaphex
8ce6582fa4
Create drm_wait_flip
2015-11-28 17:16:19 +01:00
twinaphex
a8d868f187
(Android) Implement 'focused' callback for androidegl_ctx
2015-11-27 20:38:29 +01:00
twinaphex
5c28a8389a
(DRM/EGL) No need to grab context data pointer anymore
2015-11-26 19:12:47 +01:00
twinaphex
7c52d380bf
Move memsetting of fds and evctx to drm_common.c
2015-11-26 18:59:36 +01:00
twinaphex
00cf57eac0
Header include drm_common.h already includes essential
...
DRM headers
2015-11-26 18:57:29 +01:00
twinaphex
9c2813a757
Turn a bunch of variables static
2015-11-26 18:49:58 +01:00
twinaphex
25680ec8a6
Create more DRM common functions
2015-11-26 18:47:07 +01:00
twinaphex
60ead8f6b1
Create drm_get_encoder
2015-11-26 18:23:51 +01:00
twinaphex
0225e2e65a
Cleanups
2015-11-26 18:18:44 +01:00
twinaphex
2693e16f1e
(Exynos/DRM EGL context driver) Unify more code
2015-11-26 18:05:27 +01:00
twinaphex
7e08f5d908
Create drm_free
2015-11-26 17:34:35 +01:00
twinaphex
e06121b661
Move more common code to drm_common.c
2015-11-26 17:30:01 +01:00
twinaphex
8f9c652693
Add gfx/common/drm_common.c and gfx_common/drm_common.h
2015-11-26 17:12:06 +01:00
twinaphex
866501703f
Cleanups
2015-11-23 21:28:54 +01:00
twinaphex
f98cda3c33
video_context_data only accessed now from one file
2015-11-23 21:06:15 +01:00
twinaphex
1f87c6d9e2
Dont' try to access driver->video_context_data directly
2015-11-23 20:56:06 +01:00
twinaphex
41b46975f9
Cleanups - go through standard functions
2015-11-23 20:45:09 +01:00
twinaphex
86504392b9
Create video_driver_set_size
2015-11-23 12:54:15 +01:00
twinaphex
b434689d39
(Win32) Buildfixes
2015-11-23 12:14:53 +01:00
Twinaphex
5974f81ed8
(OSX) Buildfixes
2015-11-23 12:07:00 +01:00
twinaphex
85dbeeb8f9
No more video_monitor.h
2015-11-22 13:32:46 +01:00
twinaphex
aad6a3a2a6
CXX_BUILD - buildfixes
2015-11-21 12:32:12 +01:00
twinaphex
b69caea6c1
Set g_egl_inited to false after egl_destroy
2015-11-21 09:39:25 +01:00
twinaphex
0f33722f5d
Refactor Wii per-game resolution mode to be somewhat generic
2015-11-21 08:56:24 +01:00
twinaphex
de44911092
(PS3/Wii) Reimplement video resolution code
2015-11-21 08:39:46 +01:00
twinaphex
ad75d00bd4
Implement get_video_output_size
2015-11-21 08:18:14 +01:00
twinaphex
1c3ba76e67
(PS3) Implement video output get prev/next
2015-11-21 07:54:42 +01:00
twinaphex
60aad558d8
(PS3) Cleanups
2015-11-21 07:43:53 +01:00
twinaphex
658c5d4ceb
(PS3) Cleanups
2015-11-21 07:32:08 +01:00
twinaphex
7c10d0f796
(vc_eg_ctx.c) Move header below egl_common.h
2015-11-20 16:58:31 +01:00
twinaphex
1686eb8f7f
(vc_egl_ctx.c) Cleanup
2015-11-20 14:34:40 +01:00
twinaphex
990bffcc27
(wgl_ctx.cpp) Cleanups
2015-11-20 14:32:46 +01:00
twinaphex
e466995c70
(xegl_ctx.c) Get rid of forward declaration
2015-11-20 14:31:09 +01:00
twinaphex
c6e962a43e
(bbqnx) Use g_egl_api
2015-11-20 14:30:32 +01:00
twinaphex
1d4b5691c9
(DRM/EGL) Add goto error
2015-11-20 13:50:17 +01:00
twinaphex
259674fee2
(vivante fbdev) Add function pointer for rendering hardware contexts
2015-11-20 13:46:41 +01:00
twinaphex
2f151896eb
use egl_create_surface everywhere
2015-11-20 13:43:05 +01:00
twinaphex
fc0f5f8889
Create egl_create_surface
2015-11-20 13:36:16 +01:00
twinaphex
1101bb34d3
Create g_egl_api/g_egl_inited
2015-11-20 13:27:31 +01:00
twinaphex
3c842823bc
(Mali/Wayland) Use egl_create_context
2015-11-19 18:36:24 +01:00
twinaphex
01614bb7f4
Start using egl_create_context in more drivers
2015-11-19 18:29:15 +01:00
twinaphex
f84c58e777
(Android) Start using egl_create_context
2015-11-19 18:25:19 +01:00
twinaphex
033e0ac3ad
(drm_egl_ctx.c) Start using egl_create_context
2015-11-19 18:18:44 +01:00
twinaphex
c1e61f7ff0
Start using egl_init_context for most GLES context drivers
2015-11-19 18:10:59 +01:00
twinaphex
4c1ac3222c
Start using egl_init_context in more drivers
2015-11-19 18:01:37 +01:00
twinaphex
6048025544
(Android) Use egl_init_context too
2015-11-19 17:55:49 +01:00
twinaphex
ad260fcb7b
Create egl_init_context
2015-11-19 17:52:25 +01:00
twinaphex
512585f673
(DRM/EGL) Cleanups
2015-11-19 17:02:02 +01:00
twinaphex
64bfea11f6
(DRM/EGL) Cleanups
2015-11-19 16:46:38 +01:00
twinaphex
a0ac41f49f
(DRM/EGL) Cleanups
2015-11-19 16:32:58 +01:00
twinaphex
b35c5e244f
(DRM/EGL) Cleanups
2015-11-19 16:06:16 +01:00
twinaphex
ee3f625a83
Remove signal includes
2015-11-19 15:57:09 +01:00
twinaphex
80369a8823
Create egl_install_sighandlers
2015-11-19 15:55:57 +01:00
twinaphex
ad311d3bb0
Set g_egl_quit to 0 at end of egl_destroy
2015-11-19 15:49:49 +01:00
twinaphex
2fe6686ced
Create g_egl_quit
2015-11-19 15:47:30 +01:00
twinaphex
34543c3f1c
(vc_egl_ctx.c) Remove g_quit variable
2015-11-19 15:43:10 +01:00
twinaphex
5bf5c7d790
(mali_fbdev) Cleanup
2015-11-19 15:40:13 +01:00
twinaphex
55591e97c3
(DRM/EGL) Nit
2015-11-19 15:39:25 +01:00
twinaphex
e84d77bf64
(BBQNX) Cleanup
2015-11-19 15:37:43 +01:00
twinaphex
774542fc62
Simplify egl_destroy
2015-11-19 15:34:40 +01:00
twinaphex
36b278fb84
(DRM/EGL) Use g_interval variable
2015-11-19 15:32:02 +01:00
twinaphex
46fb98e21c
Create egl_get_video_size
2015-11-19 15:21:04 +01:00
twinaphex
5aedc1c4ca
Create egl_set_swap_interval
2015-11-19 15:16:37 +01:00
twinaphex
00be95159d
Create x11_event_queue_check
2015-11-19 15:05:17 +01:00
twinaphex
21124ec80a
(GLX) Simplification
2015-11-19 15:00:12 +01:00
twinaphex
7c9f357c1b
Simplify glx_wait_notify
2015-11-19 14:59:26 +01:00
twinaphex
599f68bf63
(DRM/EGL) Always focused
2015-11-19 14:48:35 +01:00
twinaphex
200c42e7ee
No longer need context data struct for Android
2015-11-19 14:43:22 +01:00
twinaphex
7b39fd50a3
Create egl_swap_buffers
2015-11-19 14:38:55 +01:00
twinaphex
e2c82900d1
Create egl_bind_hw_render
2015-11-19 14:32:39 +01:00
twinaphex
6dee1fcc92
Move g_use_hw_ctx to egl_common.c
2015-11-19 14:28:21 +01:00
twinaphex
9705dc8d04
Create egl_destroy
2015-11-19 14:23:14 +01:00
twinaphex
36579ae58d
Start moving identical state variables to egl_common.c
2015-11-19 14:09:51 +01:00
twinaphex
39ad1c2f86
(vc_egl_ctx.c) Put variable declarations at top
2015-11-19 13:29:46 +01:00
twinaphex
ffbb9d0481
Create generic egl_get_proc_address
2015-11-19 13:24:51 +01:00
twinaphex
50f8634902
Add gfx/common/egl_common.c
2015-11-19 13:16:43 +01:00
twinaphex
476f390f55
remove some include headers
2015-11-19 12:25:53 +01:00
twinaphex
655520aeec
Create x11_install_quit_atom
2015-11-19 12:18:35 +01:00
twinaphex
e3aba24e42
(X11) Code de-duplication
2015-11-19 12:05:32 +01:00
twinaphex
50cd3bc185
Create x11_colormap_destroy
2015-11-19 11:55:05 +01:00
twinaphex
48495980ba
Create x11_window_destroy
2015-11-19 11:49:09 +01:00
twinaphex
ce2b973beb
Create x11_input_ctx_new/x11_input_ctx_destroy
2015-11-19 11:27:41 +01:00
twinaphex
56e5d0bf3e
Create g_x11_xim
2015-11-19 11:24:56 +01:00
twinaphex
f868cbab31
Create x11_update_window_title
2015-11-19 11:18:57 +01:00
twinaphex
d23557d38e
Start restricting scope of g_x11_has_focus
2015-11-19 11:13:59 +01:00
twinaphex
f364ff0649
Create x11_connect
2015-11-19 11:07:52 +01:00
twinaphex
95a5818ccb
Create x11_install_sighandlers
2015-11-19 11:04:17 +01:00
twinaphex
dd3e7f9ddc
No more wrapper function for x11_check_window
2015-11-19 10:35:15 +01:00
twinaphex
b50152902a
No wrapper functions anymore for x11_get_video_size
2015-11-19 10:29:26 +01:00
twinaphex
9563f40aeb
Cleanups
2015-11-19 10:25:07 +01:00
twinaphex
ba1dd31995
Create x11_has_focus
2015-11-19 10:13:09 +01:00
twinaphex
4be8f14618
(GLX) Cleanup
2015-11-19 10:10:22 +01:00
twinaphex
cbaca1bfe1
Create x11_get_video_size
2015-11-19 10:09:19 +01:00
twinaphex
5283c4c13c
(GLX) Uses x11_check_window now too
2015-11-19 10:05:54 +01:00
twinaphex
ac6813dc7f
Create x11_check_window
2015-11-19 10:02:53 +01:00
twinaphex
025db14dcf
(XEGL/GLX) Start using the same global state variables
2015-11-19 10:00:25 +01:00
twinaphex
3f23a23dea
move g_has_focus to x11_common.c
2015-11-19 09:51:20 +01:00
twinaphex
c9dc5cf71d
Start moving some global variables for X11 context drivers
...
to x11_common.c
2015-11-19 09:49:37 +01:00
twinaphex
9207acd6f2
Expand win32_window_init
2015-11-19 08:30:37 +01:00
twinaphex
9376e8f019
(GLX) Cleanups
2015-11-18 14:34:04 +01:00
twinaphex
7e16e417b4
(Win32) Start using win32_shader_dlg.c for both D3D and GL
2015-11-18 14:19:35 +01:00
twinaphex
73990929e5
(WGL) Fix
2015-11-17 23:14:59 +01:00
twinaphex
4b00e24617
(D3D) Buildfix
2015-11-17 11:33:24 +01:00
twinaphex
bb99dc4e38
Create win32_window_reset
2015-11-17 10:16:16 +01:00
twinaphex
ab99c8ff8d
(Win32) Buildfix
2015-11-17 10:13:34 +01:00
twinaphex
9528738a09
Set g_quit outside of wgl_ctx.cpp
2015-11-17 10:12:23 +01:00
twinaphex
4d7daf5dfd
g_hwnd no longer used outside
2015-11-17 09:44:26 +01:00
twinaphex
922b679769
Create win32_get_window
2015-11-17 09:41:18 +01:00
twinaphex
f9e4ec72c4
Revert "(win32_common) No longer expose global variables to outside"
...
This reverts commit 33884de94c
.
2015-11-17 09:33:27 +01:00
twinaphex
33884de94c
(win32_common) No longer expose global variables to outside
2015-11-17 09:29:43 +01:00
twinaphex
3d6f6869f0
Create win32_has_focus
2015-11-17 08:58:49 +01:00
twinaphex
239ae7de53
Move gl_common to gfx/common
2015-11-17 08:01:33 +01:00
Twinaphex
5ce92ca3d0
(iOS) Just omit this - not sure if we actually need to set it to NULL
2015-11-16 04:22:54 +01:00
Twinaphex
5fc267d24a
(OSX/iOS) get_chosen_screen buildfixes
2015-11-14 22:26:07 +01:00
twinaphex
63924971aa
(Android) Refactor away system_property_get_density - make regular calls to
...
system_property_get instead
2015-11-14 19:22:33 +01:00
twinaphex
4b63df35ba
(Android) Should cache DPI once and then just return the value
...
without doing costly popen calls every time
2015-11-14 03:18:00 +01:00
twinaphex
8d0e375de0
(Win32) Buildfixes
2015-11-12 05:17:21 +01:00
twinaphex
105236a543
Create win32_set_video_mode
2015-11-12 05:16:06 +01:00
twinaphex
d3efdf8e5a
Move g_restore_desktop to win32_common
2015-11-12 05:14:09 +01:00
twinaphex
9a82d2a956
Create win32_monitor_set_fullscreen
2015-11-12 03:01:50 +01:00
twinaphex
0dce6479c1
Create win32_window_create
2015-11-12 02:51:40 +01:00
twinaphex
cb008b13f8
(D3D) Use the same hwnd variable as WGL
2015-11-12 02:45:16 +01:00
twinaphex
823e2db596
Create d3d_set_render_state
2015-11-12 01:28:14 +01:00
twinaphex
cb5d4b0569
Compile in win32_monitor_ functions for Xbox too but leave them
...
stub
2015-11-12 01:22:28 +01:00
twinaphex
9deeececf1
Turn win32_common and wgl_ctx into C++
2015-11-11 20:07:06 +01:00
twinaphex
1413d97ab0
(D3D/GL) Use more common code
2015-11-11 19:48:24 +01:00
twinaphex
938dfa775a
(D3D/GL) Try to use common code for both
2015-11-11 19:41:32 +01:00
twinaphex
8e08db3446
more buildfixes
2015-11-11 18:29:06 +01:00
twinaphex
3c5f4bd243
Move WndProc to win32_common.c
2015-11-11 18:26:10 +01:00
twinaphex
8f6deb9dac
Pass function pointer to win32_window_init too
2015-11-11 18:22:39 +01:00
twinaphex
b40baa6323
Move win32_window_init
2015-11-11 18:16:28 +01:00
twinaphex
65a9419522
Create win32_window_init
2015-11-11 18:15:21 +01:00
twinaphex
00cbf68e95
(D3) Reuse common multi-monitor code
2015-11-11 17:57:15 +01:00
twinaphex
e0720cd764
Add mon_id argument to win32_get_monitor_info
2015-11-11 17:47:56 +01:00
twinaphex
8f9218ab1b
(Win32) Cleanups
2015-11-11 17:41:20 +01:00
twinaphex
0cb507886a
Split up win32_monitor code to win32_common
2015-11-11 17:36:52 +01:00
twinaphex
0f9f8c248b
(Win32) Refactor monitor code
2015-11-11 05:32:00 +01:00
twinaphex
8da911bc65
(D3D Ctx) Buildfix
2015-11-11 05:01:37 +01:00
twinaphex
a7df537dde
(D3D) Implement (rather stub) set_video_mode
2015-11-11 05:00:09 +01:00
twinaphex
fa1b7b19eb
Don't call win32_check_window twice
2015-11-11 02:20:32 +01:00
twinaphex
b3662e2f27
(D3D) Buildfix
2015-11-11 02:20:11 +01:00
twinaphex
47496ff0c3
(D3D) reimplement resizing
2015-11-11 02:17:18 +01:00
twinaphex
f76d9f255a
(D3D) Start fleshing out WinProc
2015-11-11 02:12:25 +01:00
Stefan
742d6a62b5
vc_egl_ctx.c: Fix missing fps output
...
Related to: https://github.com/libretro/RetroArch/issues/2034
It does not segfault but there is no fps output with msg_queue_push(). Just do it like other context driver.
2015-11-07 12:30:28 +01:00
twinaphex
ae7d9222e2
Try to not reference UIScreen directly
2015-11-05 22:17:02 +01:00
Twinaphex
51426f64c2
Revert "Add OSX implementation for cocoagl_gfx_ctx_get_native_scale"
...
This reverts commit a408a5e59a
.
2015-11-01 12:45:36 +01:00
twinaphex
a408a5e59a
Add OSX implementation for cocoagl_gfx_ctx_get_native_scale
2015-11-01 12:15:21 +01:00
twinaphex
61a67f0938
Cleanups
2015-10-31 21:41:31 +01:00
lugaidster
5c7c53f026
fixed a typo that caused Retroarch to crash on wayland using the gl driver.
2015-10-29 23:59:40 -03:00
twinaphex
02a43c6b2a
Change 'rarch' to 'retro' namespace in libretro-common
2015-10-26 03:18:13 +01:00
twinaphex
9893be7849
(WGL) Buildfix
2015-10-23 07:59:53 +02:00
Monroe88
a2e4a39ecf
(wgl_ctx) Also account for swap interval when setting fullscreen refresh rate
2015-10-21 18:57:06 -05:00
Monroe88
4afbd0682b
(wgl_ctx) Set fullscreen mode refresh rate to video_refresh_rate
2015-10-19 19:44:28 -05:00
twinaphex
ff59f92341
(Win32) Create win32_suppress_screensaver
2015-10-10 08:13:58 +02:00
twinaphex
e986b9e42a
Static code analysis cleanups
2015-09-29 17:35:28 +02:00
twinaphex
f189ad271e
(mali_fbdev_ctx.c) Use retro_file.h
2015-09-18 03:55:44 +02:00
twinaphex
133e85298f
* Add retro_get_fd to retro_file.c
...
* Use retro_file in gfx/drivers_context/drm_egl_ctx.c
2015-09-18 03:47:44 +02:00
twinaphex
340585defb
Header Cleanups
2015-09-16 05:53:34 +02:00
twinaphex
c11b08ed91
(Android) Buildfix
2015-09-16 05:46:03 +02:00
twinaphex
54dbe5e66b
(fbdev context drivers) style nits
2015-09-09 19:59:39 +02:00
Alcaro
dbccc4f4f0
Shut up some more warnings.
2015-09-06 16:07:26 +02:00
twinaphex
421e006297
(wgl_ctx.c) Cleanups
2015-09-05 14:38:55 +02:00
twinaphex
3e977034a7
(Win32) More buildfixes
2015-09-05 14:10:16 +02:00
twinaphex
5e3a79b74b
(cocoa_gl_ctx.m) Put in retro_assert.h
2015-09-01 12:02:04 +02:00
CautiousAlbino
173dcd3e4c
Retry implementation of include_compressed to dir_list_new.
...
Problem was that if ext_list wasn't used, an empty list would be
created.
2015-08-30 20:19:41 +02:00
Twinaphex
aa382a5c7c
Revert "Add include_compressed param to dir_list_new."
2015-08-30 18:36:25 +02:00
CautiousAlbino
c4691b2668
Add include_compressed param to dir_list_new.
...
Do not try to load in compressed archives unless we expect them.
Fixes hang in input autodetect where it tried to parse a zip file as an
archive.
2015-08-30 16:57:34 +02:00
Alcaro
ee2ad0c4bd
These aren't executable.
2015-08-12 01:31:03 +02:00
radius
828734e007
don't try to autoconfigure GPIO devices
2015-08-11 17:13:25 -05:00
twinaphex
77aa7535c9
MOve all 'define' headers to central place ' defines'
2015-08-10 23:11:40 +02:00
twinaphex
f02f1ebc8f
(OSX) setWantsBestResolutionOpenGLSurface - OSX 10.7 and up
2015-07-18 15:46:48 +02:00
twinaphex
5bc03fb3a8
backingScaleFactor OSX 10.7 and up
2015-07-18 15:41:14 +02:00
twinaphex
95da20190a
Take out stb_truetype hack
2015-07-17 02:24:23 +02:00
twinaphex
a73f91e68a
(Android) Add hack/workaround for DPI larger than 500 with
...
HAVE_STB_FONT
2015-07-16 10:09:26 +02:00
twinaphex
e74e402cdc
More C89 build fixes
2015-06-30 14:37:11 +02:00
twinaphex
fefa500dcf
Some C89 build fixes
2015-06-29 21:52:55 +02:00
Alcaro
adb2942e5c
Fix CXX_BUILD
2015-06-26 18:39:20 +02:00
twinaphex
b778c9a7d4
(wayland_ctx.c) Move uninitialized variable to the top of the function
2015-06-26 18:25:17 +02:00
twinaphex
653c76c987
Fix Wayland warning
2015-06-26 18:24:51 +02:00
Alcaro
febcbc5ce4
C89 cleanups part 2
2015-06-26 17:48:43 +02:00
Alcaro
1bbd54f597
Some C89 strict fixes
2015-06-26 17:03:12 +02:00
Twinaphex
f597f3e4b0
(CGL) Fix some linking errors when building with CXX_BUILD
2015-06-26 15:44:47 +02:00
Twinaphex
79dda43dbb
(CGL) Some more CXX_BUILD fixes
2015-06-25 17:44:11 +02:00
Twinaphex
227c986143
More CXX_BUILD fixes
2015-06-25 17:40:09 +02:00
twinaphex
0fa871a296
Use rarch_system_info_get_ptr
2015-06-25 13:46:32 +02:00
twinaphex
43c8f282db
(Gfx) Cleanups
2015-06-13 02:10:06 +02:00
hunterk
664956c53d
ifdef the retina stuff for backward compatibility
2015-06-12 13:56:34 -05:00
hizzlekizzle
d5a6a1d4a6
remove dpi hack
...
the existing method works fine on later release targets, so we just need to remember to set those.
2015-06-12 13:12:43 -05:00
hizzlekizzle
0c792898b8
fix dumb typo
2015-06-12 13:03:34 -05:00
hunterk
b4e4af604e
fix ugly scaling on Retina Macs
2015-06-12 12:45:29 -05:00
twinaphex
55ec66020e
(CGL Ctx) Add TODO/FIXME note
2015-06-02 19:11:01 +02:00
twinaphex
ce7706bc7a
(CGL Ctx) Get rid of some printfs
2015-06-02 18:58:42 +02:00
twinaphex
c188f06cef
(CGL Ctx) Create custom typedef for CGWindowID - OSX 10.4 didn't yet
...
have this typedef
2015-06-02 18:55:46 +02:00
twinaphex
0cfeff8e1e
Cleanups
2015-06-02 18:28:51 +02:00
Twinaphex
f1c69e79c2
(iOS) Buildfix
2015-06-02 11:14:47 +02:00
neville
bfb6001114
(OSX) 10.5 and earlier doesn't have backingScaleFactor, so hardcode it
...
to 1.0f for those platforms
2015-06-02 09:06:59 +02:00
neville
8151c85980
(OSX) Take out settings window for now entirely
2015-06-02 09:00:27 +02:00
neville
2434c5e971
(OSX PPC) Buildfix
2015-06-02 08:48:07 +02:00
twinaphex
9326d9c27c
(DRM EGL) Don't do useless cast
2015-05-24 05:07:01 +02:00
twinaphex
6e327a3b8d
Get rid of more unused global local pointers
2015-05-20 22:48:33 +02:00
twinaphex
a81baed9e2
Move hw_render_callbakc to video driver state and take it out
...
of global state
2015-05-20 19:56:12 +02:00
twinaphex
b99ae6f4e4
Refactor some more code to no longer use global->video_data.width/
...
global->video_data.height directly
2015-05-20 01:39:35 +02:00
Twinaphex
d6a713bb8d
Fix some warnings
2015-05-02 19:09:23 +02:00
Twinaphex
84b5a96898
(CGL) Add some logs
2015-04-27 16:28:52 +02:00
Twinaphex
3c4615d273
(CGL) Add some more logging
2015-04-27 16:15:08 +02:00
Twinaphex
43781876cd
(CGL) Some buildfixes/cleanups
2015-04-27 15:52:37 +02:00
twinaphex
0b807f34bf
(CGL) Implement get_proc_address differently
2015-04-27 15:50:49 +02:00
Twinaphex
01c793904d
(CGL) Start implementing get_proc_address
2015-04-27 06:57:35 +02:00
twinaphex
0634c7e34f
(D3D) Start using global->video_data.width and global->video_data.height
2015-04-26 05:35:41 +02:00
twinaphex
36c2786864
(CGL) Implement bind_api function
2015-04-26 04:38:35 +02:00
Twinaphex
a72cc4bfc9
(CGL) Buildfix
2015-04-26 04:26:57 +02:00
twinaphex
4034dbe591
(CGL) Implement get_video_size and check_window
2015-04-26 04:24:13 +02:00
twinaphex
869576b916
(DRM EGL) Get rid of some forward declarations
2015-04-26 04:02:04 +02:00
Twinaphex
d49ec806e0
(CGL) CGL Context only for OSX
2015-04-26 03:59:55 +02:00
Twinaphex
6703b26e44
(CGL Context) Some buildfixes
2015-04-26 03:48:35 +02:00
twinaphex
7e20265a4e
(CGL) Start making Cocoa-less GL context driver
2015-04-26 03:31:02 +02:00
Twinaphex
ada0955642
(Cocoa GL) Refactor set_video_mode some more
2015-04-26 03:01:15 +02:00
Twinaphex
550ab997ee
(Cocoa GL) Cleanup
2015-04-26 02:57:53 +02:00
Twinaphex
2ce2bb0a5d
(Cocoa) Create stub cocoagl_gfx_ctx_show_mouse
2015-04-26 02:53:50 +02:00
twinaphex
c99cd21080
(OSX) Fixes crash on exit/fullscreen toggle with XMB
2015-04-26 00:50:58 +02:00
Jean-André Santoni
558459fb9b
(iOS) Fix dpi, still incomplete
2015-04-21 18:58:19 +07:00
Twinaphex
c539a66b53
(OSX) Use backingScaleFactor
2015-04-21 13:02:57 +02:00
Twinaphex
000e61dc66
(iOS) 'ret' needs to be passed as pointer
2015-04-21 13:01:21 +02:00
Twinaphex
165b502948
Make get_native_scale code more expandable
2015-04-21 12:57:35 +02:00
Twinaphex
54c6c3eb01
Rename apple_cocoa_gl.m
2015-04-21 11:03:39 +02:00
Twinaphex
ea30e2cc3c
(Cocoa GL) Use NSOpenGL
2015-04-21 11:00:23 +02:00
twinaphex
f435958371
(Android) Implement display metric DPI
2015-04-21 00:57:51 +02:00
twinaphex
1b2e69d782
(Android) Prevent crash at System Information
2015-04-20 22:14:04 +02:00
twinaphex
e8a8b378d5
(Cocoa) Rename RAGameView to CocoaView
2015-04-20 20:39:39 +02:00
Twinaphex
f76f288a86
(apple_cocoa_gl.m) buildfix
2015-04-20 12:56:05 +02:00
twinaphex
20befff4c1
(Cocoa) Move cocoa common files
2015-04-20 12:52:16 +02:00
Twinaphex
2f169a42b1
(qb) Add COCOA
2015-04-20 00:38:55 +02:00
twinaphex
2f2c35252a
Fix gfx_ctx_emscripten struct
2015-04-19 21:05:16 +02:00
twinaphex
d74f5ad3aa
(Apple/Cocoa) Rename gfx_ctx_apple to gfx_ctx_cocoa
2015-04-19 17:40:10 +02:00
twinaphex
94b1f2f54f
(drm_egl_ctx.c) Cleanup
2015-04-16 23:04:22 +02:00
twinaphex
3a6e369516
(Context drivers) Cleanups
2015-04-16 23:03:55 +02:00
twinaphex
590e315bd1
(glx) Remove header includes here too
2015-04-16 22:41:17 +02:00
twinaphex
20e167e00f
(xegl_ctx.c) Remove some unused X11 headers
2015-04-16 22:40:24 +02:00
Twinaphex
946193446d
(iOS) Move buffer swap to actual buffer swap function
2015-04-15 07:34:22 +02:00
twinaphex
4479bf5d55
(XDK1) Buildfixes
2015-04-12 20:00:49 +02:00
Twinaphex
0e2ed7c746
(Apple) Cleanups
2015-04-12 16:55:50 +02:00
Twinaphex
68902c9d94
(Cocoa/Apple) Split up Apple GL context driver code to separate file
2015-04-12 16:51:07 +02:00
twinaphex
f50b208ec8
Move d3d_make_d3dpp to d3d.cpp
2015-04-11 21:54:52 +02:00
twinaphex
a3e14acaa3
Create win32_check_window
2015-04-10 09:36:03 +02:00
twinaphex
b46c9cea87
Create win32_show_cursor
2015-04-10 09:30:18 +02:00
twinaphex
8082f17e2e
Rename egl image buffer functions
2015-04-10 09:02:24 +02:00
twinaphex
89bdccad4d
(wgl_ctx.c) Fix warnings
2015-04-10 06:33:18 +02:00
twinaphex
33e70124a1
(d3d_ctx.cpp) Cleanup
2015-04-10 06:01:52 +02:00
twinaphex
3213baf452
Take out HAVE_EGL ifdefs in gfx_context_driver_t definition
2015-04-10 05:58:08 +02:00
twinaphex
644d52b6ab
(VC Context driver) Style nits/cleanups
2015-04-09 05:35:01 +02:00
twinaphex
ff398fe6c8
gfx_ctx_drm_egl_bind_api - return false at the end
2015-04-09 05:29:24 +02:00
twinaphex
dc10606b23
Create win32_get_metrics
2015-04-09 05:19:29 +02:00
twinaphex
1f23338ca4
Move win32_common.c to gfx/common
2015-04-09 05:16:02 +02:00
twinaphex
61ca56ae8e
Create x11_get_metrics
2015-04-09 05:05:29 +02:00
twinaphex
5e8a78bb25
Move x11_common.c to gfx/common
2015-04-09 05:02:57 +02:00
twinaphex
16b7b454a9
Move gl_common.c to gfx/drivers
2015-04-09 04:57:17 +02:00
twinaphex
2aebce1174
(XEGL/GLX) Implement get_metrics
2015-04-09 03:59:16 +02:00
twinaphex
741e18efb5
(Android) Add android_gfx_ctx_get_metrics
2015-04-09 03:27:41 +02:00
twinaphex
5e4647994b
(Windows) Implement get_metrics for D3D and WGL context drivers
2015-04-08 22:06:33 +02:00
twinaphex
fab39da46a
(Gfx context) Implement get_metrics callback
2015-04-08 20:10:30 +02:00
twinaphex
03af36ba64
(WGL) Go through dylib_load
2015-04-08 19:52:15 +02:00
twinaphex
bd9b6f4795
(D3D) Style nits
2015-04-05 16:15:14 +02:00
twinaphex
36b054506d
Move window manager code to gfx/drivers_wm
2015-04-04 20:30:44 +02:00
twinaphex
24733603ea
Rename d3d_ctx.c to d3d_ctx.cpp
2015-04-04 02:45:22 +02:00
twinaphex
bccb9a3203
(Mali Ctx) Cleanup
2015-04-03 04:40:53 +02:00
twinaphex
41ce2b8ffd
Rename d3d_context.cpp
2015-04-03 02:18:33 +02:00
twinaphex
0c61f8e4eb
(wgl_shader_dlg.c) Style nits
2015-03-30 18:02:22 +02:00
twinaphex
d374fb863c
Use retro_inline.h for remaining 'inline' instances
2015-03-29 16:43:02 +02:00
Alcaro
fbeec2f00e
(WGL) Apparently HAVE_EGL can be defined on this platform...
2015-03-27 23:07:57 +01:00
twinaphex
13789a7233
(MSVC) Fix redefinition warning
2015-03-23 23:58:23 +01:00
aliaspider
4494146179
(windows) build fix: change video_driver_resolve to video_driver_get_ptr
2015-03-23 21:36:27 +01:00
Twinaphex
93ad945e15
Merge pull request #1530 from aliaspider/master
...
(windows) add a shader parameters popup window.
2015-03-23 21:23:29 +01:00
aliaspider
d8fc17307d
(windows) shader parameters dialog: silence a warning.
2015-03-23 18:13:52 +01:00
aliaspider
a43af8622d
(windows) add a shader parameters popup windows.
2015-03-23 17:36:37 +01:00
twinaphex
2ec7fdde51
(GLX) Add GLES2 support
2015-03-21 23:10:06 +01:00
twinaphex
2409da4afe
global_get_ptr update pt. 3
2015-03-21 05:55:31 +01:00
twinaphex
45cf71770e
Rename g_settings to g_config - to prevent conflicts, had to rename
...
some static variables in some of the gfx context driver files
2015-03-21 01:15:03 +01:00
twinaphex
f130b00596
Updates pt. 3
2015-03-20 22:08:36 +01:00
twinaphex
e996d5d51f
Updates
2015-03-20 21:22:38 +01:00
twinaphex
1e9725a302
(Android) Buildfix
2015-03-18 20:26:55 +01:00
twinaphex
3670ef2ac5
Go through driver_get_ptr to grab pointer to driver struct
2015-03-18 19:40:00 +01:00
Higor Eurípedes
d2fb9a5991
(drm_egl_ctx.c) Return false instead of NULL
2015-03-16 14:43:56 -03:00
twinaphex
26f2bd4cbf
Start going through retro_inline INLINE
2015-03-15 04:37:54 +01:00
twinaphex
00239a30d6
Create wrapper functions for passing a message to the runloop's
...
message queue
2015-03-15 02:47:23 +01:00
twinaphex
9803f62f02
(GLX) Add 'glXSwapIntervalSGI' fallback
2015-03-14 02:30:05 +01:00
twinaphex
667a461c89
(Windows/Mouse) Wheel works now in normal mode - doesn't work in
...
grabbed mouse state (exclusive foreground mode)
2015-03-10 23:40:54 +01:00
twinaphex
e5de9494a5
(XEGL) Implement wheel up/down for XEGL too
2015-03-09 17:46:34 +01:00
twinaphex
74332fbd14
(GLX) Implement mouse wheel up/down for GLX context driver
2015-03-09 17:44:19 +01:00
twinaphex
dd0d81eba8
(XEGL context/Xvideo) Add it to these video drivers/ context
...
drivers too
2015-03-09 16:55:27 +01:00
twinaphex
179ad94c6f
(GLX) Add ButtonReleaseMask | ButtonPressMask to event_masks now
2015-03-09 16:52:48 +01:00
Andrés
c13308d162
fix android build
2015-03-07 21:51:07 -05:00
twinaphex
9627117166
Take out fps_monitor_enable
2015-03-07 23:03:56 +01:00
twinaphex
3276781b4f
Don't increment g_runloop.frames.video.count inside video driver
...
implementation's 'frame' function - do this outside
2015-03-07 13:28:45 +01:00
twinaphex
d11006e041
Move frame_count to g_runloop
2015-03-07 13:14:04 +01:00
twinaphex
795ef467ac
Move msg_queue and nbio/http to runloop struct
2015-03-07 13:01:41 +01:00
twinaphex
3aaf7b8368
(PS3) Bootup regressions fixed
2015-03-02 23:40:53 +01:00
twinaphex
fdd7d8be88
(VC EGL) Fix driver
2015-02-28 02:54:07 +01:00
twinaphex
01e2a6854a
(PS3) Build fix
2015-02-24 22:03:49 +01:00
twinaphex
f80e3740aa
Implement set_video_mode in video poke interface
2015-02-24 21:57:51 +01:00
twinaphex
13a391c165
Implement get_video_output_prev/get_video_output_next
2015-02-24 21:36:23 +01:00
twinaphex
55a2209e8e
(PS3) Go through get_video_output_size interface now - build fixes
2015-02-24 20:16:03 +01:00
twinaphex
aafc647724
Add get_video_output_size callback to video context driver
2015-02-24 19:58:14 +01:00
Googer
719ecf014b
(Android) Fix compilation.
2015-02-24 12:17:06 -05:00
gizmo98
6dbba1c956
vc_egl_ctx.c: Align render and screen aspect ratio if hardware upscaling is used.
...
Take care render and screen aspect ratios are equal if hardware upscaling is used. Recalculate and override fullscreen_x if aspect ratios do not match. There are other aspect ratio settings, which can be used to stretch video output.
2015-02-21 13:47:57 +01:00
Higor Eurípedes
c281f0fc68
(griffin) Fix glx, xegl and xvideo build
2015-02-20 23:35:39 -03:00
twinaphex
59c6bfc772
(D3D) Build fix
2015-02-17 00:38:50 +01:00
twinaphex
8f5809ee46
Take out make_current_context
2015-02-16 23:41:49 +01:00
twinaphex
0b926373ce
(GLX) Buildfix
2015-02-09 02:03:41 +01:00
Toad King
7c3655ba5d
fix
2015-02-08 14:51:07 -06:00
twinaphex
90e5cffab8
Add RETRO_ENVIRONMENT_MAKE_CURRENT_CONTEXT
2015-02-08 18:39:12 +01:00
twinaphex
95df3dc394
(WGL) Add fallback to GetProcAddress
2015-02-08 01:24:58 +01:00
twinaphex
9fee2dd9ad
(Win32) Header include
2015-01-20 03:44:02 +01:00
twinaphex
51d97c3fbb
Rename gfx_common.c to win32_dwm_common.c
2015-01-19 01:49:08 +01:00
twinaphex
80d4de7c3f
Add gfx/video_viewport.c/viewport.h
2015-01-18 23:59:57 +01:00
twinaphex
e48fd77bec
(android context) Cleanup
2015-01-18 22:39:23 +01:00
twinaphex
c4310ec813
Implement suspend_screensaver callback
2015-01-18 22:32:14 +01:00
twinaphex
c95668f2d5
(x11_common.c) cleanups
2015-01-18 21:49:00 +01:00
twinaphex
de76884bb8
Rename gfx_get_fps to video_monitor_get_fps
2015-01-18 20:03:33 +01:00
twinaphex
45d691c28e
Make win32_menu_loop extern "C"
2015-01-17 06:08:22 +01:00
twinaphex
3208b77b01
Only make keyboard_event function extern "C"
2015-01-17 05:53:35 +01:00
twinaphex
4428fe21cd
Add UI Menubar Enable setting
2015-01-17 01:29:15 +01:00
twinaphex
0e0b10e28c
Indent win32_menu_loop
2015-01-16 17:55:22 +01:00
twinaphex
094207921f
(Win32 UI) Add fallback cases to default:
2015-01-16 17:53:51 +01:00
twinaphex
f7b5ca6862
(Win32 UI) Fix State Index options
2015-01-16 17:40:36 +01:00
twinaphex
bb7d33ebde
(WGL) Declare variables at top
2015-01-16 16:22:19 +01:00
twinaphex
376ee9e4ba
(Win32 UI) Add Audio Mute Toggle
2015-01-15 23:55:49 +01:00
twinaphex
6484c4882a
(Win32 menubar) Add 'Take Screenshot' to Commands
2015-01-15 23:30:41 +01:00
twinaphex
d830ad38af
Change win32_browser function
2015-01-15 20:56:12 +01:00
twinaphex
a41f33fb63
(D3D) Menubar works now
2015-01-15 19:10:41 +01:00
twinaphex
ffccae79c9
(D3D) Implement WM_COMMAND in WindowProc
2015-01-15 18:53:39 +01:00
twinaphex
8d610f9143
(WGL) Buildfix
2015-01-15 18:42:50 +01:00
twinaphex
4179b05d16
Split up win32_common code to separate file
2015-01-15 18:37:43 +01:00
twinaphex
834f7f119e
(Win32) Add State Index menubar options
2015-01-15 07:58:31 +01:00
twinaphex
0959fd2243
(Win32) Add Mouse Grab to menubar
2015-01-15 07:44:01 +01:00
twinaphex
6f5ee8be51
(Win32) Pass initial dir to win32_browser_dir
2015-01-15 06:51:30 +01:00
Toad King
fe5b4e90fb
fix resizing on windows, should account for menu size correctly now
2015-01-14 23:15:19 -06:00
twinaphex
aeed28eccc
(Win32) Pass title to win32_browser
2015-01-15 05:22:17 +01:00
twinaphex
02a882784f
(Win32) Initial menubar - will become optional
2015-01-15 05:17:22 +01:00
twinaphex
09b25e54c5
Rename gl_font.c and d3d_font.c
2015-01-12 23:19:21 +01:00
twinaphex
069fb556f0
Rename graphics context drivers
2015-01-12 22:19:31 +01:00