Lasse Öörni
|
d93fdb5aa4
Fix texture reload when device is initially lost.
|
11 жил өмнө |
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 жил өмнө |
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 жил өмнө |
Lasse Öörni
|
94462fc5a0
Ensure a texture is not left in "no GPU object" state if reloading from a file fails. Closes #379.
|
11 жил өмнө |
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 жил өмнө |
Lasse Öörni
|
af9905a891
Fixed the check to reset Texture's requested levels when loading uncompressed. Fixes uncompressed images always having mipmaps.
|
12 жил өмнө |
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 жил өмнө |
Lasse Öörni
|
6d5ddc23e0
Bump the copyright for 2014.
|
12 жил өмнө |
Lasse Öörni
|
20b67638e3
Hack fix for render-to-texture failing on iOS.
|
12 жил өмнө |
Lasse Öörni
|
d723bef62b
On OpenGL ES 2.0, create depth renderbuffers in explicit GL_DEPTH_COMPONENT16 format, as GL_DEPTH_COMPONENT is unsupported on some devices. Possibly a fix for #140.
|
12 жил өмнө |
Lasse Öörni
|
f299c0d815
Fixed Android GL context destroy / restore. Removed project.properties file, as it's generated by the command "android update project".
|
12 жил өмнө |
Lasse Öörni
|
c097d8f122
Fix OpenGL texture partial update.
|
12 жил өмнө |
Wei Tjong Yao
|
978bfe0f3d
Use the instance variable instead of re-obtaining the graphics subsystem from context.
|
12 жил өмнө |
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 жил өмнө |