Commit Graph

9612 Commits

Author SHA1 Message Date
Lasse Öörni
d7d599be7b Added loading of ETC1 compressed textures on mobile devices. These need to be stored inside .ktx files.
Removed unneeded texture.
2012-06-16 23:59:54 +00:00
Lasse Öörni
178b6e351e Added documentation on the application activation state and mobile devices. 2012-06-16 11:02:27 +00:00
Lasse Öörni
ba7049bb30 Use empty default name for cloned material in the script API. 2012-06-14 21:16:26 +00:00
Lasse Öörni
4f5b35aa52 Applied SDL patch for memory leak when setting window title on Android. 2012-06-12 19:28:23 +00:00
Lasse Öörni
eca32fa03a Applied case-sensitivity fix. 2012-06-12 09:08:41 +00:00
Lasse Öörni
a2ee32c88f Improved front-to-back batch sorting: consider both state & distance. 2012-06-12 06:01:24 +00:00
Lasse Öörni
65d8671c88 Use rsync instead of ditto to be able to exclude .svn directories when copying resources. Do not automatically pump events when swapping GL buffers on iOS. 2012-06-11 21:35:04 +00:00
Lasse Öörni
0234bbfc6a Use 24-bit depth buffer on Android if available. 2012-06-11 19:45:26 +00:00
Lasse Öörni
9c9c2bf15f Use ditto instead of pbxcp. 2012-06-11 18:58:21 +00:00
Lasse Öörni
5798911830 Default to pauseMinimized mode & lower default maximum FPS on mobile devices. 2012-06-11 07:01:26 +00:00
Lasse Öörni
f0263df91d Use a traditional color clear on OpenGL ES for better performance. 2012-06-10 22:50:03 +00:00
Lasse Öörni
2c0899b994 Fixed variable initialization order. 2012-06-10 20:43:15 +00:00
Lasse Öörni
ddc93f6fd2 Use orientation hint only on iOS.
Do not reserve a stencil buffer on OpenGL ES.
2012-06-10 20:11:04 +00:00
Lasse Öörni
75294ee802 Fixed reference to temporary object in Material.
Cleaned up AssetImporter command handling.
2012-06-10 15:13:29 +00:00
Lasse Öörni
c2c313313b Delete old CMakeCache.txt when generating for Unix or OS X. 2012-06-10 10:53:12 +00:00
Lasse Öörni
e1a1c974e5 Initial iOS support.
Do not use glPolygonOffset() constant bias due to its inconsistency. Instead offset the projection matrix as necessary.
Do not use multiple glUniform calls to set an array of transposed matrices, as it is not guaranteed to work. Instead transpose all matrices first, then set them in one call.
2012-06-09 22:05:14 +00:00
Lasse Öörni
89fe02c9cd Fixed missing OpenGL screen output due to uninitialized memory. 2012-06-08 09:09:38 +00:00
Lasse Öörni
de8c5f14cd For now, only handle first texture in Tundra import. 2012-06-08 08:44:09 +00:00
Lasse Öörni
7593ab4da0 Removed unnecessary MSVC setting. 2012-06-06 19:55:34 +00:00
Lasse Öörni
bce68908d4 Fixed kNet's CMakeLists.txt for Xcode. 2012-06-06 19:48:30 +00:00
Lasse Öörni
3411c5046c Require a click inside the window (again) to reacquire mouse. Otherwise there may be erratic movement on window title bar drag on OS X. 2012-06-06 17:59:54 +00:00
Lasse Öörni
b506bd9f3b Start centering mouse cursor only after first mouse move after input activation received. 2012-06-06 08:34:44 +00:00
Lasse Öörni
c1ef7e84d8 Improved SDL input focus check. 2012-06-06 07:23:26 +00:00
Lasse Öörni
2c54f016c8 Applied SDL Android RWops patch. 2012-06-05 07:14:08 +00:00
Lasse Öörni
b163f276af Always center mouse cursor to prevent it escaping the window. This is preferable to SDL input grab due to it disabling Alt-Tab on Linux. 2012-06-04 19:38:40 +00:00
Lasse Öörni
0b69846402 Fixed access to OpenGL commands before the context was initialized. 2012-06-04 18:41:22 +00:00
Lasse Öörni
83fd09002e Fixed used vertex range check. 2012-06-04 17:11:29 +00:00
Lasse Öörni
5d55c0959d Re-added the alpha masking hint to give priority to fully opaque materials. 2012-06-03 23:30:58 +00:00
Lasse Öörni
6e86187926 Documentation update. 2012-06-03 19:14:18 +00:00
Lasse Öörni
cf6d216384 Removed unused function. 2012-06-03 18:07:08 +00:00
Lasse Öörni
53e2198aa7 Use SDL also in Direct3D9 mode for consistent input handling.
Fixed infinite loop in Graphics::GetResolutions().
2012-06-03 17:59:54 +00:00
Lasse Öörni
5ed1f86b27 Added note about the stencil buffer on OpenGL ES 2. 2012-06-03 11:38:34 +00:00
Lasse Öörni
02738d055e Renamed Android package and added instructions on how to replace it with application-specific package name.
Updated documentation.
2012-06-03 11:35:26 +00:00
Lasse Öörni
0aac9b5857 Report also fullscreen inactive mode (alt-tabbed away) as minimized for purposes of the "pause when minimized" feature. 2012-06-01 23:10:17 +00:00
Lasse Öörni
dfbadcc82b Fixed memory leak from SDL display modes. 2012-06-01 22:58:25 +00:00
Lasse Öörni
a4a31dd3eb Fixed lost vertex/index buffer data not being correctly reported.
Update vertex/index buffer shadow data first, but return failure if updating the actual GPU buffer fails.
2012-06-01 21:49:55 +00:00
Lasse Öörni
7618da35b5 Fixed BillboardSet not restoring its index buffer on OpenGL. 2012-06-01 07:00:01 +00:00
Lasse Öörni
3560591f7e Report device (context) loss condition properly on OpenGL. 2012-06-01 00:09:47 +00:00
Lasse Öörni
e272896dc1 SDL Java code cleanup.
Fixed point light shadow indirection cubemaps recreated on every frame after first OpenGL context release.
Fixed possible missing depth test after OpenGL context release.
2012-05-31 23:15:32 +00:00
Lasse Öörni
4b12319ee0 Fixed SDL minimizing. Do not pause SDL audio as it may be bugged, instead mix silence into the audio stream. 2012-05-30 23:36:59 +00:00
Lasse Öörni
4070e61e78 Added option to automatically pause updates & audio when minimized. 2012-05-30 23:17:16 +00:00
Lasse Öörni
8cc2a83e48 Android OpenGL context loss handling. 2012-05-30 22:17:58 +00:00
Lasse Öörni
35bec043ad Signal GPU object data loss only when recovery is possible. 2012-05-30 20:42:09 +00:00
Lasse Öörni
b885dcdc9a Added error message. 2012-05-29 22:44:25 +00:00
Lasse Öörni
dfdaed7ec4 Fixed missing variable initialization. 2012-05-29 22:33:27 +00:00
Lasse Öörni
153106519e Restored public locking API for vertex & index buffers. On OpenGL locking is always emulated using either shadow or scratch data. 2012-05-29 22:27:07 +00:00
Lasse Öörni
9654d7e5b0 Restore whole morph vertex buffer if data lost.
Unified OpenGL vertex buffer / index buffer UpdateToGPU() with Direct3D implementation.
2012-05-29 06:56:18 +00:00
Lasse Öörni
2976340a79 Fixed relative billboard position on Direct3D.
Billboard node movement no longer needs to dirty the vertex buffer.
2012-05-28 23:10:07 +00:00
Lasse Öörni
c009816bab Fixed comment. 2012-05-28 22:57:52 +00:00
Lasse Öörni
ec2812d829 Fixed AssetImporter. 2012-05-28 22:50:37 +00:00