Skip to content
Snippets Groups Projects
  1. Aug 31, 2020
  2. Aug 24, 2020
  3. Aug 21, 2020
  4. Aug 19, 2020
  5. Aug 18, 2020
  6. Aug 17, 2020
  7. Aug 16, 2020
  8. Aug 13, 2020
  9. Aug 11, 2020
  10. Aug 06, 2020
    • Andy Nichols's avatar
      Do not register CustomMaterial shaders in updateSpatialNode · e73f1d29
      Andy Nichols authored and Andy Nichols's avatar Andy Nichols committed
      
      When we register CustomMaterial shaders in updateSpatialNode it requires
      that we get a handle the the renderInterface which is unique to each
      Window. That means we end up in a situtation where only one Window will
      have the necessary shader registration if we share CustomMaterial nodes
      between Windows.
      
      Instead we store the necessary state information of the CustomMaterial
      shaders in the CustomMaterial backend node.  That means that no which
      renderer references the CustomMaterial it has all the information
      necessary to create the shader.
      
      The downside is that this means that there is additional overhead when
      using CustomMaterials because each time we prep a layer for rendering we
      need to register the CustomMaterial shaders being used with the dynamic
      object system.  It will only do it once per shader, but not as ideal as
      doing it once each time the shader data changes.
      
      This makes it possible to share CustomMaterials between windows though.
      
      This patch is made directly for 5.15 because CustomMaterials work very
      differntly in 6.0 and this only makes sense in 5.15.
      
      Fixes: QTBUG-83889
      Change-Id: I57c72af12e55581874f66b8bd190ccbc918caf4d
      Reviewed-by: default avatarLaszlo Agocs <laszlo.agocs@qt.io>
      e73f1d29
    • Andy Nichols's avatar
      Make sure to delete the Vertex Array when deleting a Input Assembler · b4721218
      Andy Nichols authored and Christian Strømme's avatar Christian Strømme committed
      
      A new VAO is created each time we create a new Input Assembler, which
      itself is not an issue. However by not deleting the previous VAO that
      referenced the vertex buffers associated with it, the graphics driver
      does not release that buffer data, leading to huge leaks of GPU memory.
      
      So now we make sure to call glDeleteVertexArrays for the backends that
      use VertexArrays.
      
      This change is for 5.15 only because 6.0 uses RHI which does not have
      this issue.
      
      Fixes: QTBUG-83808
      Change-Id: I30a660c11f3aa89d9b5d0a9d4fdb8d1108d20702
      Reviewed-by: default avatarChristian Strømme <christian.stromme@qt.io>
      b4721218
    • Andy Nichols's avatar
      Remove all unused textures from MaterialLibrary · b8a52c40
      Andy Nichols authored
      
      We only released a sub-set CustomMaterials that we ported from Qt 3D
      Studio to QtQuick3D's material library, but did not clean up the
      textures they were using. This makes the MaterialLibrary larger than it
      needs to be. Previously when building statically on Windows 32 bit it was
      so large the QRC crashed. This can be avoided by just not shiping files
      that are not being used.
      
      This is only being done for 5.15 because the Material Library in 6.0 is
      being change significantly enough to make backporting difficult.
      
      Fixes: QTBUG-84188
      Change-Id: I974282dfb0adb98c4b931abeaad895a16705939f
      Reviewed-by: default avatarChristian Strømme <christian.stromme@qt.io>
      b8a52c40
    • Inho Lee's avatar
      AssimpImporter : timeline duration should be an integer · 6b728282
      Inho Lee authored and Miikka Heikkinen's avatar Miikka Heikkinen committed
      
      This commit is a back-port of 3d110052 from dev branch.
      
      Fixes: QDS-2532
      Change-Id: Icd92da77c00090e0f327f08a73b978d479e39b51
      Reviewed-by: default avatarMahmoud Badri <mahmoud.badri@qt.io>
      Reviewed-by: default avatarAndy Nichols <andy.nichols@qt.io>
      6b728282
  11. Aug 05, 2020
  12. Aug 04, 2020
  13. Jul 30, 2020
  14. Jul 28, 2020
  15. Jul 02, 2020
    • Miikka Heikkinen's avatar
      Remove deleted render context interfaces from cache · 45b3b76a
      Miikka Heikkinen authored
      
      g_renderContexts global static caches the render context interface
      for each window. However, there was no mechanism to clear the cache
      in case the interface gets deleted, leading to corrupted interface
      being returned from the cache in the future. Now the interface is
      cleared from the cache upon its deletion.
      
      This fixes QML Designer live preview crash.
      
      Change-Id: Id019027cc5ff6b7a47bcd46fd76c5a78e6520d53
      Fixes: QTBUG-83751
      Reviewed-by: default avatarAndy Nichols <andy.nichols@qt.io>
      45b3b76a
  16. Jun 30, 2020
  17. Jun 25, 2020
  18. Jun 23, 2020
  19. Jun 18, 2020
Loading