Sunderland93
17fd203141
Waiting for the "initial" set of globals to appear
...
(fixed xdg_wm_base_ping working)
2018-11-24 20:52:22 +04:00
Sunderland93
fbcab67d8b
Fix wrong toplevel geometry
2018-11-23 23:04:06 +04:00
Sunderland93
cd8bf003d1
Add toplevel configuration
2018-11-23 21:23:53 +04:00
Sunderland93
9d5cb529c1
Add wait event for surface configure
2018-11-23 21:08:42 +04:00
Sunderland93
2615ad3f55
Make it works!
2018-11-21 21:28:32 +04:00
Sunderland93
b64f302eb7
Check for resize
2018-11-19 22:31:17 +04:00
Sunderland93
4d8defb4c9
Remove D-bus based screensaver inhibition
...
(will replaced to idle-inhibit in future)
2018-11-18 21:50:39 +04:00
Sunderland93
c32c98e667
Very WIP: xdg-shell support
2018-11-17 16:01:51 +04:00
Stuart Carnie
dde3545600
chore(cocoa): Revert to using cocoa_gl_ctx.m; remove macos_ctx.m
2018-11-04 20:50:51 -07:00
Stuart Carnie
5c1075127b
chore(metal): Separate legacy GL and Metal source
...
* Forks of Cocoa / Cocoa Touch to *_metal.* version
* Reverted original GL Cocoa / Cocoa Touch versions
* GL and Metal projects still build
2018-11-04 20:50:50 -07:00
twinaphex
bba6f438cf
Cleanups; set pointer_enable for libnx
2018-10-01 21:42:05 +02:00
natinusala
fef4448ddb
libnx: added touch support
2018-10-01 21:22:21 +02:00
twinaphex
85ed60cf9a
Cleanups
2018-10-01 03:46:12 +02:00
M4xw
be2cba3200
[LIBNX] Mesa EGL backend has been fixed, remove workaround.
2018-09-27 20:02:30 +02:00
M4xw
cf097d7f42
[LIBNX] Implement OpenGL
2018-09-27 01:23:24 +02:00
Alfredo Monclus
599ed980c6
Fix linux icon ( #7282 )
2018-09-22 13:37:22 -04:00
Alfrix
244b3bed3d
New 16x16 icon
2018-09-22 12:14:18 -03:00
Yoshi Sugawara
2b72a9151d
Comment out unsupported code for iOS for now, so that it does not crash on startup; fix for building in Xcode 10
2018-09-19 22:09:29 -10:00
twinaphex
3f8e3547f4
(GLX) swap_control_tear should now be implemented and working
2018-09-12 04:17:41 +02:00
twinaphex
914df58d2e
(WGL) Adaptive Vsync should work now for WGL
2018-09-12 03:59:25 +02:00
twinaphex
98b20d4e5d
(GLX/WGL) Start implementing adaptive VSync (swap_control_tear) for GLX/WGL pt. 1
2018-09-12 02:42:24 +02:00
twinaphex
4738ef545c
Change interval type to signed int
2018-09-12 00:08:13 +02:00
twinaphex
bfdb75a30e
Add ifdef
2018-09-09 01:28:09 +02:00
Themaister
d338dac277
Only do mailbox emulation for fullscreen.
...
Too large impact on performance in Windowed mode.
2018-09-08 16:27:25 +02:00
twinaphex
d5fa379aa8
Update header
2018-09-01 03:54:47 +02:00
twinaphex
85f093e042
Change these to numbers
2018-08-31 21:25:33 +02:00
twinaphex
a58511ec00
Revert "Compatibility fixes for OSX PPC"
...
This reverts commit d7899c51aa
.
2018-08-31 19:20:10 +02:00
twinaphex
1265d7546c
Revert "Start using raw constants for OSX version detection"
...
This reverts commit ab34a70873
.
2018-08-31 19:19:42 +02:00
twinaphex
ab34a70873
Start using raw constants for OSX version detection
2018-08-30 16:35:44 +02:00
neville
d7899c51aa
Compatibility fixes for OSX PPC
2018-08-30 16:18:51 +02:00
twinaphex
ae0d9fd60d
(Wayland) Buildfixes
2018-08-17 17:42:14 +02:00
Twinaphex
4d96fddf5e
Merge pull request #7061 from wiktorek140/sailfishos-touch
...
Sailfish OS device build configuration connected with touch screen support required for device with this OS
2018-08-15 13:30:04 +02:00
twinaphex
a6941fb4ed
Initial work done on VS2017 solution for Android
2018-08-14 16:02:31 +02:00
Wiktor Strzębała
45799ee034
Bring up touch support for wayland subsystem for sailfish os devices
...
Touch code cleanup
Make variabled static as suggest bparker06
C89 compilation error fix (at least for loops)
More C89 fixes
Signed-off-by: Wiktor Strzębała <wiktorek140@tlen.pl>
2018-08-09 20:49:27 +02:00
twinaphex
aec7ed40da
This crashed Wayland
2018-08-01 01:15:58 +02:00
Sven
5f35249216
Implement robust cheat searching interface with rumble features
2018-07-25 19:19:14 -04:00
Brad Parker
dbfccb25dd
sixel: fix context init
2018-07-12 22:59:05 -04:00
Brad Parker
ab27b7c85f
initial SIXEL video driver
2018-07-12 16:55:08 -04:00
Themaister
f2cae17021
Vulkan: Try to avoid creating swapchains redundantly.
...
Win32: Only make resize events when needed.
Do not create swapchain unless necessary.
Deal better with Windows WSI workarounds.
2018-07-01 16:21:09 +02:00
Themaister
c4ba8d26a0
Support multiple displays in VK_KHR_display.
2018-07-01 01:21:51 +02:00
Stuart Carnie
411bcf8bdd
feat(apple): Metal support for macOS
...
* includes rgui
* shader support
This is a work-in-progress and there are some bugs and visual artifacts
still to be fixed.
2018-06-20 21:33:45 -07:00
Gustavo Maciel Dias Vieira
14c505117d
Add screensaver (idle) inhibition for Wayland driver
...
The Wayland driver currently has no implementation for gfx_ctx_wl_suppress_screensaver. This adds a Dbus implementation using the same infrastructure used by the X11 driver.
2018-05-29 09:56:58 -03:00
twinaphex
34eb78ad78
Silence some warnings
2018-05-14 00:35:01 +02:00
Twinaphex
d0a697ebf0
(MacOS) Another buildfix
2018-05-14 00:23:05 +02:00
Twinaphex
f3f0c6b1d1
One buildfix
2018-05-14 00:21:08 +02:00
Stuart Carnie
789933b333
wip: add Vulkan support to Apple platforms
2018-05-13 21:35:23 +02:00
twinaphex
542294900f
(WinRT) More compilation fixes
2018-05-12 19:03:39 +02:00
Brad Parker
a1aefc901c
Qt WIMP GUI
2018-04-30 14:33:05 -04:00
Rob Loach
71c031099b
Fix missing division in mali fbdev
2018-04-27 22:44:53 -04:00
Brandon Wright
0e013ced75
Fix typo in mali fbdev driver.
2018-04-27 12:42:46 -05:00
twinaphex
6f4fd8859a
Add customizable swapchain images flag to VC EGL context
2018-04-23 13:12:00 +02:00
twinaphex
1526c8a15d
(PS3) Should fix PS3 build with context driver
2018-04-21 18:05:25 +02:00
Twinaphex
f4c83157af
Fix CocoaGL context driver
2018-04-21 18:06:14 +02:00
Brandon Wright
c4f818599c
Add some fbdev refresh rate polls. Also Xv.
2018-04-16 16:23:59 -05:00
Brandon Wright
95f8205fd1
Add DRM interface for refresh rate.
2018-04-16 15:36:46 -05:00
Brandon Wright
df5528b1d0
Divide Wayland rate by 1000 instead of multiply.
2018-04-15 20:00:14 -05:00
Brandon Wright
e049605359
Add refresh rate polling to Win32 >= Windows 7.
2018-04-15 19:33:38 -05:00
Brandon Wright
533f898132
Add get refresh rate context function. Implement for X11 and Wayland.
2018-04-15 17:56:12 -05:00
Brandon Wright
9f15e39114
Also use the original fallback designed for older window managers.
2018-04-02 20:21:32 -05:00
Brandon Wright
0a5e65dc06
Add workarounds based on window manager for override-redirect.
2018-04-02 20:01:14 -05:00
Brandon Wright
8356300c3e
Apply the same fix to xegl_ctx.c
2018-04-01 17:47:47 -05:00
Brandon Wright
64686d8106
Set override-redirect on true fullscreen, but after window is mapped.
2018-04-01 17:47:27 -05:00
twinaphex
92b46a8275
Some cleanups
2018-03-30 15:50:27 +02:00
Brandon Wright
3bbff3c689
Use _NET_WM_STATE_FULLSCREEN as a first measure, only falling back to override-redirect when not supported.
2018-03-29 17:13:51 -05:00
Brandon Wright
5da1aa0af7
Allow compositor disabling on X11 fullscreen through _NET_WM_BYPASS_COMPOSITOR.
...
Note: KWin doesn't bypass compositor on override-redirect windows, so enabling windowed fullscreen is necessary.
2018-03-29 15:20:14 -05:00
twinaphex
923ab3b6f4
(DRM Ctx) Buildfix
2018-03-27 14:19:36 +02:00
Brandon Wright
eb6d04d430
With X context set vk.swapchain to VK_NULL_HANDLE when failing to create swapchain so Vulkan common functions don't try and use it and crash.
2018-03-18 19:31:25 -05:00
Brandon Wright
e8de264b75
Fix X11 Vulkan bug from Wayland driver.
2018-03-17 19:45:01 -05:00
Brad Parker
614521b238
fix building on windows without dinput
2018-03-16 21:03:43 +00:00
ajefr
1da67cecf3
declaration error
2018-03-08 21:44:26 +01:00
ajefr
98f8ed637c
typo
...
stati -> static
2018-03-08 21:19:00 +01:00
twinaphex
0ec5ce8cfe
Get rid of d3d context drivers
2018-03-02 17:23:43 +01:00
twinaphex
dfdbc00a84
Cleanup Xbox 360 code from d3d_ctx
2018-03-02 17:03:34 +01:00
twinaphex
9d45d26f56
Update
2018-03-01 21:26:32 +01:00
twinaphex
13b6a016fc
Fix d3d swap buffers call
2018-03-01 21:23:15 +01:00
twinaphex
16c1bd7a03
Create context get_api function
2018-03-01 21:16:54 +01:00
twinaphex
070c09faec
Avoid more pointer grabbing for video driver ptr
2018-02-16 20:42:37 +01:00
Brad Parker
43aa977a91
add menu setting to toggle window decorations
2018-02-10 23:46:09 -05:00
twinaphex
495c702860
Buildfixes/cleanups
2018-01-25 12:30:08 +01:00
twinaphex
4c390944bb
Remove some more HAVE_D3D8/HAVE_D3D9 ifdefs that depend on
...
compile-time instead of runtime
2018-01-25 12:22:06 +01:00
twinaphex
bc81a9dc88
Dehardcode LPDIRECT3DDEVICE usage
2018-01-25 01:45:03 +01:00
twinaphex
63ad668ff0
Add HAVE_DYNAMIC ifdefs
2018-01-24 02:12:58 +01:00
twinaphex
6f73bdf287
(Emscripten) Cleanups
2018-01-20 02:05:37 +01:00
twinaphex
f97d6ec909
(VC EGL) Cleanups
2018-01-20 02:03:49 +01:00
twinaphex
61ff51be2f
Start using string_is_equal predominantly
2018-01-16 22:53:38 +01:00
Toad King
19facdb066
reset drivers shortly after toggling fullscreen mode
...
fixes black screen after going fullscreen in game
2018-01-15 02:12:53 -06:00
Toad King
b75f4b4f67
implement setting vsync and swapinterval
...
vsync is not "true" vsync (that's always on in browsers) but changes the main loop timer from immediate to window.requestAnimationFrame
2018-01-14 23:29:20 -06:00
Toad King
60f203d344
fix emscripten build
2018-01-14 16:03:44 -06:00
Toad King
c8f03b4640
fix fullscreen sometimes losing state
2018-01-14 15:19:37 -06:00
Toad King
5ef595be1a
fix fullscreen
2018-01-14 02:33:22 -06:00
Toad King
77b158e6a2
fix compiler warning
2018-01-13 20:47:30 -06:00
Toad King
a77f9c37c6
start on bringing the emscripten video code up to speed with latest emscripten
...
fix rwebinput
2018-01-13 00:05:07 -06:00
twinaphex
a8445c3ec4
D3D8 buildfix
2018-01-03 20:23:34 +01:00
twinaphex
df9cf9df21
(Xbox OG) Buildfix
2018-01-03 14:43:41 +01:00
Alcaro
9ab6957dc4
Fix #6009 v2.0
2017-12-31 14:32:14 +01:00
twinaphex
df3bb2e7e8
gfx_ctx_wgl_update_title - small cleanup
2017-12-31 13:54:34 +01:00
Brad Parker
81cd5435a1
x11: enable window transparency
2017-12-16 10:29:30 -05:00
gblues
6904101c44
Clean up trailing whitespace
...
== DETAILS
Really simple code cleanup, because my editor flags trailing whitespaces
and it's pretty annoying.
2017-12-12 00:24:18 -08:00
Themaister
75b84b4f94
Support pending swapchain creation.
2017-12-09 17:28:20 +01:00
clienthax
d6daf2f573
[PS3] Possible fix for 0x0 resolution on
2017-12-07 19:49:11 +00:00
Brad Parker
bc4bbe79aa
don't define UNICODE at all, we don't need it and it causes dinput problems (names are wchar_t)
2017-12-05 14:26:59 -05:00
Brad Parker
20b73cd676
x11: add RetroArch logo to window title bar
2017-11-22 00:01:42 -05:00
twinaphex
97095404bd
Buildfixes
2017-11-13 11:04:09 +01:00
Twinaphex
fcae5deb2d
Merge pull request #5670 from libretro/Alcaro-patch-2
...
mali_fbdev_ctx: Remove filestream dependency
2017-11-13 10:52:01 +01:00
Alcaro
58bae8456a
Remove filestream dependency
...
This causes issues in #5664
2017-11-13 09:45:48 +00:00
Alcaro
d005adbd42
Remove filestream dependency
...
This causes issues in #5664
2017-11-13 09:42:39 +00:00
Brad Parker
1771b11a39
wayland: fix heap buffer overflows
2017-11-05 19:31:34 -05:00
vanfanel
91c9da529f
VC EGL context: Fixed hard freeze when toggling the bilinear filter option
2017-11-01 12:19:08 +01:00
vanfanel
b40d50bba4
Moved commented old implementation to proper location.
2017-10-19 14:21:47 +00:00
vanfanel
d9ec2267f7
Change max_swapchain=2 implementation to actually working code.
2017-10-18 12:06:58 +00:00
vanfanel
65ef37706c
Add experimental way to make max_swapchain=2 work on EGL/GLES VideoCore (Raspberry Pi)
2017-10-18 03:06:30 +00:00
twinaphex
d10de20bff
Start compiling Griffin as C for 360 - C89 fixes
2017-10-03 04:11:41 +02:00
twinaphex
bd66937112
Convert d3d_ctx.cpp to C
2017-10-02 07:57:49 +02:00
Twinaphex
59f7a59b3f
(Cocoa) Fix small leak
2017-10-01 09:33:53 +02:00
twinaphex
3ab07fc43f
Fix some Xbox unresolved symbol errors
2017-09-14 22:17:05 +02:00
twinaphex
07148293a5
(Xbox) Some buildfixes
2017-09-13 03:18:31 +02:00
twinaphex
33a77bd3a3
Cleanups
2017-09-06 00:40:14 +02:00
twinaphex
5ad8f2aa90
Update
2017-09-06 00:38:49 +02:00
twinaphex
511d563a1c
(d3d_ctx) Log memory too - get rid of another _XBOX ifdef
2017-09-06 00:37:49 +02:00
Brad Parker
47f3a801ba
gdi: allow compilation without DirectInput8 for NT
2017-09-04 14:18:50 -04:00
Twinaphex
b2d9bad3a2
Update wgl_ctx.c
2017-08-22 17:44:40 +02:00
twinaphex
e065d70426
(WGL) Try to use wglSwapLayerBuffers first before resorting to SwapBuffers
2017-08-19 14:17:30 +02:00
twinaphex
ae2435cf16
Silence some more C89_BUILD warnings
2017-08-12 18:15:26 +02:00
twinaphex
f546020429
Silence more warnings with C89_BUILD
2017-08-12 18:06:48 +02:00
Brad Parker
ff98730906
don't define UNICODE for msvc2005
2017-08-09 23:33:57 -04:00
twinaphex
795ae524e9
Convert gdi_ctx.cpp to C
2017-08-09 13:56:47 +02:00
twinaphex
a4a027be67
Convert wgl_ctx into C - also take care of serious warning
2017-08-09 13:51:33 +02:00
twinaphex
3bac7cc7ef
Revert "Start hooking up more resolution functions - not working properly yet"
...
This reverts commit dccc9711d9
.
2017-08-09 11:19:27 +02:00
twinaphex
dccc9711d9
Start hooking up more resolution functions - not working properly yet
2017-08-09 10:58:43 +02:00
twinaphex
9272d26269
Start filling in more resolution functionality for Windows
2017-08-09 04:17:32 +02:00
twinaphex
c9b88fa1ab
Buildfix
2017-07-03 08:57:26 +02:00
twinaphex
708596ba84
Call dylib_free at end of WGL context destroy function
2017-07-03 08:56:17 +02:00
Twinaphex
c16bb5ff5e
(Cocoa) Buildfix
2017-06-27 06:14:13 +02:00
twinaphex
c1c5ebf5f6
(Cocoa) Start implementing core context hooks
2017-06-27 06:11:08 +02:00
twinaphex
94af3addd0
Update cocoa_gl_ctx.m
2017-06-26 07:23:04 +02:00
twinaphex
f5a12d63cc
(Cocoa) Try to support Core GL 3.1/3.2/3.3 and 4.1 on OSX 10.7 and
...
10.10 respectively
2017-06-26 07:16:41 +02:00
twinaphex
f087419165
Rename platform_linux.c to platform_unix.c
2017-06-19 17:38:49 +02:00
twinaphex
097d9bc13b
(iOS) Buildfix
2017-06-18 19:43:55 +02:00
Twinaphex
56d744ceaa
(Cocoa) Shared hardware context starts to work now
2017-06-18 19:35:34 +02:00
twinaphex
a3f216ba86
(Android) Try to move this code to set_video_mode
2017-06-18 17:21:33 +02:00
twinaphex
4850af8eac
Revert "Try to set use_hw_ctx in advance for Android"
...
This reverts commit c010c5b258
.
2017-06-18 17:09:27 +02:00
twinaphex
c010c5b258
Try to set use_hw_ctx in advance for Android
2017-06-18 16:45:36 +02:00
twinaphex
060753258a
Combine input_driver.c and input_keyboard.c
2017-06-11 17:51:12 +02:00
twinaphex
95e588ce0f
Fix C89_BUILD
2017-06-10 12:52:45 +02:00
twinaphex
3443153ccc
(DRM/KMS) If we have the X11 input driver selected, default to udev and/or
...
linuxraw driver instead
2017-06-06 21:15:32 +02:00
twinaphex
ded0813f6b
Don't need this header
2017-06-06 07:36:06 +02:00
twinaphex
f307135d1d
Split up wayland input driver into separate driver; and
...
improve mouse support for menu
2017-06-06 07:34:33 +02:00
twinaphex
6b3dbff75f
Merge input_driver.c and input_joypad_driver.c
2017-06-06 05:56:02 +02:00
twinaphex
9ebfb36b4e
Use rarch_keysym_lut directly
2017-06-06 05:17:25 +02:00
Zoran Vuckovic
2056ebc803
Allow udev input to be used with X11 context
2017-06-02 01:08:28 +02:00