Commit Graph

179 Commits

Author SHA1 Message Date
Crypto City
a949dbaa77 SDL: use -fcommon to fix issues with wayland smbols on arch 2021-12-05 07:44:16 +00:00
Crypto City
f2abc7cb83 disable joystick on windows, fix link issue 2021-12-05 07:44:16 +00:00
Crypto City
6dd9a15063 SDL: move WASAPI audio driver after DSOUND
WASAPI support seems patchy, and in particular causes
high pitch fast music
2021-12-05 07:44:16 +00:00
Crypto City
478d92c59d static build fixes 2021-12-05 07:43:58 +00:00
Yao Wei Tjong 姚伟忠
884c09447d
Quick fix for Wayland with both GCC and Clang. 2021-08-05 23:41:26 +08:00
urhobot
f861a10a61 GH Actions: Bump copyright to 2021. 2021-07-17 16:43:46 +00:00
Henrik Heino
04b952cb67
Fix failing mingw32 build when there is space char in project path. (#2736) 2020-12-06 04:49:30 +03:00
UkoeHB
0f4b769f1a
fix third party bug for El Capitan and update gitignore for files created when 'dot' dependency is missing (#2687) 2020-11-25 23:32:51 +03:00
Yao Wei Tjong 姚伟忠
77fb86d9ba
Refactor to rename package from 'com.github.urho3d' to 'io.urho3d'. 2020-10-29 08:22:41 +08:00
Yao Wei Tjong 姚伟忠
0eb778b4e5
Remove ununsed python file from SDL.
This is to avoid IntelliJ from detecting it and suggesting a Python framework.
2020-10-29 08:22:33 +08:00
Yao Wei Tjong 姚伟忠
9e02cb3dd6
Prevent building of SDL GL video drivers on non-desktop platforms. 2020-08-31 01:39:06 +08:00
Yao Wei Tjong 姚伟忠
45089a1322
Fix build script in finding the DRM, GBM and others.
RPI 4 may require KMS/DRM to replace DISPMAN.
2020-08-31 01:39:05 +08:00
Yao Wei Tjong 姚伟忠
3af2b68237
Prevent building of SDL GLES video drivers on desktop platforms. 2020-08-31 01:39:05 +08:00
Rainer Deyke
469b30b605
Fix a memory leak in the Urho3D changes to SDL. 2020-02-18 00:54:31 +08:00
urho3d-travis-ci
1151b8a2d6 Travis CI: bump copyright to 2020. 2020-01-05 06:21:40 +00:00
Yao Wei Tjong 姚伟忠
b67f85a59e
Merge commit '8f27ab75ada3af10c4f222b6cecebbd16ef466ab' into upstream.master 2019-09-14 14:59:45 +08:00
urho3d-travis-ci
a476f0c401 Travis CI: bump copyright to 2019. 2019-01-12 01:00:16 +00:00
Yao Wei Tjong 姚伟忠
651f345ad0
Fix 32-bit Linux native build. 2018-10-31 22:46:21 +08:00
Yao Wei Tjong 姚伟忠
0fc21934f5
Cleanup CMake build scripts and documentation update.
Close #743.
2018-08-09 23:08:45 +08:00
Yao Wei Tjong 姚伟忠
b238824f63
Bug fix that prevented Android app to be relaunched successfully.
Also tweak the Android sample launcher app to go back from MainActivity to LauncherActivity before exiting completely
in order to make it easier to launch many sample apps in a same session.
2018-08-06 21:46:00 +08:00
Rokas Kupstys
dcbc0046c7 Re-enable suspending main loop when application is paused on android. Fixes #2328.
Previous behaviour allowed main loop to spin (at 10fps, as if window is minimized) while application was in background. This is both bad for battery life and also introduces a race condition where rapidly suspending and resuming application may get it into the state where application is resumed while some or most GPU objects are not recreated.
2018-06-17 19:06:51 +08:00
urho3d-travis-ci
70049ba582 Travis CI: bump copyright to 2018.
[cache clear]
2018-01-01 05:35:37 +00:00
Yao Wei Tjong 姚伟忠
ad9c6594d1 Fix web build on Windows host system.
Close #2224.
2018-01-01 13:11:05 +08:00
Yao Wei Tjong 姚伟忠
28e4c64bfc Remove "execute" permission in the source files.
[ci skip]
2017-12-17 09:37:10 +08:00
Yao Wei Tjong 姚伟忠
cc5eccec1b Fix RPI build, could not have khronos in the header search path. 2017-12-17 02:03:18 +08:00
Yao Wei Tjong 姚伟忠
2af82c6eff Bug fix to allow build with appletvsimulator and iphonesimulator SDKs. 2017-12-17 01:51:32 +08:00
Yao Wei Tjong 姚伟忠
9b7ae13095 Fix the mistake when merging the custom changes. 2017-12-17 01:51:32 +08:00
Yao Wei Tjong 姚伟忠
afae5cae35 Remove the custom bug fix for SDL_x11opengl.c as SDL has fixed it. 2017-12-17 01:51:32 +08:00
Yao Wei Tjong 姚伟忠
3c692181bc Move the workaround to the FindDirectX.cmake module.
Don't need to add the define via CMake anymore as the new SDL 2.0.7 header now has it baked in.
2017-12-17 01:51:31 +08:00
Yao Wei Tjong 姚伟忠
68cea3a1e7 Remove SDL2Config.cmake. 2017-12-17 01:51:31 +08:00
Yao Wei Tjong 姚伟忠
1cc32beff6 Merge commit '28a8bc01ddef814b654840d30f1cc07651cc347a' into master. 2017-12-17 01:48:20 +08:00
Yao Wei Tjong 姚伟忠
c7a0149dc9 Another sweep for tvOS conditional code branch. 2017-06-05 23:04:09 +08:00
Yao Wei Tjong 姚伟忠
75b8420a31 Initial work for porting Urho3D to AppleTV platform. 2017-06-05 23:04:09 +08:00
Yao Wei Tjong 姚伟忠
d53928310c Workaround struct redefinition on some newer MinGW header files.
Fix #1899.
2017-04-15 00:55:49 +08:00
Yao Wei Tjong 姚伟忠
0e4060b61a Use no_weak_imports linker flag to ignore weak symbol during detection. 2017-04-13 19:35:23 +08:00
Sandu Liviu Catalin
d94a10f488 Remove duplicate macro in SDL windows joystick implementation. 2017-03-07 21:38:50 +02:00
Yao Wei Tjong 姚伟忠
ffd24cafa1 Take advantage of CMAKE_SYSROOT available in the newer CMake.
Use CMAKE_SYSROOT to manage the sysroot automatically when cross-compiling instead of adding the '--sysroot' flag manually everywhere. We only need to add it manually in places where CMake does not, like in our custom GCC/Clang response file for PCH.
Differentiate between setting up header search path for system headers and for application headers so that GCC/Clang may suppress compilation warnings from the former, if any.
2017-03-05 08:45:39 +08:00
Yao Wei Tjong 姚伟忠
9f19d51c08 Remove older constructs that have been earmarked previously. 2017-03-05 08:34:41 +08:00
Yao Wei Tjong 姚伟忠
cdbb694c2a Bake 'SDL_USE_IME' compiler define into SDL config header. 2017-02-19 12:34:55 +08:00
Yao Wei Tjong 姚伟忠
45b1d173cf Realign SDL's CMakeLists.txt with the cherry-picked SDL commits.
Those commits are mainly for fixing the keyboard input handling on RPI platform.
2017-02-18 01:21:57 +08:00
Yao Wei Tjong 姚伟忠
4a738662ee Merge commit 'c109e4b51d143493be185f0e74ba7ba2a1411d6e' into cherry-picked-SDL-keyboard-fix 2017-02-18 00:54:58 +08:00
urho3d-travis-ci
ee054a1507 Travis CI: bump copyright to 2017.
[ccache clear]
2017-01-01 13:01:31 +00:00
Yao Wei Tjong 姚伟忠
d4e74a35c0 Set the default for SDL's VIDEO_MIR build option to FALSE.
Related to issue #1714.
2016-12-16 22:24:21 +08:00
Yao Wei Tjong 姚伟忠
9290ebf6e0 Use auto-detection for clock_gettime() function on Apple platforms.
Fix #1692 [ci only: OSX]
2016-11-29 22:50:08 +08:00
Yao Wei Tjong 姚伟忠
1efb0d9085 Enable IME for Linux platform. Only tested using ibus. 2016-11-23 01:59:55 +08:00
Yao Wei Tjong 姚伟忠
2fb158d089 Add support for FCITX (an alternative IME to ibus). 2016-11-20 13:50:24 +08:00
Yao Wei Tjong 姚伟忠
05690e0a36 Fix #1681 for good. The ibus devel pacakge is optional once more. 2016-11-20 01:25:59 +08:00
Yao Wei Tjong 姚伟忠
b2af56a14b Minor bug fixes. 2016-11-20 01:24:10 +08:00
Yao Wei Tjong 姚伟忠
98d1eba903 Fix Android build error due to declaration after statement (using GCC).
Close #1690 [ci only: Android]
2016-11-19 13:07:54 +08:00
Yao Wei Tjong 姚伟忠
628e4b2795 Quick fix for #1681 on Linux build, requires ibus-dev(el) package. 2016-11-17 01:20:47 +08:00