Commit Graph

9886 Commits

Author SHA1 Message Date
Lasse Öörni
f8d636426c Make ShaderVariation class header API-agnostic. 2016-06-25 16:00:44 +03:00
Lasse Öörni
9b51baa445 Separate ConstantBuffer to API-independent and -specific implementations, and unify the header. Add dummy D3D9 constant buffer implementation (that only logs error if used) so that user will not get link errors if attempting to use. 2016-06-24 20:50:05 +03:00
Lasse Öörni
6775038a44 Eliminate more duplication of API-independent index / vertex buffer code. 2016-06-24 15:15:02 +03:00
Lasse Öörni
db7f3bb56a Fix dynamic flag not being set for D3D9 vertex buffer. 2016-06-24 14:56:12 +03:00
Lasse Öörni
51b026f33d Unify IndexBuffer & VertexBuffer headers for all APIs. Move API-independent parts of vertex / index buffers to their own implementation files to eliminate code duplication. 2016-06-24 14:30:55 +03:00
Lasse Öörni
1ba87dae4c Get rid of API-specific GPUObject class header & implementation. 2016-06-24 02:17:06 +03:00
Yao Wei Tjong 姚伟忠
35a616448a Merge commit 'a1a9ce7817286783347acfbcce94bfd659915b66' into master. 2016-06-23 22:05:25 +08:00
Yao Wei Tjong 姚伟忠
a1a9ce7817 Squashed 'Source/ThirdParty/SDL/' changes from 707b945..a901827
a901827 Cherry-pick commits containing Mir and Wayland bug fixes.
42906b1 Fix cross-compiling builds using X11 shared libraries.
8bf5499 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).
05b669a Fix cross-compiling builds using readline shared library.
bc7faa3 Reduce direct exposure to SDL headers as much as possible.
0202a35 Mark the SDL source code changes to comply with its license.
1c7c765 Fix memory leak in SDL library.
bcfa945 Quick fix to suppress confusing output msgs from SDL's CMakeLists.txt. [ci skip]
e674a2d Attempt to fix SDL OpenGLES auto-detection for Emscripten on Windows.
70d7782 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.
39b0d93 Disable the in_title_click data & focus_click_pending tests for SDL windows mouse warp, as it seems to lead into issues when regaining focus. Closes #1258.
9e4599a Applied patch to fix undefined reference error when compiling for Wayland on Linux.
8bb4927 Fix all the cross-compiling builds due to bugs in SDL CMakeLists.txt. Fix SDL library build on iOS platform.
8111296 Fix all the cross-compiling builds due to bugs in SDL CMakeLists.txt. Fix SDL library build on Web platform.
c0843ff Fix all the cross-compiling builds due to bugs in SDL CMakeLists.txt. Fix SDL library build on Windows platform.
97b13a3 Set CMake minimum version to 3.2.3 for Windows platform. This is in preparation to use optional components feature of find_package() command for FindDirectX.cmake module (was FindDirect3D).
c2b276b Refactor the CPU instruction extensions detection mechanism. Fix SDL build on the latest Raspbian Jessie release.
c6e37b0 Fix all the cross-compiling builds due to bugs in SDL CMakeLists.txt. Fix SDL library build on Linux, Android, and RPI platforms.
ad600cb Integrate SDL's original CMakeLists.txt into Urho3D build system. Close #1046. Close #1123. Close #1172.
6f8be44 Utilize new SDLActivity's get arguments feature.

git-subtree-dir: Source/ThirdParty/SDL
git-subtree-split: a9018279076a85c41db22a2cc52c27694c6b67cc
2016-06-23 22:05:24 +08:00
Yao Wei Tjong 姚伟忠
993e82f9ec Fix cross-compiling builds using X11 shared libraries. 2016-06-23 20:08:34 +08:00
urho3d-travis-ci
c88891fa6f Travis CI: API documentation update at 2016-06-23 12:02:08 UTC.
[ci package]

Commit: e8559b316a

Message: Add events for node/component being cloned. These are sent by their owning scene after the cloning process (along with all attributes set) is complete.
2016-06-23 12:02:08 +00:00
Lasse Öörni
e8559b316a Add events for node/component being cloned. These are sent by their owning scene after the cloning process (along with all attributes set) is complete. 2016-06-23 14:52:06 +03: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
Lasse Öörni
489356a29f Cleanup editor debug icon code to not do constant resizes of billboardsets to zero and back, and to use fixed screen size mode to eliminate need for manual sizing. BillboardSet::SetNumBillboards() is no-op if count remains same. Fix BillboardSet fixed size bug when changing between ortho & perspective camera. Do not care to resize scratch buffer smaller if it's below 1MB. Add scratch buffer debug messages also to OpenGL Graphics class for consistency. Closes #1434. 2016-06-21 22:19:42 +03:00
urho3d-travis-ci
618fd25691 Travis CI: API documentation update at 2016-06-21 16:05:19 UTC.
[ci package]

Commit: 4279990ea8

Message: Minor fixes. Add script bindings and documentation for the new renderpath command.
2016-06-21 16:05:19 +00:00
Lasse Öörni
4279990ea8 Minor fixes. Add script bindings and documentation for the new renderpath command. 2016-06-21 18:54:57 +03:00
Lasse Öörni
3a0488fec1 Merge remote-tracking branch 'OldSnake22/master' 2016-06-21 18:10:51 +03:00
Franck Poulain
332fe215f6 SendEvent new renderpath command 2016-06-21 14:15:53 +02:00
Lasse Öörni
1f3c4ddbc4 Added contributor credit. 2016-06-21 11:47:07 +03:00
Franck Poulain
bcac85a0ac Tabs to spaces 2016-06-20 14:12:44 +02:00
Franck Poulain
f0775adfbc Change View::FindNamedTexture() function to be public 2016-06-20 14:10:18 +02:00
Yao Wei Tjong 姚伟忠
157e55ec44 Minor documentation update on optional Linux prerequisite packages. 2016-06-17 15:00:26 +08:00
urho3d-travis-ci
9f90bdd571 Travis CI: API documentation update at 2016-06-16 18:56:49 UTC.
[ci package]

Commit: dc74d3dbc0

Message: Remove commented out lines, add MarkNetworkUpdate() to SetUpdateInvisible().
2016-06-16 18:56:49 +00:00
Lasse Öörni
dc74d3dbc0 Remove commented out lines, add MarkNetworkUpdate() to SetUpdateInvisible(). 2016-06-16 21:47:28 +03:00
Yusuf Umar
a9f7703f74 Add update invisible parameter to RibbonTrail and use it on the samples. 2016-06-16 18:09:09 +07:00
urho3d-travis-ci
797d33da94 Travis CI: API documentation update at 2016-06-16 05:39:07 UTC.
[ci package]

Commit: 239c0265a0

Message: Fix a typo in RibbonTrail's attribute and other minor cleanups.
2016-06-16 05:39:08 +00:00
Yao Wei Tjong 姚伟忠
239c0265a0 Fix a typo in RibbonTrail's attribute and other minor cleanups. 2016-06-16 13:28:02 +08:00
urho3d-travis-ci
54143eba49 Travis CI: API documentation update at 2016-06-15 18:51:59 UTC.
[ci package]

Commit: 6d046d57c8

Message: More minor code, comment and tab-to-spaces changes. Use the more specific TrailPoint struct name instead of Point, and export it in case a derived class wants to manipulate them. Add RibbonTrail to documentation's drawable class list.
2016-06-15 18:51:59 +00:00
Lasse Öörni
6d046d57c8 More minor code, comment and tab-to-spaces changes. Use the more specific TrailPoint struct name instead of Point, and export it in case a derived class wants to manipulate them. Add RibbonTrail to documentation's drawable class list. 2016-06-15 21:16:28 +03:00
Yusuf Umar
1f7c5c8a59 Delete some debug leftovers and fix big index buffer size. 2016-06-15 21:16:27 +03:00
Lasse Öörni
f6d413aee4 Minor comment and code convention edits. 2016-06-15 21:14:59 +03:00
Frode Lindeijer
d534b3376b Refined RibbonTrail icon. 2016-06-15 21:14:59 +03:00
Yusuf Umar
08fdf0dda0 Fixing corrupted textures. 2016-06-15 21:14:58 +03:00
Yusuf Umar
f9e65027e3 Implementing RibbonTrail 2016-06-15 21:14:58 +03:00
urho3d-travis-ci
bb658965c2 Travis CI: API documentation update at 2016-06-14 18:51:53 UTC.
[ci package]

Commit: 27f40f15be

Message: Add contributor credit.
2016-06-14 18:51:53 +00:00
Lasse Öörni
27f40f15be Add contributor credit. 2016-06-14 21:38:06 +03:00
Lasse Öörni
67e80aa61e Add brief documentation section on defining extra per-instance data. 2016-06-14 21:36:31 +03:00
Eugene Kozlov
c92894d250 Add support of custom per-instance data in batches. 2016-06-13 18:06:38 +03:00
Yao Wei Tjong 姚伟忠
224320d6d0 Add missing include for iOS build. 2016-06-11 23:34:53 +08:00
Yao Wei Tjong 姚伟忠
3668e1d9d1 For CI - address the limitation of Travis CI's caching logic.
Travis CI is not able to find the matching cache file in their cache store for the newly created CI mirror branches for new topic branch. As the result, the initial CI jobs run without the benefit of the ccache. For OSX and iOS universal binary builds, this would usually cause our custom interrupt mechanism to be triggered. To avoid that, when cache size is 0 then we configure the build system to only build for 64-bit arch. Basically half the number of archs in the universal build.
2016-06-11 22:56:57 +08:00
Yao Wei Tjong 姚伟忠
a5b4512966 Reduce direct exposure to SDL headers as much as possible. 2016-06-11 21:58:22 +08:00
Yao Wei Tjong 姚伟忠
eff1cd46b9 Sort samples list, just for consistency sake. 2016-06-11 20:43:33 +08:00
Lasse Öörni
3b4b354d51 If targeting 60 fps or above on iOS, skip the framelimiter sleep loop, since it could cause running below 60 fps even if the frame was executed fast enough. 2016-06-11 15:12:32 +03:00
Yao Wei Tjong 姚伟忠
d0bcac5fe0 Ensure iPhoneOS and iPhoneSimulator use the same code path.
This commit should also fix the issue reported in issue #1369.
2016-06-11 13:11:38 +08:00
Lasse Öörni
576216c3c2 Fix MOBILE_GRAPHICS define not being defined on iOS, which would break shadow rendering. 2016-06-11 04:31:36 +03:00
Lasse Öörni
f4f3ffde76 Improve comment for Renderer::SetDynamicInstancing(). 2016-06-11 03:48:14 +03:00
Lasse Öörni
391d93ced0 Use nanosleep instead of usleep. Closes #1413. 2016-06-10 23:51:09 +03:00
Lasse Öörni
b3f6278b6f Add contributor credit and make the description of Boost's role more accurate. 2016-06-10 22:04:37 +03:00
Lasse Öörni
843850079b Update sqlite version also in dox file. 2016-06-10 22:04:36 +03:00
Loic Blot
ef949533c6 Update to SQLite 3.13.0 2016-06-10 22:04:35 +03:00