cbdc0f4c48Travis CI: API documentation update at 2015-04-06 18:22:43 UTC. [ci package]
urho3d-travis-ci
2015-04-06 18:22:43 +0000
ddb9362ef4Added possibility to new a ParticleEffect from Lua, and exposed missing functions. Fixed crash if ParticleEffect has no color frames. Closes#689.
Lasse Öörni
2015-04-06 20:47:43 +0300
be994d62e4Remove extra parentheses from CreateObject(), as suggested by Modanung.
Lasse Öörni
2015-04-06 19:55:35 +0300
3ca9b7d499Add WorkQueue functions to remove items (single or multiple) before being assigned to worker threads. Closes#690.
Lasse Öörni
2015-04-06 19:50:07 +0300
a626c9d6c8Travis CI: API documentation update at 2015-04-04 10:32:48 UTC. [ci package]
urho3d-travis-ci
2015-04-04 10:32:48 +0000
97fb2638dbAdd fill mode to materials.
Lasse Öörni
2015-04-04 02:40:38 +0300
79e89dfad3Fix losing input focus right after startup on Linux.
Lasse Öörni
2015-04-04 00:58:14 +0300
a716bbcf61Fix mouse move jumps in mixed touch & mouse usage.
Lasse Öörni
2015-04-03 23:40:57 +0300
03602fbd1cUse the "click to focus" mechanism on all desktop platforms in windowed & mouse-hidden mode. Code cleanup in Input.
Lasse Öörni
2015-04-03 22:57:47 +0300
9d9ea418e3Disable use of fullscreen space on OS/X to fix black screen on fullscreen switch.
Lasse Öörni
2015-04-03 14:46:08 +0300
0285d50302When making a triangle-level raycast to StaticModel, return the hit batch (submesh) index in the subObject field of the ray result.
Lasse Öörni
2015-04-02 20:26:35 +0300
b2c2bb372bAttempt to suppress some of the compiler warnings from iOS 64bit build. Something must have changed on the Travis CI Mac OS X build environment recently that causes the compiler to produce tons of warning on iOS 64-bit build. It not only slows down the CI build but also causes the log to be truncated in the Travis CI web interface.
Yao Wei Tjong 姚伟忠
2015-04-02 23:57:45 +0800
b468eac53eOnly supply the CCACHE environment variable when user hasn't done it.
Yao Wei Tjong 姚伟忠
2015-04-02 16:17:35 +0800
8ea3476479Bind the backbuffer FBO before cleaning up frame buffers.
Lasse Öörni
2015-04-02 01:53:52 +0300
474d725c5aDo not recenter mouse during window resize to fix erratic window sizes on Linux. Removed unnecessary input code. Check for external window before recentering mouse in relative mode.
Lasse Öörni
2015-04-02 01:01:49 +0300
dae17d375cClean up OpenGL frame buffers when window size changes.
Lasse Öörni
2015-04-02 00:42:45 +0300
b26b2c470bFix Text shader non-SDF mode on OpenGL 3. Closes#685.
Lasse Öörni
2015-04-01 21:33:26 +0300
acfeab71d1Remove the OSX REQUIRE_CLICK_TO_FOCUS mechanism as it seems to not be necessary, and does not work with the event flushing when not focused.
Lasse Öörni
2015-04-01 20:53:30 +0300
8ab5ffac52Add a small chapter on how to setup ccache to work correctly.
Yao Wei Tjong 姚伟忠
2015-04-02 00:06:44 +0800
821d6bd036Added missing null checks for StaticSprite2D component.
Lasse Öörni
2015-04-01 15:57:30 +0300
8e1169079bTravis CI: API documentation update at 2015-03-31 21:03:59 UTC. [ci package]
urho3d-travis-ci
2015-03-31 21:03:59 +0000
5c448d6e1dSupport DXT1,3,5 on Emscripten. Simplify GL / GLES code path differences in OGLTexture.cpp.
Lasse Öörni
2015-03-31 23:43:55 +0300
2961166acbGraphics code cleanup. Remove the GraphicsFeatures event, as now the features can not change during runtime. Move all OpenGL extensions checks to CheckFeatureSupport(). Fix an AMD GLSL compilation bug, which caused buggy 4-sample shadows.
Lasse Öörni
2015-03-31 23:06:09 +0300
b92372264bEnsure that the OpenGL extensions are initialized after context recreation, and a valid VAO exists on GL3, before giving the GPU objects the chance to restore themselves.
Lasse Öörni
2015-03-31 21:51:56 +0300
2ddb7c9d1aUse GetTempResource() for the inherited XML file when async loading. Generalize resource loading to switch into async mode whenever not in the main thread so that unsafe (main thread -only) functionality is avoided.
Lasse Öörni
2015-03-31 18:51:42 +0300
38361a2c0fFor Travis CI - disable D3D11 CI build jobs for now. Ubuntu 12.04 LTS does not have up-to-date D3D11 headers. Travis CI is long overdue to upgrade their OS. See https://github.com/travis-ci/travis-ci/issues/2046. It appears that their new container-based build infrastructure is also runs on Ubuntu 12.04 LTS. So, no choice but to disable thos new CI build jobs for now.
Yao Wei Tjong 姚伟忠
2015-03-31 19:16:19 +0800
601dfc4603Enhance the 'rake make' task to utilise all the logical cpu cores. [ci package]
Yao Wei Tjong 姚伟忠
2015-03-31 17:08:21 +0800
47b64f0364For Travis CI - Remove duplicated CI job.
Yao Wei Tjong 姚伟忠
2015-03-30 23:08:11 +0800
41d9ab29a9For Travis CI - add CI build jobs for Direct3D 11. Fix Emscripten build due to earlier faulty fix on MinGW build to support building of PackageTool for both host and target systems.
Yao Wei Tjong 姚伟忠
2015-03-30 23:02:01 +0800
6125f08716Fix MinGW build when PackageTool is built for both host and target.
Yao Wei Tjong 姚伟忠
2015-03-30 20:47:13 +0800
377fd30e9aMinor code cleanup on handling of URHO3D_D3D11 and URHO3D_OPENGL.
Yao Wei Tjong 姚伟忠
2015-03-30 20:22:26 +0800
02c2b57ceaMinor tweaks and fixes for Emscripten build settings.
Yao Wei Tjong 姚伟忠
2015-03-30 17:43:01 +0800
73b0a8221aFix illegal use of texture3D on OpenGL 3. Closes#683.
Lasse Öörni
2015-03-25 14:15:34 +0200
769cbcaf86Travis CI: API documentation update at 2015-03-25 10:15:47 UTC. [ci package]
urho3d-travis-ci
2015-03-25 10:15:47 +0000
5282cda206Do not show the Is Modal attribute in editor, as if it's enabled, the user can do nothing except dismiss it by ESC. Closes#682.
Lasse Öörni
2015-03-25 12:02:33 +0200
de1b9b2e1aTravis CI: API documentation update at 2015-03-24 21:54:08 UTC. [ci package]
urho3d-travis-ci
2015-03-24 21:54:08 +0000
d06ffe1445Merge pull request #680 from urho3d/render-refactor
Lasse Öörni
2015-03-24 23:34:39 +0200
234c57a598Minor documentation update. [ci rebase]
Lasse Öörni
2015-03-24 18:21:49 +0200
7666853b3aRevert "Create depth-stencil texture instead of renderbuffer on OpenGL 3 / Intel / Windows to work around a driver bug." as the issue is fixed on the latest Intel driver. There was also a OpenGL 2 corrupted rendering bug related to clip planes on the earlier driver version, which was not fixable.
Lasse Öörni
2015-03-23 20:54:33 +0200
909860635aFix usage of word
Chris Friesen
2015-03-22 20:30:05 -0500
8e2b9475a8Fix spelling
Chris Friesen
2015-03-22 20:21:53 -0500
d99fefa68bCreate depth-stencil texture instead of renderbuffer on OpenGL 3 / Intel / Windows to work around a driver bug.
Lasse Öörni
2015-03-23 02:57:38 +0200
64600d5526Enable GLEW experimental mode only on a 3.2+ context so that OpenGL 2 extensions can be checked strictly.
Lasse Öörni
2015-03-22 19:00:04 +0200
ac60622d6bFix WinXP compatibility of kNet's Clock class.
Lasse Öörni
2015-03-22 15:16:54 +0200
b7f76ea711Search for DirectX SDK also on OpenGL build to fix build failure on old Visual Studio (2008/2010) if the SDK is not set as a VS default include directory.
Lasse Öörni
2015-03-22 14:51:40 +0200
f9d02e7299Search for DirectX SDK also on OpenGL build to fix build failure on old Visual Studio (2008/2010) if the SDK is not set as a VS default include directory.
Lasse Öörni
2015-03-22 14:51:40 +0200
596c32345eForce extra screen buffers to RGBA only on OpenGL 2.
Lasse Öörni
2015-03-21 23:38:33 +0200
b8c7c59ecaConfigure amount of allowed bones for hardware skinning based on the rendering API. Allow 128 bones on Direct3D 11 & OpenGL 3. Add -mb (maxbones) parameter to AssetImporter & OgreImporter. When using OpenGL 3, allow deferred rendering to use different MRT formats without forcing an RGBA substitute rendertarget.
Lasse Öörni
2015-03-21 23:22:08 +0200
a363fa2b0eUpdate documentation related to DirectX SDK and shader compiling.
Lasse Öörni
2015-03-21 13:31:01 +0200
7989be4ba8Set D3D11 textures also for the vertex shader to enable vertex texture fetch to work as on OpenGL.
Lasse Öörni
2015-03-21 02:03:40 +0200
81e6647b60Clean up OpenGL Graphics class code. Use core functions for instancing on OpenGL 3. Do not enable/disable texture targets on OpenGL 3. Removed the framebuffer aging mechanism; instead framebuffers are cleaned up on context loss (resolution change.) Disable OpenGL constant buffer use by default (from Uniforms.glsl) as they were found to be slower in practice.
Lasse Öörni
2015-03-21 01:56:38 +0200
7716b4860cUse a reinterpret-cast trick to eliminate code duplication from Graphics::SetVertexBuffers(). Removed D3DCOMPILER_STRIP_PRIVATE_DATA flag as it may be undefined when compiling using the DirectX SDK.
Lasse Öörni
2015-03-20 18:34:31 +0200
f4dc0bf149If GL3 context creation fails, retry with GL2.
Lasse Öörni
2015-03-20 12:29:54 +0200
ff91008697Travis CI: API documentation update at 2015-03-20 00:29:33 UTC. [ci package]
urho3d-travis-ci
2015-03-20 00:29:33 +0000
0e17c34570Typo fix and minor documentation tweak.
Lasse Öörni
2015-03-20 01:17:05 +0200
99e49ac3b8Add an 8-bit timestamp to client controls, which gets incremented on each sent update. Echo this timestamp back in server updates sent to client. Allow to intercept network attribute updates into an event instead of applying them immediately, to facilitate implementing application-level client prediction. Add simulated latency & packet loss parameters to Network. Note that these changes break protocol compatibility with earlier Urho3D releases.
Lasse Öörni
2015-03-20 01:05:11 +0200
227b2b03dcFix / simplify GL3 or GL2 detection.
Lasse Öörni
2015-03-19 12:43:22 +0200
607b173e53Reinterpret-cast shader parameter source hash values consistently to const void* to avoid potential 64bit build warnings.
Lasse Öörni
2015-03-19 02:01:07 +0200
cdfb6b77d9Set shaders before material state to ensure changing the depth bias on OpenGL dirties the camera shader parameter group properly.
Lasse Öörni
2015-03-19 01:25:59 +0200
bd8f455e15Minor code formatting.
Lasse Öörni
2015-03-19 00:26:16 +0200
88b05c738fRemember shader parameter sources inside individual ShaderPrograms to reduce redundant uniform assignments.
Lasse Öörni
2015-03-19 00:05:07 +0200
42963a7300Keep track of last bound VBO & UBO to avoid redundant binding.
Lasse Öörni
2015-03-18 23:09:39 +0200
040b6263f5Fix crash with null constant buffer slots.
Lasse Öörni
2015-03-18 20:54:21 +0200
f450d0c3b4Reuse constant buffer object number when resizing. Do not mark light queue to shadow batches, as it is unnecessary and could lead to shader parameter update bugs (requires further refactoring to prevent in the Graphics class.)
Lasse Öörni
2015-03-18 20:19:05 +0200
2cefd437deCheck if shader uses uniforms outside buffer and invalidate all parameter groups in that case, when switching shaders. Add define in Uniforms.glsl which allows to disable constant buffers on OpenGL 3, as using them may actually be slower.
Lasse Öörni
2015-03-18 10:27:46 +0200
0e5a05afc7OpenGL 3 constant buffer support.
Lasse Öörni
2015-03-18 02:40:28 +0200
5fd6d42159Use core functions for FBO operations when using OpenGL 3.
Lasse Öörni
2015-03-17 22:06:09 +0200
006c17f78eAdded command line & engine startup option to disable OpenGL 3.
Lasse Öörni
2015-03-17 20:44:49 +0200
5ba234e68cMinor documentation tweaks.
Lasse Öörni
2015-03-17 02:15:58 +0200
992cbcc73fFix GLSL deprecation warnings. OpenGL 3 clip plane support. Use R32F format on OpenGL 3 for deferred linear depth instead of manual RGB encoding & decoding.
Lasse Öörni
2015-03-17 01:01:11 +0200
07a75dc37bInitial OpenGL 3.2 support.
Lasse Öörni
2015-03-16 23:36:35 +0200
a0a1d13109Do pass queue lookup only once when executing the scene pass command.
Lasse Öörni
2015-03-16 02:50:38 +0200
918d299450Minor optimization of Drawable::MarkInView(): resize once instead of clear and push.
Lasse Öörni
2015-03-16 00:57:43 +0200
6c3b8078f6Split GetBatches() into sub-functions to aid in profiling. Minor optimization of View::GetTechnique() when using the default material.
Lasse Öörni
2015-03-16 00:34:08 +0200
e2afa34bb7Refactor Technique to not use HashTable for passes, but instead a vector with dynamically allocated pass indices. HashTable class removed as there were no other uses for it, and it was programmer-unfriendly compared to HashMap.
Lasse Öörni
2015-03-15 21:07:51 +0200
adcf016433Fix ToCpHook.lua when it is being used in external project.
Yao Wei Tjong 姚伟忠
2015-03-15 10:58:21 +0800
0c58651c5cStore constant buffer pointer directly to the ShaderProgram parameters to avoid indirection and if statement choosing between VS & PS parameters.
Lasse Öörni
2015-03-15 01:21:36 +0200
2858755334Log missing vertex element(s) when vertex layout fails to create. Add texcoords to the editor grid to keep D3D11 happy.
Lasse Öörni
2015-03-15 00:23:49 +0200
d2ea0ca934Finetune the default test timeout value for Emscripten platform. We have a time constraint on Travis CI side for all our CI builds and tests. Default value of 10 for Emscripten and 5 for native platform is also inline with Emscripten's claim that asm.js is about 50% slower than native speed.
Yao Wei Tjong 姚伟忠
2015-03-14 12:41:41 +0800
bcf5286158For Travis CI - attempt to enable integration tests in Emscripten-CI.
Yao Wei Tjong 姚伟忠
2015-03-14 11:01:30 +0800
e17a88b46fGetData() on D3D11 for Texture3D & TextureCube.
Lasse Öörni
2015-03-13 09:09:41 +0200
d1b03d95dbTexture2D::GetData() for D3D11. D3D11 texture code cleanup.
Lasse Öörni
2015-03-13 01:11:01 +0200
785df863e4Save spot textures generated by RampGenerator as RGB.
Lasse Öörni
2015-03-12 21:39:28 +0200
3759570319Remove rrr swizzle from lighting shaders to allow the spotlight to be colored. Convert the default spot textures to RGB color to avoid sampling only the R channel on D3D11.
Lasse Öörni
2015-03-12 21:25:42 +0200
3503a1069eFix test case setup. Only add test case when URHO3D_TESTING is enabled.
Yao Wei Tjong 姚伟忠
2015-03-12 18:58:31 +0800
8a77399bd0Fix integration tests execution for Emscripten platform. A test case is considered passed when the html exits as the result of emscripten_force_exit() function being called, which happens when the engine's elapsed time reaches URHO3D_TEST_TIMEOUT seconds. When something goes wrong, the engine's elapsed time does not progress as per normal, in this case the emrun's timeout would kick in and terminate the test case with failed exit status. The EMRUN'S timeout is set to be 2 times URHO3D_TEST_TIMEOUT auotmatically. Add new build option EMSCRIPTEN_EMRUN_BROWSER to select which browser to use for testing. Default is 'firefox'. Refer to https://github.com/kripken/emscripten/issues/3234 to apply the recommended Firefox preference setting for emrun.
Yao Wei Tjong 姚伟忠
2015-03-12 18:04:16 +0800
e3f2220fe0Remove forgotten todo. Implement Graphics::GetMultisampleLevels() properly on D3D11.
Lasse Öörni
2015-03-12 10:15:54 +0200
10e18da92eSlightly improve code size and startup speed for Emscripten platform.
Yao Wei Tjong 姚伟忠
2015-03-11 21:55:46 +0800
9dae13c4abDisable system bell sounds from Alt key combinations.
Lasse Öörni
2015-03-12 01:03:14 +0200
b55321fc40When AnimatedSprite2D creates new sprite components, use the AnimatedSprite2D's enabled status. Closes#678.
Lasse Öörni
2015-03-11 14:12:00 +0200
17f6bc5ff8Make it more bullet-proof to copy paste error by new user. The project name 'Urho3D' is reserved just for Urho3D project.
Yao Wei Tjong 姚伟忠
2015-03-11 15:35:32 +0800
2c798dd5bfAdd support for ToCppHook.lua to accept extra parameter. The extra param 'IS_BUILDING_URHO3D' should not be passed by external project.
Yao Wei Tjong 姚伟忠
2015-03-11 14:57:59 +0800
43a7e8a430sRGB texture sampling on D3D11.
Lasse Öörni
2015-03-11 01:17:59 +0200
242a675b01sRGB backbuffer support on D3D11.
Lasse Öörni
2015-03-11 00:56:14 +0200
c8e406489dRevert OpenGL-incompatible change in Batch::Prepare().
Lasse Öörni
2015-03-10 23:22:39 +0200
db62248defOnly collect the shadow caster projection space merged bounding box when necessary (focused spot lights.)
Lasse Öörni
2015-03-10 23:12:27 +0200
401585972dOptimize Graphics::SetVertexBuffers() on D3D11.
Lasse Öörni
2015-03-10 22:04:17 +0200
c833b34b7aRemove Graphics::SetDrawAntialiased() as it does not help the situation it was created for (blurred UI rendering on Nvidia 16x multisampling on OpenGL) and it cannot be implemented on D3D11.
Lasse Öörni
2015-03-10 21:30:09 +0200
16ec1f5812Strip D3D11 shader bytecode.
Lasse Öörni
2015-03-10 12:35:49 +0200
a5a8442397Keep track of the dirtied vertex buffer range to not set D3D11 buffer slots unnecessarily.
Lasse Öörni
2015-03-10 01:45:42 +0200