Commit Graph

9836 Commits

Author SHA1 Message Date
Lasse Öörni
6f8164c492 Script bindings for anchor/pivot settings. Edit comments. 2016-10-02 13:43:19 +03:00
ninjastone
93f009d882 Fixed missing argument 2016-10-02 13:43:18 +03:00
ninjastone
e1724b84e5 Changed FLT_MAX to std::numeric_limits 2016-10-02 13:43:17 +03:00
ninjastone
9c4b0b169d Fixed read only attributes in serialization.
Added flags to UIElement for compatibility.
2016-10-02 13:43:17 +03:00
ninjastone
6fb6de2873 Added some comments. 2016-10-02 13:43:16 +03:00
ninjastone
68f4657528 Add anchor and pivot to UIElement. 2016-10-02 13:43:15 +03:00
Yao Wei Tjong 姚伟忠
0ce83450fb Auto-turning off PCH on Android build when using Clang compiler.
This is a temporary workaround until the actual root cause that causes the build error is found and fixed.
2016-10-02 09:59:52 +08:00
urho3d-travis-ci
1377657b2d Travis CI: API documentation update at 2016-10-01 13:05:53 UTC.
[ci package]

Commit: 0ea9ed6e34

Message: Possibility in DecalSet to size VB/IB to only size used by decals. Default off; causes reallocation whenever decals are added/removed and thus can have worse performance.
2016-10-01 13:05:53 +00:00
Lasse Öörni
0ea9ed6e34 Possibility in DecalSet to size VB/IB to only size used by decals. Default off; causes reallocation whenever decals are added/removed and thus can have worse performance. 2016-10-01 15:51:10 +03:00
Lasse Öörni
72c2e82ee8 Support for bool & int constants in materials on OpenGL & Direct3D11. Added int uniform support to OpenGL. Removed code duplication for setting a Variant shader parameter. 2016-09-30 18:55:00 +03:00
Lasse Öörni
fa42bc6a8f Fix erroneous reuse of the backbuffer depth buffer when multisampling is used. Closes #1625. 2016-09-30 14:48:24 +03:00
urho3d-travis-ci
c797ba266c Travis CI: API documentation update at 2016-09-29 20:38:21 UTC.
[ci package]

Commit: 562b193ef5

Message: Add delta parameter to UIElement::OnResize() and the Resized event.
2016-09-29 20:38:22 +00:00
Lasse Öörni
562b193ef5 Add delta parameter to UIElement::OnResize() and the Resized event. 2016-09-29 23:12:25 +03:00
Lasse Öörni
7658ad39c7 Remove commented out shader code. 2016-09-29 20:49:40 +03:00
urho3d-travis-ci
102a137a4d Travis CI: API documentation update at 2016-09-28 18:04:08 UTC.
[ci package]

Commit: 2868854338

Message: Clarify Texture2D::SetSize() & fix tabs.
2016-09-28 18:04:08 +00:00
Lasse Öörni
2868854338 Clarify Texture2D::SetSize() & fix tabs. 2016-09-28 20:26:26 +03:00
Lasse Öörni
fc42e5d98e Merge branch 'multisample-textures' 2016-09-28 19:41:08 +03:00
Lasse Öörni
3a5a85151e Instead of specific fix in Material, convert double Variants to float on demand in Graphics::SetShaderParameter(). Closes #1621. 2016-09-28 19:39:01 +03:00
Lasse Öörni
1bb04b2cbd Avoid getting a light's lightMask constantly when looping over geometries, rather get it once into a stack variable. 2016-09-28 01:16:01 +03:00
Lasse Öörni
fee755e942 To restore lost performance, move less critical Node variables to an implementation struct to reduce Node instance memory size, and restore old unsafe PODVector operation that does not allow self-insertion. 2016-09-28 00:43:43 +03:00
Lasse Öörni
f13a10cb0c Fix behavior of SoundSource debug icons in editor. Closes #1620. 2016-09-27 20:21:16 +03:00
Lasse Öörni
174e555303 Fix incorrect transform of decal normals when decal is not in same node as target geometry. Closes #1618. 2016-09-26 23:03:58 +03:00
Lasse Öörni
bb057522ad Remove static TypeInfo checking functions, as they cannot function properly due to always accessing the TypeInfo of Object class. 2016-09-26 21:53:46 +03:00
Lasse Öörni
3ca4bb25c3 For consistency/safety, release the surface also when failing to acquire. Closes #1050. 2016-09-26 12:29:19 +03:00
Lasse Öörni
90e376c9cc Add documentation on multisampled rendertargets. 2016-09-26 12:04:03 +03:00
Lasse Öörni
c923476847 Merge branch 'master' into multisample-textures
# Conflicts:
#	Docs/Reference.dox
2016-09-26 10:52:54 +03:00
Lasse Öörni
f01024881f Add multisampling possibility for VSM shadows. 2016-09-25 23:59:57 +03:00
Lasse Öörni
46793bbb72 Match multisample mode of the substitute rendertarget & screen buffers with the final destination rendertarget. 2016-09-25 19:31:24 +03:00
Lasse Öörni
749c283fb7 Since it appears none of the APIs support sampling a multisampled cube texture, remove the autoresolve parameter and always set it true if multisampled for cube textures. Make it a warning (not error) to attempt no autoresolve for a 2D multisampled texture on Direct3D9. 2016-09-25 17:14:10 +03:00
Lasse Öörni
76911afe38 Fix D3D11 multisampled cube texture creation. 2016-09-25 02:53:25 +03:00
Lasse Öörni
37e002e58b D3D11 multisampled cube texture. Refactoring / cleanup of D3D error logging and GPU object release. 2016-09-25 01:46:58 +03:00
Lasse Öörni
f07f3e8c91 OpenGL multisampled cube texture. 2016-09-25 00:12:53 +03:00
Lasse Öörni
1017e82fd9 Ignore files with no filename component for XML parsing in EditorResourceBrowser. .gitignore etc. 2016-09-24 19:36:03 +03:00
Lasse Öörni
32192bc7fb Remove unnecessary iteration from StaticModelGroup to update node ID's. Instead update ID's when asked. 2016-09-24 19:24:51 +03:00
Lasse Öörni
f635df3cb1 Fix uninitialized memory in Material. Closes #1615. 2016-09-24 19:24:50 +03:00
Yao Wei Tjong 姚伟忠
201cfc991c Use CMake's regex instead of 'grep' because it is not universal.
The 'grep' command on macOS is from BSD which requires different option than Linux one to enable extended or Perl-compatible regex parsing.
[skip appveyor] [ci only: OSX]
2016-09-24 13:01:44 +08:00
Lasse Öörni
f89c4e4dfb Merge pull request #1612 from eugeneko/master
Minor changes
2016-09-23 22:32:13 +03:00
Lasse Öörni
4c2e2b713b Fix out of bounds array access when material quality is higher than high. Closes #1611. 2016-09-23 22:21:41 +03:00
Eugene Kozlov
3c585a15c9 Add Vector::Resize and PODVector::Resize overloads. 2016-09-23 21:01:07 +03:00
Eugene Kozlov
14e057a70d Make EnumAttributeAccessorImpl compatible with enum classes. 2016-09-23 20:43:32 +03:00
Eugene Kozlov
12499aa0d0 Virtualize some member functions of StaticModel. 2016-09-23 20:43:32 +03:00
urho3d-travis-ci
52efdb31cb Travis CI: API documentation update at 2016-09-23 15:48:26 UTC.
[ci package]

Commit: a1e2bc9bd3

Message: Make shader cache location configurable, default urho3d/shadercache in app preferences, to avoid writing to write-protected installation directory by default. Instructions in porting notes to restore earlier behavior. ShaderCacheDir & PackageCacheDir parameters added to engine startup parameters. Fix GetResourceFileName() function to return the unmodified filename if it's absolute and exists. Remove unnecessary mutex lock from GetResourceFileName(). Remove some code duplication from Graphics class implementations. Closes #1610.
2016-09-23 15:48:26 +00:00
Lasse Öörni
a1e2bc9bd3 Make shader cache location configurable, default "urho3d/shadercache" in app preferences, to avoid writing to write-protected installation directory by default. Instructions in porting notes to restore earlier behavior. ShaderCacheDir & PackageCacheDir parameters added to engine startup parameters. Fix GetResourceFileName() function to return the unmodified filename if it's absolute and exists. Remove unnecessary mutex lock from GetResourceFileName(). Remove some code duplication from Graphics class implementations. Closes #1610. 2016-09-23 18:36:40 +03:00
Lasse Öörni
c745d2ea52 Multisampled cube rendertarget on Direct3D9. 2016-09-23 09:55:10 +03:00
urho3d-travis-ci
5aa0b0613e Travis CI: API documentation update at 2016-09-22 18:51:31 UTC.
[ci package]

Commit: fe2e70db13

Message: Clean up view event sending code. Add 2 new view events: buffers allocated, and global shader parameters set.
2016-09-22 18:51:31 +00:00
Lasse Öörni
fe2e70db13 Clean up view event sending code. Add 2 new view events: buffers allocated, and global shader parameters set. 2016-09-22 21:42:30 +03:00
Yao Wei Tjong 姚伟忠
565744e8b5 For CI - no need to turn PCH off explicitly anymore as it is now auto. 2016-09-22 22:15:36 +08:00
Lasse Öörni
08b083b323 Tightening of shadow related function signatures on GLES. Related to #1607. 2016-09-22 16:33:43 +03:00
Yao Wei Tjong 姚伟忠
1089763457 Automatically turning off PCH when using Clang on bad ccache version. 2016-09-21 23:51:36 +08:00
Lasse Öörni
3b4f4d4c0c Clear multisampling from texture on GLES and log warning. 2016-09-21 00:41:00 +03:00