Commit Graph

  • 4e198c2412 Fix wrong return value in HashMap Front() & Back(). Lasse Öörni 2016-07-04 18:33:38 +0300
  • fd5bac385a Since the SDL window is not API-specific, move it into Graphics from GraphicsImpl to simplify code. Lasse Öörni 2016-07-01 10:17:29 +0300
  • eb104906aa Remove API-specific Graphics class headers and code duplication. Closes #1422. Lasse Öörni 2016-07-01 09:37:56 +0300
  • fb881c3360 Use CMake to auto-detect and define _TIMESPEC_DEFINED as necessary. Yao Wei Tjong 姚伟忠 2016-06-30 21:01:41 +0800
  • bdce4b3dba Move API-specific Graphics class member variables to GraphicsImpl. Rename WindowMoved & WindowResized to OnWindow.. to match convention used elsewhere (eg. OnNodeSet) Change windowIcon_ member to WeakPtr to ensure safety in later access. Minor class comment fixes. Lasse Öörni 2016-06-30 02:11:19 +0300
  • e444e50175 Merge pull request #1445 from TheComet93/iss1444 Lasse Öörni 2016-06-29 23:18:33 +0300
  • 7031ae8799 fixes #1444 TheComet 2016-06-29 19:18:14 +0200
  • 51b0a16f9a Remove API-specific RenderSurface class headers and RenderSurface code duplication. Lasse Öörni 2016-06-27 22:42:02 +0300
  • 46b9a90fb1 Remove API-specific Texture subclass headers and code duplication for loading & SetSize(). Lasse Öörni 2016-06-26 23:26:14 +0300
  • 26342ce69e Remove code duplication from checking max. mip levels on OpenGL. Lasse Öörni 2016-06-26 21:12:20 +0300
  • f452a16f2d Initial Texture class refactoring. Get rid of API-specific Texture header. Lasse Öörni 2016-06-26 20:35:51 +0300
  • 11b1e2cc2d Shadow batches don't need a zone, since they shouldn't use ambient color or fogging settings. This also fixes a bug with erroneous fog settings when OpenGL constant buffers are used. Lasse Öörni 2016-06-25 19:52:17 +0300
  • 6c77b75813 Cleanup ShaderParameter related code. Lasse Öörni 2016-06-25 17:58:37 +0300
  • f8d636426c Make ShaderVariation class header API-agnostic. Lasse Öörni 2016-06-25 16:00:44 +0300
  • 9b51baa445 Separate ConstantBuffer to API-independent and -specific implementations, and unify the header. Add dummy D3D9 constant buffer implementation (that only logs error if used) so that user will not get link errors if attempting to use. Lasse Öörni 2016-06-24 20:50:05 +0300
  • 6775038a44 Eliminate more duplication of API-independent index / vertex buffer code. Lasse Öörni 2016-06-24 15:15:02 +0300
  • db7f3bb56a Fix dynamic flag not being set for D3D9 vertex buffer. Lasse Öörni 2016-06-24 14:56:12 +0300
  • 51b026f33d Unify IndexBuffer & VertexBuffer headers for all APIs. Move API-independent parts of vertex / index buffers to their own implementation files to eliminate code duplication. Lasse Öörni 2016-06-24 14:30:34 +0300
  • 1ba87dae4c Get rid of API-specific GPUObject class header & implementation. Lasse Öörni 2016-06-24 02:17:06 +0300
  • 35a616448a Merge commit 'a1a9ce7817286783347acfbcce94bfd659915b66' into master. Yao Wei Tjong 姚伟忠 2016-06-23 22:05:25 +0800
  • a1a9ce7817 Squashed 'Source/ThirdParty/SDL/' changes from 707b945..a901827 Yao Wei Tjong 姚伟忠 2016-06-23 22:05:24 +0800
  • 993e82f9ec Fix cross-compiling builds using X11 shared libraries. Yao Wei Tjong 姚伟忠 2016-06-23 17:03:48 +0800
  • c88891fa6f Travis CI: API documentation update at 2016-06-23 12:02:08 UTC. [ci package] urho3d-travis-ci 2016-06-23 12:02:08 +0000
  • e8559b316a Add events for node/component being cloned. These are sent by their owning scene after the cloning process (along with all attributes set) is complete. Lasse Öörni 2016-06-23 14:52:06 +0300
  • 2f4ed29be8 For CI - attempt to fix broken multiarch support in older CMake. This should be a non-issue when we have migrated to CMake 3.2.3 (now under development in refactor-buildsystem branch). Yao Wei Tjong 姚伟忠 2016-06-23 00:23:12 +0800
  • fff8b782b1 Fix cross-compiling builds using readline shared library. Yao Wei Tjong 姚伟忠 2016-06-22 18:06:21 +0800
  • 489356a29f Cleanup editor debug icon code to not do constant resizes of billboardsets to zero and back, and to use fixed screen size mode to eliminate need for manual sizing. BillboardSet::SetNumBillboards() is no-op if count remains same. Fix BillboardSet fixed size bug when changing between ortho & perspective camera. Do not care to resize scratch buffer smaller if it's below 1MB. Add scratch buffer debug messages also to OpenGL Graphics class for consistency. Closes #1434. Lasse Öörni 2016-06-21 22:18:45 +0300
  • 618fd25691 Travis CI: API documentation update at 2016-06-21 16:05:19 UTC. [ci package] urho3d-travis-ci 2016-06-21 16:05:19 +0000
  • 4279990ea8 Minor fixes. Add script bindings and documentation for the new renderpath command. Lasse Öörni 2016-06-21 18:54:57 +0300
  • 3a0488fec1 Merge remote-tracking branch 'OldSnake22/master' Lasse Öörni 2016-06-21 18:10:51 +0300
  • 332fe215f6 SendEvent new renderpath command Franck Poulain 2016-06-21 14:15:53 +0200
  • 1f3c4ddbc4 Added contributor credit. Lasse Öörni 2016-06-21 11:47:07 +0300
  • bcac85a0ac Tabs to spaces Franck Poulain 2016-06-20 14:12:44 +0200
  • f0775adfbc Change View::FindNamedTexture() function to be public Franck Poulain 2016-06-20 14:10:18 +0200
  • 157e55ec44 Minor documentation update on optional Linux prerequisite packages. Yao Wei Tjong 姚伟忠 2016-06-16 17:40:31 +0800
  • 9f90bdd571 Travis CI: API documentation update at 2016-06-16 18:56:49 UTC. [ci package] urho3d-travis-ci 2016-06-16 18:56:49 +0000
  • dc74d3dbc0 Remove commented out lines, add MarkNetworkUpdate() to SetUpdateInvisible(). Lasse Öörni 2016-06-16 21:47:28 +0300
  • a9f7703f74 Add update invisible parameter to RibbonTrail and use it on the samples. Yusuf Umar 2016-06-16 18:09:09 +0700
  • 797d33da94 Travis CI: API documentation update at 2016-06-16 05:39:07 UTC. [ci package] urho3d-travis-ci 2016-06-16 05:39:07 +0000
  • 239c0265a0 Fix a typo in RibbonTrail's attribute and other minor cleanups. Yao Wei Tjong 姚伟忠 2016-06-16 13:28:02 +0800
  • 54143eba49 Travis CI: API documentation update at 2016-06-15 18:51:59 UTC. [ci package] urho3d-travis-ci 2016-06-15 18:51:59 +0000
  • 6d046d57c8 More minor code, comment and tab-to-spaces changes. Use the more specific TrailPoint struct name instead of Point, and export it in case a derived class wants to manipulate them. Add RibbonTrail to documentation's drawable class list. Lasse Öörni 2016-06-15 20:24:45 +0300
  • 1f7c5c8a59 Delete some debug leftovers and fix big index buffer size. Yusuf Umar 2016-06-15 15:41:41 +0700
  • f6d413aee4 Minor comment and code convention edits. Lasse Öörni 2016-06-15 00:26:43 +0300
  • d534b3376b Refined RibbonTrail icon. Frode Lindeijer 2016-06-11 22:15:24 +0200
  • 08fdf0dda0 Fixing corrupted textures. Yusuf Umar 2016-06-13 22:14:55 +0700
  • f9e65027e3 Implementing RibbonTrail Yusuf Umar 2016-06-13 21:43:44 +0700
  • bb658965c2 Travis CI: API documentation update at 2016-06-14 18:51:53 UTC. [ci package] urho3d-travis-ci 2016-06-14 18:51:53 +0000
  • 27f40f15be Add contributor credit. Lasse Öörni 2016-06-14 21:38:06 +0300
  • 67e80aa61e Add brief documentation section on defining extra per-instance data. Lasse Öörni 2016-06-14 21:36:31 +0300
  • c92894d250 Add support of custom per-instance data in batches. Eugene Kozlov 2016-06-13 17:56:29 +0300
  • 224320d6d0 Add missing include for iOS build. Yao Wei Tjong 姚伟忠 2016-06-11 23:22:23 +0800
  • 3668e1d9d1 For CI - address the limitation of Travis CI's caching logic. Travis CI is not able to find the matching cache file in their cache store for the newly created CI mirror branches for new topic branch. As the result, the initial CI jobs run without the benefit of the ccache. For OSX and iOS universal binary builds, this would usually cause our custom interrupt mechanism to be triggered. To avoid that, when cache size is 0 then we configure the build system to only build for 64-bit arch. Basically half the number of archs in the universal build. Yao Wei Tjong 姚伟忠 2016-06-11 22:56:57 +0800
  • a5b4512966 Reduce direct exposure to SDL headers as much as possible. Yao Wei Tjong 姚伟忠 2016-06-11 21:58:22 +0800
  • eff1cd46b9 Sort samples list, just for consistency sake. Yao Wei Tjong 姚伟忠 2016-06-11 13:35:00 +0800
  • 3b4b354d51 If targeting 60 fps or above on iOS, skip the framelimiter sleep loop, since it could cause running below 60 fps even if the frame was executed fast enough. Lasse Öörni 2016-06-11 15:12:32 +0300
  • d0bcac5fe0 Ensure iPhoneOS and iPhoneSimulator use the same code path. This commit should also fix the issue reported in issue #1369. Yao Wei Tjong 姚伟忠 2016-06-11 13:09:45 +0800
  • 576216c3c2 Fix MOBILE_GRAPHICS define not being defined on iOS, which would break shadow rendering. Lasse Öörni 2016-06-11 04:31:36 +0300
  • f4f3ffde76 Improve comment for Renderer::SetDynamicInstancing(). Lasse Öörni 2016-06-11 03:48:14 +0300
  • 391d93ced0 Use nanosleep instead of usleep. Closes #1413. Lasse Öörni 2016-06-10 23:51:09 +0300
  • b3f6278b6f Add contributor credit and make the description of Boost's role more accurate. Lasse Öörni 2016-06-10 22:03:50 +0300
  • 843850079b Update sqlite version also in dox file. Lasse Öörni 2016-06-10 21:42:23 +0300
  • ef949533c6 Update to SQLite 3.13.0 Loic Blot 2016-06-08 21:57:59 +0200
  • 1243d8bcda Regex replace all the uppercase key bindings with their constants. Yao Wei Tjong 姚伟忠 2016-06-11 02:56:39 +0800
  • 8710de6197 Fix pause in NinjaSnowWar. Fix keycodes defined in screen joystick to conform to SDL keycodes (lowercase) Lasse Öörni 2016-06-10 20:30:40 +0300
  • 3ab69da3af Use __ANDROID__ compiler define consistently. Yao Wei Tjong 姚伟忠 2016-06-10 20:28:07 +0800
  • 991b0c5986 Undefine first before redefine to suppress the compilation warnings. Yao Wei Tjong 姚伟忠 2016-06-10 19:53:17 +0800
  • ff64de61be Initial support for Linux on generic ARM cross-compiling. Close #1384. Yao Wei Tjong 姚伟忠 2016-06-10 17:15:19 +0800
  • 5bdd519ce7 Another attempt to reenable AS wrapper for 64-bit ARM platform. For CI - switch all the Android CI jobs to use Clang compiler toolchian instead of GCC compiler toolchain. The old GCC 4.9 is not able to handle C++11 standard for AS wrapper. Besides, the latest change log in Android NDK has marked GCC as deprecated and recommended developers to migrate to Clang. Yao Wei Tjong 姚伟忠 2016-06-07 02:32:17 +0800
  • bfa62a0575 Enhance Android/CMake toolchain file to support NDK r11 new layout. Yao Wei Tjong 姚伟忠 2016-06-07 02:14:34 +0800
  • 64d975ba1a Add initial build support for generic ARM platform. Add a new build option "ARM_ABI_FLAGS" for supplying additional ABI compiler flags when targeting generic arm. Fix Linux build from using OpenGLES instead of GLEW, fix RPI build from using wrong OpenGLES library, fix iOS build from using arm-specific compiler flags directly which would cause problem in universal binary build containing iphonesimulator archs as well. And other minor refactoring. Yao Wei Tjong 姚伟忠 2016-06-05 00:39:42 +0800
  • 2090e84be1 Add contributor credit. Yao Wei Tjong 姚伟忠 2016-06-07 11:28:33 +0800
  • 0dc85f14a9 compile on arm arch with opengles2 proller 2016-06-05 15:48:50 +0300
  • a1c458f28e Reduce amount of unnecessary Frustum::UpdatePlanes() calls. A default-constructed degenerate frustum no longer has its planes updated on construction, but instead the planes will remain in default-constructed state. Lasse Öörni 2016-06-10 02:09:50 +0300
  • d759a0e51b Call GainFocus() on Input initialization instead of just setting focusedThisFrame_ true. Fixes #1411. Lasse Öörni 2016-06-09 21:20:42 +0300
  • 6033ffd116 Fix wrong bool check. Lasse Öörni 2016-06-09 20:02:57 +0300
  • 7b18a9a8b2 Slider knob fixed size fix from Lumak. Closes #1412. Lasse Öörni 2016-06-09 18:47:38 +0300
  • 3afe44678c Set the compiler flags at the target level when enabling PCH. We do not support disabling PCH per compilation unit anymore so we do not need to use custom compiler flags per compilation unit. Using this kind of configuration would result in unwanted target rebuild when the list of compilation unit gets changed due to new/deleted source files for the target in question. Yao Wei Tjong 姚伟忠 2016-06-09 20:42:22 +0800
  • 1535323815 Set default mobile shadow bias adjustments to ineffective since they no longer appear necessary. Lasse Öörni 2016-06-08 23:49:31 +0300
  • ed048b7293 Transmit shadow position to GetShadow() as highp to fix remaining shadow accuracy issue on Android. Lasse Öörni 2016-06-08 22:50:49 +0300
  • f36abeb57c Force highp for shadow related samplers, uniforms & varyings on GLES for better shadows on iOS. Note: may be incompatible for some mobile GPU's that don't support highp at all. Lasse Öörni 2016-06-08 21:30:31 +0300
  • 84eca64c6b Use rfc1034identifier modifier for the bundle name so that Urho3D samples build successfully for iOS out of the box. Lasse Öörni 2016-06-08 20:37:09 +0300
  • f6a01c11af Added contributor credit. Lasse Öörni 2016-06-08 11:30:05 +0300
  • cfec9a95bc fix for typo in UTF16 decoder ArtemKulyk 2016-06-07 18:41:07 +0300
  • c98d52c0a3 Prefer to put the instance transform before output variables. Lasse Öörni 2016-06-06 22:26:37 +0300
  • 09845225b7 Merge remote-tracking branch 'tungsteen/shaders-merge' Lasse Öörni 2016-06-06 21:56:10 +0300
  • 5fa3cff841 Prevent unnecessary fullupdate when node attributes are edited. Lasse Öörni 2016-06-06 21:30:13 +0300
  • b386b76c23 Fix "Is enabled" checkbox getting moved on gizmo / cursor key node editing. Closes #1401. Lasse Öörni 2016-06-06 20:13:34 +0300
  • 683ebbdc08 Fix instancing for HLSL water shader Sergey Bosko 2016-06-06 12:02:59 +0200
  • 0ed42d0f9d Fix letter accelerator keys not working. Closes #1403. Lasse Öörni 2016-06-06 11:01:35 +0300
  • e260a3354c Revert back to temporarily disable AS wrapper for 64-bit ARM platform. The earlier commit lacks the inclusion of logic to enable C++11 standard and boost preprocessor library. However, after locally tested it, it appears that Android NDK 4.9 is not able to able handle it. Need more time to experiment with it in another branch first. [ci only: Android, OSX] [skip appveyor] Yao Wei Tjong 姚伟忠 2016-06-05 23:44:56 +0800
  • ccd9dac3c7 Also enable AS wrapper when targeting 64-bit ARM platform. Yao Wei Tjong 姚伟忠 2016-06-05 22:42:01 +0800
  • 9345cff42e Remove custom memory adjustment as the default is set to 128 MB now. Yao Wei Tjong 姚伟忠 2016-06-05 13:12:24 +0800
  • cc5761d09d Clean up the code to check for AS_MAX_PORTABILITY define so that it could also come from AS' own config. Minor typo fix. Lasse Öörni 2016-06-04 17:34:33 +0300
  • 96451d891e Use the proper form of EMSCRIPTEN define throughout. Lasse Öörni 2016-06-04 12:33:02 +0300
  • fb508365af Fix logic for getting the script file name in web Urho3DPlayer in case arguments were already specified and the command line file is not used. Lasse Öörni 2016-06-04 12:26:36 +0300
  • f097224968 Avoid hardcoding the script file name on web platform Urho3DPlayer. Rather attempt to read from CommandLine.txt later once resources are initialized. Setup a default windowed resolution to match the executable web samples. Lasse Öörni 2016-06-04 00:14:28 +0300
  • d3bc6e000d Add contributor credit. Lasse Öörni 2016-06-02 20:59:39 +0300
  • 98dfaf3c75 Add Boost Preprocessor library to Source/ThirdParty. Force C++11 for AngelScript / Emscripten combo. Default to CharacterDemo instead of NinjaSnowWar in Urho3DPlayer on Emscripten due to missing Network subsystem. Lasse Öörni 2016-06-02 20:55:52 +0300
  • 0803320a9a Remove mention of AngelScript not being supported on Emscripten. Leave the generic call convention autohandle fix on at all times, since it doesn't hurt. Clarify CommandLine.txt not being able to be read on Emscripten. Lasse Öörni 2016-06-02 19:27:15 +0300