Commit Graph

9612 Commits

Author SHA1 Message Date
Lasse Öörni
7da01092b6 Renamed ShaderProgram to ShaderVariation. 2011-05-29 21:24:35 +00:00
Lasse Öörni
3f1f71dd06 Fixed ResourceCache error messages. 2011-05-29 18:10:03 +00:00
Lasse Öörni
5cc2a32cb8 Fixed comment. 2011-05-29 13:30:41 +00:00
Lasse Öörni
634b5cc81b Added division by type size for pointer hashes.
Fixed HashMap bugs.
Removed HashMap / HashSet range based operations as the list is not ordered.
2011-05-29 13:11:44 +00:00
Lasse Öörni
f899c2f7ca Fixed bugs in Map.
Added HashSet & HashMap classes.
Use HashSet in performance-critical parts of the Renderer library.
2011-05-29 09:42:41 +00:00
Lasse Öörni
977dd11341 Added functions to query most often used texture formats, so that application code does not need to include RendererImpl.h. 2011-05-28 16:02:20 +00:00
Lasse Öörni
fa3fb7b2fc Added LockedRect structure for textures so that application code does not need to use the corresponding Direct3D structures directly.
Fixed comments.
2011-05-28 11:47:37 +00:00
Lasse Öörni
486d4902c8 Simplified window message handling related to activation/inactivation and minimizing the window.
Combined Activated & Inactivated events into the Activation event and moved it to GraphicsEvents.
2011-05-26 21:52:18 +00:00
Lasse Öörni
674ffb38a3 Added try-catch for out of memory error. 2011-05-25 13:43:42 +00:00
Lasse Öörni
1911a90504 Fixed Batch.cpp. 2011-05-25 08:41:26 +00:00
Lasse Öörni
4409bc0df0 Moved Color back to the Math library. 2011-05-25 07:19:07 +00:00
Lasse Öörni
5f7b64d6e7 Further cleanup of the Container & Math library API & internal functions. 2011-05-25 07:01:38 +00:00
Lasse Öörni
2025789fa9 Fixed search & replace. 2011-05-24 23:37:16 +00:00
Lasse Öörni
121d451a4e Renamed eulerAngles property to euler. 2011-05-24 20:22:21 +00:00
Lasse Öörni
2da8d4ae47 Renamed Matrix4x3 to Matrix3x4.
Removed superfluous Get...() from the Math library.
2011-05-24 20:20:48 +00:00
Lasse Öörni
ffef9cd27e Renamed context_ to context in Urho3D. 2011-05-23 20:57:47 +00:00
Lasse Öörni
f64121cd59 Skip the shader comment only at fixed position (beginning) to avoid false positives. 2011-05-23 07:52:30 +00:00
Lasse Öörni
0ab9e7a8df Fixed bit shift. 2011-05-23 06:51:44 +00:00
Lasse Öörni
b092fe84c7 Do not use shader opcode parameter size yet, as there are some opcodes that don't conform to that format. 2011-05-23 06:51:07 +00:00
Lasse Öörni
27f28faa6f Take instruction length into account when copying shader bytecode / skipping comments. 2011-05-23 06:06:58 +00:00
Lasse Öörni
41abbf222d Fixed unnecessary inclusion of vertex shader parameters in pixel shader files. 2011-05-22 22:02:50 +00:00
Lasse Öörni
214e36761a Strip comments from shader bytecode. 2011-05-22 21:59:40 +00:00
Lasse Öörni
3ca3f84df9 Refactored shader loading. A binary format is now used instead of XML data.
PixelShader and VertexShader classes replaced with Shader and ShaderProgram.
2011-05-22 21:34:35 +00:00
Lasse Öörni
118ed95315 Multithreaded the shader compilation using all available CPU cores.
Removed the const Replace() methods from String.
2011-05-22 13:47:50 +00:00
Lasse Öörni
2de636df19 Disabled projection jitter from the debug geometery.
Removed optimization flag from ShaderCompiler as it interfered with compiling flow control constructs.
2011-05-21 22:12:10 +00:00
Lasse Öörni
5f4b56103f Refactored ShaderCompiler to use D3DXCompileShader() instead of invoking fxc.exe. 2011-05-21 21:04:24 +00:00
Lasse Öörni
1ff798a20c Fixed GCC compile. 2011-05-21 14:01:00 +00:00
Lasse Öörni
f60321b20f Use PODVector more extensively.
Moved Color class to Core library.
2011-05-21 12:15:04 +00:00
Lasse Öörni
27661073e7 Migrated to AngelScript 2.21.0 WIP. 2011-05-21 11:02:49 +00:00
Lasse Öörni
f1010c683e Removed errorprone string addition operations. 2011-05-21 10:22:58 +00:00
Lasse Öörni
f3859c1ed7 Added documentation about containers.
Removed unnecessary StringUtils.h includes.
Changed GetStringListIndex() to use an empty string as a terminator, similarly to enum attributes.
2011-05-21 10:01:31 +00:00
Lasse Öörni
3abd7eee88 Reverted previous commit due to bugs and performance loss.
Removed the deprecated Physics subdirectory from ResourceCache directory heuristic.
Updated documentation.
2011-05-20 23:17:10 +00:00
Lasse Öörni
b9520be2eb Moved tree balancing operations to TreeBase.
Split ListBase & TreeBase to separate include files.
Fixed some comments.
2011-05-20 19:03:09 +00:00
Lasse Öörni
2952b2f5bf Removed Iterator.h.
Removed unnecessary checks from String & Vector concatenations.
2011-05-20 07:52:12 +00:00
Lasse Öörni
f556556ae3 Fixed template code in List. 2011-05-20 06:27:04 +00:00
Lasse Öörni
4e30a2f032 Added constructors to String + code cleanup. 2011-05-20 06:19:24 +00:00
Lasse Öörni
516b532a8f Refactored StringUtils as member functions of String & the classes to be converted. 2011-05-19 22:22:50 +00:00
Lasse Öörni
8b0e897525 Fixed bugs in List. Removed unnecessary head node.
PODVector speed optimization.
2011-05-19 19:51:19 +00:00
Lasse Öörni
dc136f52b0 Fixed node allocation memory leaks. 2011-05-19 14:08:42 +00:00
Lasse Öörni
ee9695116c Simplified the node allocator and cleaned up Container library code. 2011-05-19 14:05:49 +00:00
Lasse Öörni
db1bd31f41 Added fixed node size allocator for List, Map & Set.
Fixed Map & Set iteration bugs.
2011-05-19 09:23:03 +00:00
Lasse Öörni
4c94e77887 Switched skip lists to red-black trees instead. 2011-05-18 21:55:57 +00:00
Lasse Öörni
5ca3f0389d Removed debug includes. 2011-05-18 05:54:25 +00:00
Lasse Öörni
a956f2ff20 Fixed bugs in Vector & PODVector.
Use PODVector more extensively.
2011-05-18 05:52:55 +00:00
Lasse Öörni
088a84a8b8 Added linked list class. 2011-05-17 21:38:19 +00:00
Lasse Öörni
d69efd65f0 Container library fixes.
Replaced std::vector with Vector or PODVector as appropriate.
Replaced std::map & std::set with Map & Set.
2011-05-17 16:29:14 +00:00
Lasse Öörni
565de1ad02 Moved some of StringUtils functions to the String class.
Moved minidump generation to a separate file that is only linked when used.
Replaced std::string with String.
Removed use of iostream.
2011-05-17 06:39:37 +00:00
Lasse Öörni
4a35758028 Moved container & string classes to a separate library. 2011-05-16 19:31:27 +00:00
Lasse Öörni
6665749d63 Added base classes for Vector, PODVector, Set & Map to allow fast swapping, and to remove some redundant code. 2011-05-16 19:09:47 +00:00
Lasse Öörni
b447f1d030 Tidied up Map & Set code and added bidirectional iteration. 2011-05-16 16:19:37 +00:00