Commit Graph

169 Commits

Author SHA1 Message Date
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
Yao Wei Tjong 姚伟忠
ad97bfacd0 Fix Android build. 2016-11-09 23:10:02 +08:00
Yao Wei Tjong 姚伟忠
805932a498 Merge commit '8eb652a0d09b97901540c9721f5afb37b903a286' into upstream.master 2016-11-09 23:08:19 +08:00
Lasse Öörni
bf4591b158 Define WINVER in SDL_windowsjoystick.c if not defined. Related to #1629. 2016-10-04 16:28:20 +03:00
Yao Wei Tjong 姚伟忠
b21ff1895e Fix overlinking of EGL library in FindVideoCore.cmake module.
Remove hardcoding of indirect dependency libraries list in the FindUrho3D.cmake module. Instead we now rely on the linker to find those indirect dependencies automatically with our hint via "-runpath-link" linker flag, especially when cross-compiling.
Also setup GLESv2 (and GLESv1_CM) for Raspberry-Pi in the same manner as generic ARM and Android platforms.
2016-08-07 18:22:46 +08:00
Yao Wei Tjong 姚伟忠
f9b23104dd Fix Mir and Wayland auto-detection to also check on EGL. 2016-08-03 00:16:25 +08:00
Yao Wei Tjong 姚伟忠
576b6ea7cf Better multiarch support in auto-detection.
This should also solve the problem with cross-compiling other target triplets as there is no more hardcoding.
2016-08-03 00:16:25 +08:00
Yao Wei Tjong 姚伟忠
35a616448a Merge commit 'a1a9ce7817286783347acfbcce94bfd659915b66' into master. 2016-06-23 22:05:25 +08:00
Yao Wei Tjong 姚伟忠
993e82f9ec Fix cross-compiling builds using X11 shared libraries. 2016-06-23 20:08:34 +08:00
Yao Wei Tjong 姚伟忠
2f4ed29be8 For CI - attempt to fix broken multiarch support in older CMake.
This should be a non-issue when we have migrated to CMake 3.2.3 (now under development in refactor-buildsystem branch).
2016-06-23 00:23:12 +08:00
Yao Wei Tjong 姚伟忠
fff8b782b1 Fix cross-compiling builds using readline shared library. 2016-06-22 18:06:21 +08:00