twinaphex
c133c2a10c
(Cocoa GL ctx) Add updateSel
2020-09-14 23:59:42 +02:00
Twinaphex
13e553a34b
get_backing_scale_factor - use class_respondsToSelector
2020-09-14 21:27:22 +02:00
twinaphex
fb6642192d
Add TARGET_OS_OSX ifdef around this
2020-09-14 16:17:31 +02:00
Twinaphex
2bfadbdad5
(Apple CocoaGL) Call flushBuffer with msg_objcSend
2020-09-14 16:15:53 +02:00
twinaphex
a82bff2055
(Wayland) Fix serious warnings - input struct pointer was being passed
...
to function that requires gfx struct pointer
2020-08-31 19:56:03 +02:00
Autechre
094ae69b09
Update x_vk_ctx.c
2020-08-31 14:17:36 +02:00
twinaphex
5f08605680
Refactor joypad drivers
2020-08-30 05:29:32 +02:00
twinaphex
4d1cfa9c41
Make the 'raw' versions the generic function for the message loop
...
callback - this way it's reused for SDL2 input driver too
2020-08-28 02:55:39 +02:00
twinaphex
32279c3a70
Split up wnd_proc_common_internal into two - one for dinput,
...
one for raw
2020-08-28 02:21:13 +02:00
twinaphex
73fc7c9873
Rename create_graphics_context to create_wgl_context
2020-08-28 01:29:23 +02:00
Érico Rolim
87d99601f6
[gfx] Fix static function placement.
...
In gfx/drivers_context/vc_egl_ctx.c, move gfx_ctx_vc_bind_api
declaration to before it's called by any other function, otherwise it
warns about "warning: implicit declaration of function" and can error
out with "error: conflicting types for 'gfx_ctx_vc_bind_api'" in certain
cases.
2020-08-10 00:51:14 -03:00
Twinaphex
b1723f7cd0
Remove unused CocoaTouch menu - allows us to get rid of a lot of
...
dead code
2020-08-09 19:41:04 +02:00
twinaphex
ae662b4fe2
Cleanup android_gfx_ctx_bind_api
2020-08-04 01:56:38 +02:00
twinaphex
197465c1ea
make_current is only ever used for GL, so move it out of
...
video_driver_load/unload_texture and into the inner GL
drivers
2020-07-27 10:26:13 +02:00
twinaphex
3d893b7602
Add extra parameter to unload_texture
2020-07-27 10:15:28 +02:00
twinaphex
6922a36ea1
(CocoaGL) Another buildfix
2020-07-22 22:25:28 +02:00
twinaphex
b78591d9b6
Buildfix
2020-07-22 22:18:18 +02:00
Autechre
95221945bb
Merge pull request #11065 from yoshisuga/yoshisuga/ios-metal-dpi
...
[iOS][tvOS][Metal] Support getting video metrics to support proper touchscreen interactions
2020-07-22 07:09:24 +02:00
twinaphex
12a4fa0809
Buildfix
2020-07-22 00:46:16 +02:00
twinaphex
ca2a59e03d
(Cocoa GL) Global variable cleanups
2020-07-22 00:44:45 +02:00
Yoshi Sugawara
c462aaf374
iOS Metal: implement the metric method for the graphics context to support getting the dpi - this is needed to make the touch interactions with the menus work. Update the metal and opengl graphics context to support a lower dpi for larger screen iPhones to make better use of the screen
2020-07-21 11:33:37 -10:00
Autechre
6c7143d02d
Merge pull request #10981 from yoshisuga/yoshisuga/ios-metal
...
iOS/tvOS Metal Renderer
2020-07-21 20:41:07 +02:00
Yoshi Sugawara
271ac7f925
support the OpenGL driver in the metal build by delegating the view initialization to the ApplePlatform delegate (metal build only for now)
2020-07-20 14:00:28 -10:00
twinaphex
465e84d60c
(context drivers) Make names uniform
2020-07-20 18:22:33 +02:00
twinaphex
7574a80391
Change some context driver names
2020-07-20 18:15:37 +02:00
twinaphex
9ac9309991
Optimize call to vulkan_present
2020-07-20 04:45:12 +02:00
Yoshi Sugawara
3dc716299f
replaced confusing ifdef with a more concise #if TARGET_OS_OSX
2020-07-19 07:54:47 -10:00
Yoshi Sugawara
fd9ac64d55
Merge branch 'master' into yoshisuga/ios-metal
2020-07-19 00:33:54 -10:00
twinaphex
34662e8fe8
(Context drivers) Cleanups - use egl_get_proc_address directly instead
...
of wrapper functions
2020-07-18 17:22:24 +02:00
twinaphex
7c66f0adbc
Simplify win32_check_window
2020-07-18 17:09:07 +02:00
twinaphex
0ccb86d130
Cleanup
2020-07-18 14:15:23 +02:00
twinaphex
80c405ce52
Cleanups
2020-07-18 14:11:13 +02:00
twinaphex
ef552ba768
Style nits/cleanups
2020-07-18 14:06:45 +02:00
twinaphex
ebd62ecd78
Cleanups
2020-07-18 14:01:35 +02:00
twinaphex
8cfbe3b8d4
Cleanups
2020-07-17 20:35:11 +02:00
twinaphex
9f9d59f2be
Cleanups
2020-07-17 16:46:00 +02:00
twinaphex
2e4938601a
Cleanups
2020-07-17 16:34:11 +02:00
twinaphex
8390388f3f
(DRM Go2) This global seems unused, remove it
2020-07-17 16:30:01 +02:00
twinaphex
fcf0663baa
(DRM CTX) Get rid of static globals - put them in struct
2020-07-17 16:26:57 +02:00
twinaphex
318c11129b
Cleanups
2020-07-17 15:02:14 +02:00
twinaphex
5deb8f8bd8
Cleanups
2020-07-17 14:59:19 +02:00
twinaphex
1ca5958832
Cleanups
2020-07-17 14:57:00 +02:00
twinaphex
3983a19281
(Context drivers) Cleanups
2020-07-17 14:53:49 +02:00
twinaphex
7c66a7457a
Go for a consistent return value
2020-07-17 14:44:57 +02:00
twinaphex
b02d538a63
set_resize should not return false on success
2020-07-17 14:43:47 +02:00
twinaphex
d2b749e0e6
Unnecessary
2020-07-17 14:19:17 +02:00
twinaphex
1fb77c43a3
(X11) Split up X11 context into two - GL and Vulkan
2020-07-17 14:15:30 +02:00
twinaphex
e8e9a7b1d3
Get rid of multiple definition of wayland show mouse function
2020-07-17 13:59:13 +02:00
twinaphex
f4bc332bcd
(Wayland) Split up Wayland context driver into two - GL and Vulkan
2020-07-17 13:55:25 +02:00
twinaphex
501f737249
(Android) Split up Android context driver into two - GL and Vulkan
2020-07-17 13:45:37 +02:00
twinaphex
2ff2604e69
MSVC buildfix
2020-07-17 04:35:01 +02:00
twinaphex
cbca370d76
Split up wgl_ctx.c into two files - GL and Vulkan
2020-07-17 04:28:26 +02:00
twinaphex
df73277ca8
(WGL) Bind different callback for Vulkan
2020-07-17 02:31:12 +02:00
twinaphex
105e135e48
Cleanup
2020-07-17 01:20:31 +02:00
twinaphex
6a5770af6d
Cleanups
2020-07-17 01:17:37 +02:00
twinaphex
707b40d116
Cleanups
2020-07-17 01:09:00 +02:00
twinaphex
be1e245396
Cleanups
2020-07-17 00:59:20 +02:00
twinaphex
318d5490cd
Cleanups
2020-07-17 00:50:06 +02:00
twinaphex
b8cc047d20
(context drivers) Cleanups
2020-07-16 03:40:52 +02:00
twinaphex
9a34e9799a
Cleanups
2020-07-15 03:22:01 +02:00
twinaphex
07b075c16f
Cleanup
2020-07-15 02:59:02 +02:00
twinaphex
8696d292da
Cleanup
2020-07-15 02:54:27 +02:00
twinaphex
014d0fafb4
(DRM) Cleanups
2020-07-15 02:45:34 +02:00
twinaphex
f707994cb8
Get rid of gfx_ctx_network
2020-07-15 02:37:50 +02:00
twinaphex
03c7403a05
Cleanups
2020-07-14 16:37:02 +02:00
twinaphex
e416d96769
(UWP EGL) Cleanups
2020-07-14 16:27:49 +02:00
twinaphex
748e3dccf2
(wayland) buildfixes
2020-07-14 16:20:15 +02:00
twinaphex
b7c2cbc6b2
Move flush_wayland_fd to input/common/wayland_common.c
2020-07-14 16:17:43 +02:00
twinaphex
4009919eca
(Wayland) Fix code duplication
2020-07-14 16:14:47 +02:00
twinaphex
3cb1b7b4bb
(Wayland) Move more code
2020-07-14 16:09:13 +02:00
twinaphex
646d627a6c
Move more Wayland code
2020-07-14 16:04:10 +02:00
twinaphex
1f4a27abba
Split up wayland code
2020-07-14 15:56:52 +02:00
twinaphex
88f742894d
Move wayland header to input/common
2020-07-14 14:32:37 +02:00
twinaphex
ed9d40caa2
(DRM) Cleanups
2020-07-13 20:24:14 +02:00
Bernhard Schelling
2226226663
Add missing header (for non griffin builds)
2020-07-11 23:02:18 +09:00
twinaphex
3fd7338df1
Cleanups
2020-07-09 10:36:49 +02:00
twinaphex
d0736a1797
(MSVC) Buildfixes
2020-07-09 10:20:27 +02:00
twinaphex
f56b6a3a0f
(GDI) Merge gdi_ctx.c into gdi_gfx.c
2020-07-09 09:25:10 +02:00
twinaphex
d81f426060
Cleanups
2020-07-09 08:17:50 +02:00
twinaphex
255332c989
Remove sixel_ctx.c
2020-07-09 08:12:47 +02:00
twinaphex
9a148f6d48
Cleanups
2020-07-09 03:11:11 +02:00
twinaphex
b0157cd47d
CLeanups
2020-07-09 03:00:55 +02:00
twinaphex
364ee31712
(sixel) Simplifications
2020-07-09 02:55:25 +02:00
twinaphex
298413dce8
Cleanups
2020-07-09 00:33:19 +02:00
twinaphex
e48ffd14cd
Cleanups
2020-07-09 00:24:09 +02:00
Yoshi Sugawara
82d6d8e876
add the metal view to the view controller view after initializing the metal view for iOS
2020-07-07 08:19:46 -10:00
Yoshi Sugawara
6308ba1acb
support ApplePlatform for iOS and conform app delegate class to it, move app delegate class to apple_platform.h, fix metal references for iOS
2020-07-07 05:03:42 -10:00
twinaphex
d9b4b44091
(Winraw) Cleanups
2020-07-02 07:07:42 +02:00
twinaphex
a3c687f0a6
Add HAVE_WINRAWINPUT
2020-07-02 06:43:36 +02:00
twinaphex
fe14bc6e07
(core_info.c) Get rid of calloc
2020-06-29 03:46:27 +02:00
nia
ef0038de2a
sdl_gl_ctx: advertise GLSL support
2020-05-29 18:03:25 +01:00
twinaphex
e030986837
Replace fprintfs with RARCH_LOG/RARCH_ERR
2020-05-24 19:29:55 +02:00
twinaphex
ad1aa59ce1
Cleanup != NULL comparisons
2020-05-19 21:15:06 +02:00
Vladimir Serbinenko
2fb7ba22e5
PSL1GHT port
...
Working:
* packaging
* running cores
* switching cores
* gamepad including axis
* rgui
* audio
* video
Not working:
* OSD
* menus other than rgui
* shaders
* Graphical acceleration
* Proper signing
* ODE build
* rumble
* keyboard
* mouse
Not tested:
* A lot
2020-03-30 05:39:22 +02:00
valadaa48
6e4228b054
Add drm_go2_ctx for odroidgo2
...
- Revert odroidgo changes to drm_ctx
- Introduce new drm_go2_ctx specifically for odroidgo2 (and libgo2)
- Add hw_scaling option to mitigate builtin gl scaling/filtering and to
use libgo2 and rga's hw scaling and bicubic filtering via librga. The
quality of the image is improved by this and should be a bit faster.
Credits to CrashOverride for the initial libgo2 port and
commit to RA. And to natinusala for the initial cleanup/commit in the original
drm_ctx driver. NOirBRight for finding this setting and testing.
2020-03-28 03:30:28 +00:00
valadaa48
53fffbd670
Add "oga" graphics driver for odroid go advance
...
libgo2 improvements
- Expose rga scale mode as param for future use
- Cleanup whitespace
- Add option to disable managed surfaces and allow direct posting to drm
driver
oga graphics driver
- Uses direct framebuffers in libgo2
- Bitmap font only supported for now
- Uses built-in bicubic filtering: graphics quality better than gl + bilinear
- Support for rotation
2020-03-22 23:35:22 -04:00
natinusala
00590f2077
Fix VG and VC EGL
2020-03-20 09:19:06 +01:00
twinaphex
7f8c13ae09
(GDI/Win32) Refactor code - handle doubleclick press on title bar
...
inside DInput driver
2020-03-13 02:20:31 +01:00
twinaphex
252bb3a905
(GLX) Fixes fastforwarding issues
2020-03-09 19:13:43 +01:00
twinaphex
c007b68e6b
(GLX) GLX OML was unstable with threaded video - remove it -
...
also put SwapInterval first instead of SwapIntervalEXT - this
makes fastforwarding work on Intel iGPUs
2020-03-09 18:37:20 +01:00