Commit Graph

9612 Commits

Author SHA1 Message Date
Lasse Öörni
d66e8787e3 Only find AnimationController states using the animation's resource name (instead of user-supplied) to avoid potential ambiguous/unsanitated resource names leading to creation of duplicate animation states. 2015-10-14 11:24:53 +03:00
urho3d-travis-ci
58df09ae95 Travis CI: API documentation update at 2015-10-13 14:38:40 UTC.
[ci package]

Commit: 42ac49d933

Message: Merge remote-tracking branch 'juj/no_boundingbox_bool'
2015-10-13 14:38:40 +00:00
Lasse Öörni
42ac49d933 Merge remote-tracking branch 'juj/no_boundingbox_bool' 2015-10-13 16:13:58 +03:00
Lasse Öörni
563c4cc2d6 Merge remote-tracking branch 'juj/sse_opt_quat' 2015-10-13 16:13:46 +03:00
Lasse Öörni
222cb27a74 Add URHO3D_API specifier to SourceBatch struct. 2015-10-13 14:17:43 +03:00
Jukka Jylänki
fbd07ac39c Remove BoundingBox::defined_ boolean and instead have min = INF and max = -INF denote the case when a bounding box is degenerate. This helps reduce branching and SSE'ifying BoundingBox. SSE optimize some hot BoundingBox functions. 2015-10-13 13:58:04 +03:00
Jukka Jylänki
a44466c150 SSE optimize Quaternion.h. 2015-10-13 13:52:48 +03:00
Lasse Öörni
af5a14c3d9 Mark potentially dangerous math class constructors explicit. Closes #947. 2015-10-13 11:18:12 +03:00
Lasse Öörni
bb6a501d7d Merge remote-tracking branch 'juj/hot_sse' 2015-10-13 10:55:11 +03:00
Yao Wei Tjong 姚伟忠
c5c78603da Remove the workaround command for setting linker flags.
[ci skip]
2015-10-13 09:53:53 +08:00
Yao Wei Tjong 姚伟忠
0e4ba63687 Only initialize the URHO3D_DEFAULT_SSE variable only once. 2015-10-13 09:30:52 +08:00
Yao Wei Tjong 姚伟忠
a6dbb2c06d Merge branch 'juj-allow_enable_sse_on_emscripten' into master. 2015-10-13 09:08:12 +08:00
Jukka Jylänki
f24af4ee9b Enable setting -DURHO3D_SSE=1 on Emscripten, but leave it disabled by default. 2015-10-13 00:30:09 +03:00
Jukka Jylänki
fd6a6e9336 SSE optimize Quaternion multiplication. 2015-10-12 20:45:38 +03:00
Jukka Jylänki
86e86bcd30 SSE optimize BoundingBox::Transformed(). 2015-10-12 20:45:38 +03:00
Jukka Jylänki
4ffff7ab4c SSE optimize Matrix3x4 construction from translation, rotation and scale. 2015-10-12 20:45:37 +03:00
Lasse Öörni
173080cbc8 Make bounding box undefined if it was clipped to be degenerate. Closes #944. 2015-10-12 12:10:45 +03:00
Lasse Öörni
d09a94aa8f Minor doc edit related to SSE. 2015-10-12 11:50:58 +03:00
Lasse Öörni
52805e2709 Merge remote-tracking branch 'juj/sse_matrix_math' 2015-10-12 11:49:14 +03:00
Lasse Öörni
3988f8873e Merge remote-tracking branch 'juj/unsynchronized_jacks' 2015-10-12 11:44:26 +03:00
Yao Wei Tjong 姚伟忠
d45c85302b Rectify wrong object registration.
[ci skip]
2015-10-12 15:37:38 +08:00
aster2013
b7ee2575d7 Convert tab to spaces, [ci skip] 2015-10-12 13:59:54 +08:00
aster2013
27184504c9 Reset slots to setup pose, fix issue #932. 2015-10-12 13:40:47 +08:00
urho3d-travis-ci
7af9276249 Travis CI: API documentation update at 2015-10-12 04:35:21 UTC.
[ci package]

Commit: 96917c5412

Message: Minor Fix, Thanks @weitjong
2015-10-12 04:35:21 +00:00
aster2013
96917c5412 Minor Fix, Thanks @weitjong 2015-10-12 11:42:16 +08:00
aster2013
5d31552b82 Merge branch 'type-info' 2015-10-12 11:19:42 +08:00
aster2013
a1105f7d38 Minor refactor, add comment to type info. 2015-10-12 10:31:38 +08:00
Lasse Öörni
04dba029ed Clarifications for third party library use in the contribution checklist. 2015-10-11 20:14:01 +03:00
Jukka Jylänki
bf9111b862 Make Jacks not walk in synchronized lockstep timing in 06_SkeletalAnimation sample. 2015-10-11 19:05:51 +03:00
aster2013
3a948899a7 Add type info, remove BASEOBJECT macro, now user can use type info check object type. for example:
Button::IsTypeOf<UIElement>() is ture, Button::IsTypeOf<BorderImage>() is ture, Button::IsTypeOf<CheckBox>() is false.
2015-10-11 23:26:29 +08:00
aster2013
6bd1d77634 Add baseTypeName argument to OBJECT macro. 2015-10-11 22:17:55 +08:00
Yao Wei Tjong 姚伟忠
08e0b3bd62 Switch off SSE when targeting iOS/iPhoneSimulator as well. 2015-10-11 12:54:19 +08:00
Yao Wei Tjong 姚伟忠
c44ff392df Minor clean up to remove redundant linker flag.
[ci skip]
2015-10-11 09:52:00 +08:00
Lasse Öörni
1a317e63ce Actually allow to enable the threading option on Emscripten platform. Define the required compiler & linker flag when enabled. 2015-10-11 01:11:56 +03:00
Jukka Jylänki
3ac2cb6e37 Avoid depending on 64-bit only function _mm_cvtsi128_si64() in Matrix operator == to allow targeting 32-bit as well. 2015-10-11 01:07:01 +03:00
Jukka Jylänki
00be823f71 Update URHO3D_SSE to denote SSE2. 2015-10-11 00:12:13 +03:00
Lasse Öörni
af7ed744f0 URHO3D_THREADING build option. Closes #939. 2015-10-10 23:17:03 +03:00
Jukka Jylänki
0107a0bf75 SSE optimize Urho3D/Math/Matrix3x4.h and Urho3D/Math/Matrix4.h. These yield a ~3% improvement in 06_SkeletalAnimation sample with 2000 Jacks in it. 2015-10-10 21:20:29 +03:00
Lasse Öörni
da81b99ca3 Do not return a resolution list containing 1x1 on Emscripten, rather return empty. Do not check fullscreen mode validity if the resolution list is empty. 2015-10-10 19:29:28 +03:00
Yao Wei Tjong 姚伟忠
ec125f2952 Switch off SSE for 64-bit arm platforms as well.
[ci only: Android, OSX, Coverity]
2015-10-10 23:15:48 +08:00
Lasse Öörni
e6e16b90ed Minor code formatting. Document that we have returned to the old behavior of not notifying dirty node transform if it was already dirty before, and users of the TransformChanged() function should read the node's world transform to ensure continued notifications. 2015-10-10 14:42:29 +03:00
Jukka Jylänki
d168ab9d91 Optimize Node::MarkDirty() implementation by a) relying on the invariant that all children of a dirty node must also be dirty, and that all parents of a clean node must also be clean, b) avoid double-dereferencing Component WeakPtr in listeners, c) use the swap-with-last erase trick to avoid O(n^2) behavior in removing listeners, and d) perform tail call optimization to avoid excessive recursive function calls when marking children dirty. This optimizes the Node::MarkDirty() time in 06_SkeletalAnimation scene with 2000 Jacks from 42.73% down to 16.43%, a net saving of -61.5% less time spent in that call site. Closes #931. 2015-10-10 14:42:28 +03:00
Yao Wei Tjong 姚伟忠
ace1f1155b Avoid hardcoding the conditional list for URHO3D_SSE build option.
Android on Intel Atom will now have this option and defaulted to true.
2015-10-10 19:16:14 +08:00
Yao Wei Tjong 姚伟忠
fde2ad45ac Fix Android and Raspberry-Pi build by always disabling SSE support.
[ci only: RPI, Android]
2015-10-10 17:49:29 +08:00
Yao Wei Tjong 姚伟忠
d05226e448 Only include object/bitcode files when archiving the hard way on Win.
Fix #937.
[ci only: master, Emscripten]
2015-10-10 12:12:34 +08:00
urho3d-travis-ci
2d80a25394 Travis CI: API documentation update at 2015-10-09 22:24:01 UTC.
[ci package]

Commit: 4bdd80775b

Message: Add accelerator keys for reset pos/rot/scale also in editor standard mode. Add reset transform function (Alt-Q).
2015-10-09 22:24:01 +00:00
Lasse Öörni
4bdd80775b Add accelerator keys for reset pos/rot/scale also in editor standard mode. Add reset transform function (Alt-Q). 2015-10-10 01:09:06 +03:00
Lasse Öörni
0e8aafbbb6 Make the Slerp approximation conditional of Emscripten platform to preserve consistency with rest of the math operations. 2015-10-09 23:24:04 +03:00
Lasse Öörni
7287e02278 Expose Node::MarkDirty() to AngelScript for consistency. 2015-10-09 23:12:30 +03:00
Lasse Öörni
f9de34e994 Code formatting. 2015-10-09 22:34:11 +03:00