Commit Graph

10202 Commits

Author SHA1 Message Date
Lasse Öörni
a876436066 Compile also in armeabi-v7a mode for faster floating point operations. 2012-05-23 23:40:53 +00:00
Lasse Öörni
8a2ddf4971 Fixed D3D build. 2012-05-23 00:09:04 +00:00
Lasse Öörni
e298ecc5fe Cleaned up ARM function call code. Ensure all calling conventions align the stack. 2012-05-22 23:38:46 +00:00
Lasse Öörni
35416390b6 Reverted the AngelScript workarounds. Instead applied a fix to the Android function call asm code. 2012-05-22 21:43:22 +00:00
Lasse Öörni
cd0668e2d7 Enabled profiler on Android. 2012-05-21 22:56:05 +00:00
Lasse Öörni
19ed675c18 Work around asCALL_CDECL_OBJLAST bug with float as first parameter on Android. 2012-05-21 22:36:28 +00:00
Lasse Öörni
986b90883a Fixed setting Matrix4 uniforms. 2012-05-21 02:53:17 +00:00
Lasse Öörni
a8c622f330 Started work on GLES2 shadow mapping. 2012-05-21 01:29:25 +00:00
Lasse Öörni
da4ae91508 Fixed wrong uniform data size on OpenGL. 2012-05-20 21:38:01 +00:00
Lasse Öörni
dc6c91ed63 Fixed AngelScript pass-by-reference criteria on Android. 2012-05-20 21:23:02 +00:00
Lasse Öörni
0894ce6b65 Fixed endless loop when setting matrix constants on OpenGL ES. 2012-05-20 18:22:36 +00:00
Lasse Öörni
c1c7dcf0ec Code cleanup.
Do not create point light shadow indirection textures if no shadow mapping capability.
2012-05-20 16:44:51 +00:00
Lasse Öörni
55c1d677fb Fixed automatic onDestroy() on orientation change. 2012-05-20 15:31:43 +00:00
Lasse Öörni
9a4e69d5bc Removed fillmode, as it is deprecated on some APIs and not currently used in Urho3D.
Fixed missing depth buffer on Android.
Use texture units < 8 on OpenGL ES.
2012-05-20 13:48:38 +00:00
Lasse Öörni
5bb39d77c4 Added function to return a runtime platform identifier string. 2012-05-20 11:29:18 +00:00
Lasse Öörni
58feefc858 Transpose matrices manually for OpenGL ES.
Set landscape mode without titlebar & statusbar on Android.
2012-05-20 11:11:50 +00:00
Lasse Öörni
22f1e3a1eb Enable OpenGL ES2 mode properly.
Fixed shaders.
2012-05-20 01:12:17 +00:00
Lasse Öörni
9408ec74bd Fixed AngelScript object method call crash on Android. 2012-05-20 00:06:26 +00:00
Lasse Öörni
0debc43fed Further Android fixes. 2012-05-19 22:39:30 +00:00
Lasse Öörni
65378ee15b Fixed Android linking & startup issues. 2012-05-19 22:06:58 +00:00
Lasse Öörni
8af8edd603 Android compile fixes. 2012-05-19 18:43:08 +00:00
Lasse Öörni
354f04e6f2 Added Texture::IsCompressed().
OpenGL ES fixes.
2012-05-19 12:17:58 +00:00
Lasse Öörni
040c724485 Fixed access to missing variables. 2012-05-19 10:33:42 +00:00
Lasse Öörni
e34b505ab1 Fixed missing ambient shader combinations. 2012-05-18 23:32:07 +00:00
Lasse Öörni
a47ee41e12 Fixed SM2 shader compile failure. 2012-05-18 23:05:34 +00:00
Lasse Öörni
f9be80a4eb Fixed D3D build. 2012-05-18 07:11:37 +00:00
Lasse Öörni
c3f75ee181 Removed alpha test, as it is deprecated in modern graphics API's. Instead implemented in the pixel shader. 2012-05-18 07:06:36 +00:00
Lasse Öörni
4a5ac216f2 Fixed OpenGL build. 2012-05-17 22:07:05 +00:00
Lasse Öörni
866cd89546 Started work for experimental Android support.
Renamed Signal to Condition.
Do not lock vertex/index buffers when loading a model, instead prepare the data on CPU side, then set it to GPU at once.
2012-05-17 22:03:08 +00:00
Lasse Öörni
6613481147 Slight code reordering. 2012-05-17 17:41:36 +00:00
Lasse Öörni
7331120bac Fixed ragdoll bounding box not updating. 2012-05-16 21:13:27 +00:00
Lasse Öörni
f3f724920c Removed unnecessary include from WorkQueue.
Documentation fixes.
2012-05-16 19:26:07 +00:00
Lasse Öörni
5a54a105fe Eliminated redundant rotation matrix calculations from updating shader parameters.
Prefer GetWorldTransform().RotationMatrix() instead of converting into an intermediate quaternion in Camera.
2012-05-16 18:10:37 +00:00
Lasse Öörni
fbffe32fd8 Synchronized Direct3D renderer function signatures with OpenGL. 2012-05-16 10:45:39 +00:00
Lasse Öörni
78039db8b8 Fixed shader parameter group system for OpenGL renderer. 2012-05-16 10:22:42 +00:00
Lasse Öörni
6f55d9c24e Divided shader parameters into groups for less checking of whether individual parameters need update. 2012-05-16 06:59:27 +00:00
Lasse Öörni
eb9bfbbf36 Simplified AngelScript CMakeLists.txt. 2012-05-15 19:32:25 +00:00
Lasse Öörni
ba7d6e73c7 Handle SDL_QUIT. 2012-05-15 06:22:53 +00:00
Lasse Öörni
5900e3a944 Track the changed SDL window ID properly after screen mode change. 2012-05-14 21:56:26 +00:00
Lasse Öörni
d3e302f197 Added possibility to remove subsystems in explicit order.
Call SDL_Init() & SDL_Quit() from the Graphics subsystem.
Direct SDL events to the proper Input instance based on the window ID.
2012-05-14 19:52:14 +00:00
Lasse Öörni
588c6373ea Applied Piotr's SDL patch. 2012-05-14 16:30:23 +00:00
Lasse Öörni
627d2c94d7 Switched from GLFW & PortAudio back to (modified) SDL 2.0.
Do not draw debug geometry for bones that do not contribute to skinning.
Activate input immediately after title bar drag (Windows) or when the cursor is moved into the client area after title bar drag (Mac & Linux).
2012-05-13 22:28:06 +00:00
Lasse Öörni
5001c19663 Documentation fixes & additions. 2012-05-09 22:29:25 +00:00
Lasse Öörni
d05a89c0a4 Cleanup comments. 2012-05-09 07:22:29 +00:00
Lasse Öörni
d9f9505ae4 Fixed possibility of mistaken procedural event handling if attempted from a script object that does not belong to a ScriptInstance. 2012-05-09 07:21:04 +00:00
Lasse Öörni
8a5d1b5322 Removed the object & module maps from the Script subsystem. Use instead AngelScript userdata to map from script constructs to C++ objects.
Customized asCScriptObject to contain userdata.
2012-05-08 22:40:10 +00:00
Lasse Öörni
e92e3fd138 Tidied up the example scripts to use the KeyDown event instead of polling keypresses. 2012-05-08 20:23:09 +00:00
Lasse Öörni
88b91e129a Do not return negative refcount from an expired weak pointer, but clamp to 0. 2012-05-08 07:17:59 +00:00
Lasse Öörni
6ad8b7dd7e Comments formatting. 2012-05-07 22:34:52 +00:00
Lasse Öörni
f6ca98e0c9 Update rigid body's inertia tensor whenever its transform is forcibly changed, or when it is re-added to the world. 2012-05-07 22:16:25 +00:00