Commit Graph

9612 Commits

Author SHA1 Message Date
Lasse Öörni
de956301a0 D3D11 arbitrary vertex attributes. Eliminate constant string manipulation when switching shaders on D3D11. 2016-04-07 14:36:42 +03:00
Lasse Öörni
d6ccd8a644 Reinstate the "null VBO" check to prevent crash from rendering with an uninitialized vertex buffer. 2016-04-07 00:59:05 +03:00
Lasse Öörni
8215c42e37 OpenGL arbitrary vertex attributes. Change GLSL attribute indexing to zero-based to match HLSL, so the second texcoord (lightmaps, billboard sizes) is now called texCoord1, and instancing texcoords are texCoord4,5,6. 2016-04-07 00:32:41 +03:00
Yao Wei Tjong 姚伟忠
9181173e43 For Travis - do not split the time when reaching each make's target.
Tighten up to only perform more granular timeup check on the longest build process on Xcode as it may overshoot due to universal binary build.
2016-04-06 13:24:46 +08:00
Lasse Öörni
06d8ea602d Move legacy vertex element information to GraphicsDefs.cpp so that it doesn't have to be repeated for different graphics APIs. 2016-04-06 00:39:23 +03:00
Lasse Öörni
ab1902ad0a When creating a vertex declaration, do not go through current buffer's elements unnecessarily when looking for elements to override. 2016-04-06 00:16:12 +03:00
Yao Wei Tjong 姚伟忠
6d089c28a3 For Travis - use alternative way to detect make's time up.
Do not rely on the actual exit code from GNU make because it appears the code is different between Linux version and Darwin version.
[ci only: OSX] [skip appveyor]
2016-04-05 22:14:51 +08:00
urho3d-travis-ci
1f2ee21135 Travis CI: API documentation update at 2016-04-05 11:40:12 UTC.
[ci package]

Commit: 0c10106cd8

Message: Dummy implementation for D3D9 Texture2DArray. Texture2DArray Lua bindings.
2016-04-05 11:40:12 +00:00
Lasse Öörni
0c10106cd8 Dummy implementation for D3D9 Texture2DArray. Texture2DArray Lua bindings. 2016-04-05 14:31:33 +03:00
Lasse Öörni
e0e5bb713a Special case check for LOG_RAW in Log::Write(). Closes #1307. 2016-04-05 12:21:17 +03:00
Yao Wei Tjong 姚伟忠
01b86ba68a For Travis CI - more granular timeup check to avoid timeout error.
[ci only: OSX] [skip appveyor]
2016-04-05 16:36:33 +08:00
Yao Wei Tjong 姚伟忠
9571cfe2a8 Only give MinGW compiler version too low warning once.
[ci skip]
2016-04-05 07:34:31 +08:00
Yao Wei Tjong 姚伟忠
e6121551bc Refactor SIMD support. Related to #1293. 2016-04-05 06:35:47 +08:00
Lasse Öörni
6a3f61f770 Fix billboard rendering. Calculate legacy vertex element bitmask only once. When setting vertex data for directional billboards, query camera world position just once. 2016-04-05 01:19:26 +03:00
Lasse Öörni
9523a36334 Fix Lua bindings & declaration of legacy vertex elements. 2016-04-05 00:32:18 +03:00
Lasse Öörni
9fd22d3323 Fix instance texture coordinate in HLSL shaders. 2016-04-05 00:32:17 +03:00
Lasse Öörni
a458d30fd5 Initial freeform vertex declarations for D3D9. 2016-04-05 00:32:17 +03:00
Lasse Öörni
55d1d82784 Improved occluder sorting contributed by Enhex. Closes #1305. 2016-04-04 20:47:12 +03:00
Lasse Öörni
0987d15a5f Update documentation for 2D array textures. Closes #1236. 2016-04-04 20:33:33 +03:00
Lasse Öörni
93927e39e6 Merge remote-tracking branch 'cosmy1/update-libcpuid' 2016-04-04 19:55:12 +03:00
Lasse Öörni
deaeb1d9fa Merge remote-tracking branch 'r-ku/c++11-events' 2016-04-04 19:31:06 +03:00
rokups
740ff3491a C++11 event binding (lambdas/std::bind).
Removed redundant EventHandler() constructor.
2016-04-04 16:43:33 +03:00
hdunderscore
ace93bd98a - Fix touch input bug (https://github.com/urho3d/Urho3D/issues/1303)
- Fix event name typo in script samples.
2016-04-04 19:36:53 +10:00
Yao Wei Tjong 姚伟忠
4d67a73bfc Adjust CMakeLists.txt as now STB is a header-only implementation.
Additionally, remove all the local changes as they are either not required as the bug has already been fixed upstream or there are other ways to do what we want to do without altering the original code.
2016-04-03 16:45:40 +08:00
Yao Wei Tjong 姚伟忠
5fa31a5194 Squashed 'Source/ThirdParty/STB/' content from commit 918ad3d
git-subtree-dir: Source/ThirdParty/STB
git-subtree-split: 918ad3d0acb40a507c80bfc72b855d1905e3dfb4
2016-04-03 16:44:10 +08:00
Yao Wei Tjong 姚伟忠
81146fb816 Merge commit '5fa31a5194c0bf3a93662670a6e8f77cb6efddc0' as 'Source/ThirdParty/STB' 2016-04-03 16:44:10 +08:00
Yao Wei Tjong 姚伟忠
7a8986813f Replace Source/ThirdParty/STB subdirectory with subtree. 2016-04-03 16:44:06 +08:00
cosmy
455b44da7b Update libcpuid version in documentation files 2016-04-02 22:31:05 +02:00
cosmy
b8054fc057 Update libcpuid to 0.2.2 2016-04-02 22:29:34 +02:00
Lasse Öörni
3cb270060f Fix compile for OpenGL ES 2.0. 2016-04-02 20:42:32 +03:00
urho3d-travis-ci
3ee4483e39 Travis CI: API documentation update at 2016-04-02 15:40:08 UTC.
[ci package]

Commit: b8e2df4373

Message: Merge pull request #1298 from cosmy1/patch-9

Use _WIN32 for code consistency
2016-04-02 15:40:08 +00:00
Lasse Öörni
b8e2df4373 Merge pull request #1298 from cosmy1/patch-9
Use _WIN32 for code consistency
2016-04-02 18:17:39 +03:00
Lasse Öörni
30fbe453ef Add AngelScript binding (when applicable) for Texture2DArray. 2016-04-02 18:10:50 +03:00
cosmy1
a6b9fb3f8b Use _WIN32 for code consistency 2016-04-02 16:12:53 +02:00
reattiva
e253afe756 Fixed D3D9 build. 2016-04-02 10:37:08 +02:00
reattiva
88d403b9b8 Added Texture2DArray. 2016-04-02 02:04:42 +02:00
Yao Wei Tjong 姚伟忠
c833a03b9f Fix sincosf() function detection. Hide new defines from Urho3D.pc. 2016-04-01 08:28:21 +08:00
Yao Wei Tjong 姚伟忠
c9de118b01 For MSVC compiler, make COMPILER_VERSION synonym to MSVC_VERSION. 2016-04-01 07:43:46 +08:00
Lasse Öörni
e9b094c8d2 Check for existence of sincosf / __sincosf instead of guessing. Closes #1294. 2016-03-31 23:33:50 +03:00
Lasse Öörni
9abc4712a6 Remove unneeded GetD3DColor() function from D3D11 code. 2016-03-31 11:45:02 +03:00
Yao Wei Tjong 姚伟忠
ce434a5057 Attempt to fix nanodbc library build using VS2015.
Disable URHO3D_DATABASE_ODBC build option when MSVC compiler version is less than 14.0 (VS2015).
[skip travis]
2016-03-31 13:29:51 +08:00
Lasse Öörni
a2d26d8797 AngelScript ScriptInstance attribute storage during hot reload. Also restores attributes for later use if hot reload resulted in an error and inability to recreate the object right away. Closes #1291. 2016-03-30 22:23:23 +03:00
Lasse Öörni
8af9f4785e Remove the special script attribute storage mechanism. 2016-03-30 20:54:43 +03:00
Yao Wei Tjong 姚伟忠
929d8acbae Misc. bug fixes and refactoring in configuring SDL library build.
- Fix the regex to get the shared library soname correctly.
- Use the GCC_ATOMIC and CLOCK_GETTIME whenever they are available.
- Reorganize the if-else block in the SDL CMakeLists.txt to prevent Unix-like platforms (e.g. Android) from entering the block meant for genuine Unix/Linux.
- and more.
2016-03-30 07:15:20 +08:00
Yao Wei Tjong 姚伟忠
c9560bd223 For Travis and AppVeyor - show last checkpoint at the desired place.
Account for differences between Travis (which has built-in cache uploading support) and AppVeyor (which uses cmd "shell" that does not handle the '&&' operator at the end of the command correctly), we have to invoke the last 'ci_timer' rake task differently.
2016-03-30 06:54:22 +08:00
Lasse Öörni
d1096470d5 Execute DelayedStart() in ScriptInstance, LuaScriptInstance & LogicComponent before first FixedUpdate() if it comes sooner than Update(). Fix long-standing bug in NinjaSnowWar where the ninja orientation would be overwritten by yaw=0 from controls. 2016-03-29 21:45:18 +03:00
Lasse Öörni
e56682731f Document URHO3D_C++11 build option. Update default values of URHO3D_LUA & URHO3D_SAMPLES build options in the documentation. 2016-03-29 21:45:17 +03:00
rokups
6fd0fa7a5b Aggregate initializers for container types. 2016-03-29 21:45:17 +03:00
rokups
6a9e2eaee7 Expose ValueAnimationInfo in shared library 2016-03-29 21:45:17 +03:00
rokups
3b12edb89d Ignore KDE ".directory" directory settings files 2016-03-29 21:45:16 +03:00