Lasse Öörni
|
5f0ed3fcf8
Fix more header warnings that could leak to an Urho3D application using maximum MSVC warning level.
|
11 years ago |
Lasse Öörni
|
8ab908b1c9
Configurable max work time in ms per frame for finishing background loaded resources, and for non-threaded work in WorkQueue. Fix iteration bug if finishing several background loaded resources in one go.
|
11 years ago |
Lasse Öörni
|
cdd2dae4fb
Precalculate texture's mip levels during async loading, if applicable. Use a timer to avoid spending too much time per frame on finishing async loaded resources.
|
11 years ago |
Lasse Öörni
|
af11693a35
Use safe form of pointer for the work item in WorkItemCompleted event.
|
11 years ago |
Lasse Öörni
|
e44e3f7652
Only signal work items that have specified or higher priority in WorkQueue::Complete(), to prevent lower priority work item events triggering when they shouldn't (in the middle of render update.) Set explicit max priority in Octree & View items, but leave default priority to the lowest for user items. Removed a static variable from WorkQueue::PurgePool().
|
12 years ago |
Lasse Öörni
|
705d2411ba
Acquire event data for work item completion only when necessary. These are pooled by the Context so it shouldn't hurt performance.
|
12 years ago |
Alex Parlett
|
884be1c22d
Exposed ability to set the tolerance before the pool will begin erasing items.
|
12 years ago |
Alex Parlett
|
e8abdfc366
Added Pool for WorkItem SharedPtrs to save allocation every frame. Its an optional construct to allow the user to create their own pools or not use the pool if they so desire.
|
12 years ago |
Alex Parlett
|
51a1e84248
Changed WorkQueue to use a List<SharedPtr<WorkItem> > and ensure that it doesn't contain duplicates.
|
12 years ago |
Lasse Öörni
|
6d5ddc23e0
Bump the copyright for 2014.
|
12 years ago |
Lasse Öörni
|
76292ef63e
Centralize allocation of event data variant maps to Context to avoid constant dynamic memory allocation.
|
12 years ago |
Wei Tjong Yao
|
02512cecf9
In order to move the out-of-source 'build' directory back to Urho3D project root directory, all the source codes sub-directories are now moved down one level to a new directory under project root called 'Source'.
|
12 years ago |