summaryrefslogtreecommitdiffstats
path: root/platform/iphone/detect.py
Commit message (Collapse)AuthorAgeFilesLines
* SCons: Move platform-specific Opus config to its moduleRémi Verschelde2019-03-021-8/+0
|
* SCons: Drop unused MPC_FIXED_POINT defineRémi Verschelde2019-01-161-1/+1
|
* Don't use -ffast-math or other unsafe math optimizationsHein-Pieter van Braam2019-01-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Godot supports many different compilers and for production releases we have to support 3 currently: GCC8, Clang6, and MSVC2017. These compilers all do slightly different things with -ffast-math and it is causing issues now. See #24841, #24540, #10758, #10070. And probably other complaints about physics differences between release and release_debug builds. I've done some performance comparisons on Linux x86_64. All tests are ran 20 times. Bunnymark: (higher is better) (bunnies) min max stdev average fast-math 7332 7597 71 7432 this pr 7379 7779 108 7621 (102%) FPBench (gdscript port http://fpbench.org/) (lower is better) (ms) fast-math 15441 16127 192 15764 this pr 15671 16855 326 16001 (99%) Float_add (adding floats in a tight loop) (lower is better) (sec) fast-math 5.49 5.78 0.07 5.65 this pr 5.65 5.90 0.06 5.76 (98%) Float_div (dividing floats in a tight loop) (lower is better) (sec) fast-math 11.70 12.36 0.18 11.99 this pr 11.92 12.32 0.12 12.12 (99%) Float_mul (multiplying floats in a tight loop) (lower is better) (sec) fast-math 11.72 12.17 0.12 11.93 this pr 12.01 12.62 0.17 12.26 (97%) I have also looked at FPS numbers for tps-demo, 3d platformer, 2d platformer, and sponza and could not find any measurable difference. I believe that given the issues and oft-reported (physics) glitches on release builds I believe that the couple of percent of tight-loop floating point performance regression is well worth it. This fixes #24540 and fixes #24841
* Merge pull request #24545 from akien-mga/osxcross-monoRémi Verschelde2018-12-301-0/+4
|\ | | | | SCons: Allow building Mono module with OSXCross
| * SCons: Allow building Mono module with OSXCrossRémi Verschelde2018-12-221-0/+4
| | | | | | | | | | | | | | Improve the test logic to only assume that we're building for macOS if OSXCROSS_ROOT is defined *and* we requested p=osx. Supersedes #24480.
* | SCons: Drop ios_sim option forcing x86, simulator needs x86_64Rémi Verschelde2018-12-271-5/+1
|/
* Bump minimum iOS version to 10Sam Green2018-12-121-6/+6
|
* Merge pull request #21339 from Placinta/masterRémi Verschelde2018-11-201-4/+5
|\ | | | | Fix regular macOS build by passing -isysroot to compiler so correct system headers are found
| * Pass -isysroot to compiler / linker when doing a macOS buildAlexandru Croitor2018-08-271-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously the compiler would use system headers located at /System/Library/Frameworks, which could result in compilation failures due to the headers not always being up-to-date in regards to the latest installed macOS SDK headers that come with Xcode. Fix the issue by passing the SDK path via the -isysroot option to the compiler and linker invocations. If no custom SDK path is given, the build system queries the SDK path via xcrun --show-sdk-path, which returns something similar to /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/ /Developer/SDKs/MacOSX.sdk/ Querying via xcrun is now also done for iphone (and simulator) platforms as well. Here is an example of a compilation failure message due to outdated headers: platform/osx/os_osx.mm:1421:41: error: use of undeclared identifier 'NSAppKitVersionNumber10_12'; did you mean 'NSAppKitVersionNumber'? if (floor(NSAppKitVersionNumber) >= NSAppKitVersionNumber10_12) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ NSAppKitVersionNumber /System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:26:28: note: 'NSAppKitVersionNumber' declared here
* | Dont use equality operators with None singleton in python fileslupoDharkael2018-10-271-1/+1
|/
* -Fix disable_3d flagJuan Linietsky2018-07-211-2/+6
| | | | -Add extra flag optimize=[size,speed] to be able to prioritize size
* Allow configuring iOS exportRuslan Mustakov2017-11-211-7/+12
| | | | | | | | | | | | | | | | | - EditorExportPlugin's _export_begin accepts all the arguments related to the current export (is_debug, path, flags). - EditorExportPlugin API is extended with methods allowing to configure iOS export: add_ios_framework, add_ios_plist_content, add_ios_linker_flags, add_ios_bundle_file. - iOS export template now contains Godot as a static library so that it can be linked with third-party Frameworks and GDNative static libraries. - Adds method to DirAccess for recursive copying of a directory. - Fixes iOS export to work with Xcode 9 (released recently).
* Cleanup old references to GLES2 rendererRémi Verschelde2017-11-191-1/+1
| | | | | | | | | There are still some left in the Android Java code, even stuff to swap between GLES1 and GLES2 support from early Godot days... would be good to see some cleanup there too one day. The "graphics/api" option for Android exports is removed, as only GLES 3.0 is supported. It can be readded when GLES 2.0 support comes back. Fixes #13004.
* change matrix and enable caching for Android, iOS and macOS (cross-compile)Rhody Lugo2017-11-131-5/+16
|
* SCons: make use_lto a global option and opt-in for iphoneRémi Verschelde2017-11-021-2/+6
| | | | Supersedes #12553, see discussion in #12552.
* Merged iphone and osx audio drivers into drivers/coreaudioMarcelo Fernandez2017-09-301-1/+1
|
* Use BoolVariable in platform-specific options.Elliott Sales de Andrade2017-09-251-11/+11
|
* Use BoolVariable for module options.Elliott Sales de Andrade2017-09-251-1/+1
|
* Use BoolVariable in target/component/advanced options.Elliott Sales de Andrade2017-09-251-1/+1
|
* Make build scripts Python3 compatibleMatthias Hoelzl2017-08-271-4/+4
| | | | | | | | - The Windows, UWP, Android (on Windows) and Linux builds are tested with Scons 3.0 alpha using Python 3. - OSX and iOS should hopefully work but are not tested since I don't have a Mac. - Builds using SCons 2.5 and Python 2 should not be impacted.
* Buildsystem: Improve detect.py readability and fix issuesRémi Verschelde2017-07-011-105/+75
| | | | | | | | | | | | | | | | | | | Tried to organize the configure(env) calls in sections, using the same order for all platforms whenever possible. Apart from cosmetic changes, the following issues were fixed: - Android: cleanup linkage, remove GLESv1_CM and GLESv2 - iPhone: Remove obsolete "ios_gles22_override" option - OSX: * Fix bits detection (default to 64) and remove obsolete "force_64_bits" option (closes #9449) * Make "fat" bits argument explicit - Server: sync with X11 - Windows: clean up old DirectX 9 stuff - X11: * Do not require system OpenSSL for building (closes #9443) * Fix typo'ed use_leak_sanitizer option * Fix .llvm suffix overriding custom extra_suffix
* Improve/harmonize mobile buildsPedro J. Estébanez2017-05-271-17/+14
|
* Allow custom CCFLAGS for iPhone buildsPedro J. Estébanez2017-05-271-4/+4
| | | | plus disable exceptions by default
* Make arm64 the default option and set minimum to iOS 9BastiaanOlij2017-05-231-8/+9
|
* SCons: Add option to toggle warnings (on by default)Rémi Verschelde2017-03-261-6/+6
| | | | | | | | All the warnings are factored out of the platform-specific files and moved to SConstruct. Will have to check that it does not introduce regressions on some platforms/compilers. (cherry picked from commit 31107daa1a41fe9ab3c7c1868479e78e16848333)
* iphone: Drop unused Appirater thirdparty APIRémi Verschelde2017-03-051-1/+0
|
* Working on compile issues for iOSBastiaanOlij2017-01-161-4/+4
|
* Replacing deprecated UIAccelerometer with Core MotionBastiaanOlij2017-01-121-0/+3
|
* scons: Reorder options for clarityRémi Verschelde2016-11-031-3/+0
| | | | Also prefix all thirdparty-related toggles with `builtin`.
* style: Fix PEP8 blank lines issues in Python filesRémi Verschelde2016-11-011-1/+4
| | | | | | | | | | | Done with `autopep8 --select=E3,W3`, fixes: - E301 - Add missing blank line. - E302 - Add missing 2 blank lines. - E303 - Remove extra blank lines. - E304 - Remove blank line following function decorator. - E309 - Add missing blank line. - W391 - Remove trailing blank lines.
* style: Fix PEP8 whitespace issues in Python filesRémi Verschelde2016-11-011-25/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Done with `autopep8 --select=E2,W2`, fixes: - E201 - Remove extraneous whitespace. - E202 - Remove extraneous whitespace. - E203 - Remove extraneous whitespace. - E211 - Remove extraneous whitespace. - E221 - Fix extraneous whitespace around keywords. - E222 - Fix extraneous whitespace around keywords. - E223 - Fix extraneous whitespace around keywords. - E224 - Remove extraneous whitespace around operator. - E225 - Fix missing whitespace around operator. - E226 - Fix missing whitespace around operator. - E227 - Fix missing whitespace around operator. - E228 - Fix missing whitespace around operator. - E231 - Add missing whitespace. - E231 - Fix various deprecated code (via lib2to3). - E241 - Fix extraneous whitespace around keywords. - E242 - Remove extraneous whitespace around operator. - E251 - Remove whitespace around parameter '=' sign. - E261 - Fix spacing after comment hash. - E262 - Fix spacing after comment hash. - E265 - Format block comments. - E271 - Fix extraneous whitespace around keywords. - E272 - Fix extraneous whitespace around keywords. - E273 - Fix extraneous whitespace around keywords. - E274 - Fix extraneous whitespace around keywords. - W291 - Remove trailing whitespace. - W293 - Remove trailing whitespace.
* style: Start applying PEP8 to Python files, indentation issuesRémi Verschelde2016-11-011-167/+167
| | | | | | | | | | | | | | | | | | | Done with `autopep8 --select=E1`, fixes: - E101 - Reindent all lines. - E112 - Fix under-indented comments. - E113 - Fix over-indented comments. - E115 - Fix under-indented comments. - E116 - Fix over-indented comments. - E121 - Fix a badly indented line. - E122 - Fix a badly indented line. - E123 - Fix a badly indented line. - E124 - Fix a badly indented line. - E125 - Fix indentation undistinguish from the next logical line. - E126 - Fix a badly indented line. - E127 - Fix a badly indented line. - E128 - Fix a badly indented line. - E129 - Fix a badly indented line.
* zlib: Split thirdparty files, simplify scons optionRémi Verschelde2016-10-151-0/+1
|
* ogg/vorbis/opus: Make them modules and unbundle thirdparty libsRémi Verschelde2016-10-151-1/+2
| | | | | | | | | Took the opportunity to undo the Godot changed made to the opus source. The opus module should eventually be built in its own environment to avoid polluting others with too many include dirs and defines. TODO: Fix the platform/ stuff for opus.
* added "arch" parameter, made iphone use it to build isimAriel Manzur2016-06-231-5/+13
|
* iOS simulator: merge into iphone detect.pyRémi Verschelde2016-06-231-12/+31
| | | | Fixes #4489
* Remove trailing spacesRémi Verschelde2016-04-021-3/+3
|
* removed -ffast-math on ios, compiler bug?Ariel Manzur2015-12-231-7/+7
|
* Merge branch 'master' of https://github.com/okamstudio/godotJuan Linietsky2015-10-131-0/+12
|\ | | | | | | | | Conflicts: platform/windows/detect.py
| * Add support for Opus audio formatGeorge Marques2015-10-021-0/+8
| |
| * improved iCloud build option descriptionsteve2015-09-271-1/+1
| |
| * Initial iCloud implementation, supporting key value pairssteve2015-09-271-0/+4
| |
* | Fixed theora playback. Removed theoraplayer.Juan Linietsky2015-09-261-1/+0
|/ | | | Still need to get proper audio output latency in some platforms.
* disabling theora for now (will be re-written, re-enabled later)Juan Linietsky2015-09-101-0/+1
|
* ios build with osxcrosspunto-2015-09-091-4/+7
|
* merged some stuff for okamJuan Linietsky2015-09-031-2/+2
|
* 2D Rewrite Step [1]Juan Linietsky2015-01-101-2/+1
| | | | | | | | -=-=-=-=-=-=-=-=-=- -Moved drawing code to a single function that takes linked list (should make it easier to optimize in the future). -Implemented Z ordering of 2D nodes. Node2D and those that inherit have a visibility/Z property that affects drawing order (besides the tree order) -Removed OpenGL ES 1.x support. Good riddance!
* -Work in progress visual shader editor *DOES NOT WORK YET*Juan Linietsky2015-01-031-13/+28
|
* -Ability to ask for documents/pictures/etc system dirs.Juan Linietsky2014-12-021-4/+3
| | | | | -Fixes to animationplayer -fixes to collada importer
* -fix sound room params (was not working)Juan Linietsky2014-11-261-0/+1
| | | | | -fixes to DAE exporter -ios fixes (video)