Commit History

Author SHA1 Message Date
  Eugene Kozlov 5a2bec95f1 Automatic upgrade: override, typedef to using, 0 to nullptr. 8 years ago
  urho3d-travis-ci ee054a1507 Travis CI: bump copyright to 2017. 9 years ago
  Lasse Öörni a1e2bc9bd3 Make shader cache location configurable, default "urho3d/shadercache" in app preferences, to avoid writing to write-protected installation directory by default. Instructions in porting notes to restore earlier behavior. ShaderCacheDir & PackageCacheDir parameters added to engine startup parameters. Fix GetResourceFileName() function to return the unmodified filename if it's absolute and exists. Remove unnecessary mutex lock from GetResourceFileName(). Remove some code duplication from Graphics class implementations. Closes #1610. 9 years ago
  Lasse Öörni eb104906aa Remove API-specific Graphics class headers and code duplication. Closes #1422. 9 years ago
  Lasse Öörni 6c77b75813 Cleanup ShaderParameter related code. 9 years ago
  Lasse Öörni f8d636426c Make ShaderVariation class header API-agnostic. 9 years ago
  Lasse Öörni 1ba87dae4c Get rid of API-specific GPUObject class header & implementation. 9 years ago
  Lasse Öörni d492d32f41 When building input layouts, put VS element hash to the upper 32 bits to reduce possibility of collisions. 9 years ago
  Lasse Öörni de956301a0 D3D11 arbitrary vertex attributes. Eliminate constant string manipulation when switching shaders on D3D11. 9 years ago
  urho3d-travis-ci c4f6f315ff Travis CI: bump copyright to 2016. 10 years ago
  Lasse Öörni a3ba4d8ff6 Check HRESULT and log error with it included in case of failure in D3D9/D3D11 code. Clean up releasing GPU objects. Clean up Texture3D to not have a RenderSurface, since it can't be rendered to. Fixed missing Lua Texture3D binding. Fixed binding of Texture3D SetSize() in AngelScript. Added checks to Texture2D/3D SetSize() that zero or negative size is not specified. Closes #1092. 10 years ago
  Ivan K ad2eb74d83 LOGERROR -> URHO3D_LOGERROR 10 years ago
  Ivan K 3a7e7f058e LOGWARNING -> URHO3D_LOGWARNING 10 years ago
  Ivan K 0c3f67abfe LOGDEBUG -> URHO3D_LOGDEBUG 10 years ago
  Lasse Öörni a626021d95 Fixes for VS texture fetch on D3D11. 10 years ago
  Yao Wei Tjong 姚伟忠 1a5268f427 Reformat D3D9 and D3D11 source files. 10 years ago
  Yao Wei Tjong 姚伟忠 fa77a456f8 Reformat Urho3D source files to get rid of the indents on empty lines. 10 years ago
  Lasse Öörni b8c7c59eca Configure 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. 10 years ago
  Lasse Öörni 7716b4860c Use 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. 10 years ago
  Lasse Öörni 16ec1f5812 Strip D3D11 shader bytecode. 10 years ago
  Lasse Öörni 73c847fbeb Separate D3D11 shaders as the compatibility mode did not sample eg. the light ramp texture correctly. 10 years ago
  Lasse Öörni a1d1f08190 Split uniforms into constant buffers on D3D11. 10 years ago
  Lasse Öörni d4524e25c7 Fixed vertex position not getting passed to pixel shader. Rework the mechanism used to keep track of dirty constant buffers. 10 years ago
  Lasse Öörni a936eab7c7 Initial D3D11 constant buffer handling. If URHO3D_D3D11 option given, disable OpenGL, but error out on non-Windows platforms. 10 years ago
  Lasse Öörni 4ce7ed6838 Parse shader parameters & texture units. Removed comment stripping as it did not work reliably for SM4 shaders. 10 years ago
  Lasse Öörni 1c32e957f8 Create input layouts on demand. Inspect vertex shader's input signature. Fixed setting rendertarget & depth-stencil views. Implement draw calls. 10 years ago
  Lasse Öörni 1e1b44c4aa Added placeholder for shader resource view in Texture classes. Fixed shader creation from bytecode to use the correct bytecode size. 10 years ago
  Lasse Öörni 281809121c Skeleton of D3D11 graphics classes. Does not render anything visible yet and many functions lack implementation. 10 years ago