Lasse Öörni
|
d93fdb5aa4
Fix texture reload when device is initially lost.
|
11 vuotta sitten |
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 vuotta sitten |
Lasse Öörni
|
f194765e78
Background loading of Materials.
|
11 vuotta sitten |
Lasse Öörni
|
8463393377
Initial resource background loading API and implementation. Background loading-capable implementation for textures (load image in background thread, upload image to GPU in main thread), other resources todo.
|
11 vuotta sitten |
Lasse Öörni
|
1f521713e7
Do not store Image resources used during cube/3D texture loading permanently to cache.
|
11 vuotta sitten |
Lasse Öörni
|
94462fc5a0
Ensure a texture is not left in "no GPU object" state if reloading from a file fails. Closes #379.
|
11 vuotta sitten |
Lasse Öörni
|
f1ec4c8a18
Ensure that manually created textures with an assigned name, but no actual file to back their contents, will recreate the GPU object after device loss and set data lost state.
|
11 vuotta sitten |
Lasse Öörni
|
af9905a891
Fixed the check to reset Texture's requested levels when loading uncompressed. Fixes uncompressed images always having mipmaps.
|
12 vuotta sitten |
Lasse Öörni
|
5bc98f68d3
Exposed Texture2D::Load() to Lua. Added Detach() function to SharedPtr which will safely detach the pointer without destroying the object. To only be used in scripting integration. Fixed loading of texture with compressed data first and then uncompressed.
|
12 vuotta sitten |
Lasse Öörni
|
6d5ddc23e0
Bump the copyright for 2014.
|
12 vuotta sitten |
Lasse Öörni
|
5da7d24f94
Fixed bug in D3DTexture2D && D3DTextureCube::SetData() when not setting the whole texture.
|
12 vuotta sitten |
Wei Tjong Yao
|
978bfe0f3d
Use the instance variable instead of re-obtaining the graphics subsystem from context.
|
12 vuotta sitten |
Lasse Öörni
|
fc0264e4b9
Set clamp address mode for all cube textures by default. In OpenGL mode seams may appear otherwise.
|
12 vuotta sitten |
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 vuotta sitten |