Skip to content
Snippets Groups Projects
  1. Feb 10, 2025
  2. Feb 09, 2025
  3. Feb 02, 2025
  4. Jan 17, 2025
  5. Jan 16, 2025
  6. Jan 15, 2025
  7. Jan 10, 2025
  8. Dec 26, 2024
  9. Dec 10, 2024
    • Jaswant Panchumarti (Kitware)'s avatar
      Remove debug print in QVTKRenderWindowAdapter · da40c5cb
      Jaswant Panchumarti (Kitware) authored
      - This commit removes a left over print statement in
        QVTKRenderWindowAdapter.cxx
      - The message is already handled correctly by the opengl
      debug logger mechanism in VTK. It is caught by vtkOpenGLMessageHandler
      in vtkOpenGLRenderWindow and sent to vtkLog macro. There is no need to print it to console.
      - This was not caught until vtk/vtk@5d4edb2c
      enabled debug OpenGL context in Qt. The surrounding code never executed at all.
      - added a release note for OpenGL debug output feature in VTK.
      da40c5cb
  10. Dec 09, 2024
  11. Dec 02, 2024
    • Jaswant Panchumarti (Kitware)'s avatar
      Improve OpenGL debug logging · 5d4edb2c
      Jaswant Panchumarti (Kitware) authored
      - Use the GL_ARB_debug_output extension if it is available to log opengl messages. It explains what method caused an invalid operation since error codes returned by `glGetError` are very cryptic and meaningless for the most part.
      5d4edb2c
  12. Nov 29, 2024
  13. Nov 07, 2024
  14. Oct 01, 2024
  15. Sep 28, 2024
  16. Sep 13, 2024
  17. Sep 10, 2024
    • Jaswant Panchumarti (Kitware)'s avatar
      Enable runtime detection of GLX, EGL and OSMesa for OpenGL context · 04661f4b
      Jaswant Panchumarti (Kitware) authored
      - closes #18547
      - closes #19383
      - Use glad instead of glew for loading GL extension functions
      because GLEW has trouble using GLX and EGL in the same build.
      - Replaces the VTK::glew module with VTK::glad.
      - Removed the utility VTK::opengl module because it is unnecessary
      after the changes made to vtkOpenGLOptions.cmake
      - OpenGL is now loaded at runtime in desktop platforms.
      - For mobile and webassembly, when VTK_OPENGL_USE_GLES is ON,
      glad finds and links to the OpenGL::GLES3 library.
      - Support for OSMesa is always available from VTK. Users must make
      sure the libOSMesa.so or osmesa.dll is installed.
      - Support for EGL is always available from VTK in Linux and Android.
      Users must make sure libEGL is installed.
      - On platforms where multiple render window backends are possible, the
      vtkOpenGLRenderWindow is made the default factory override and it's
      New method implements runtime tests to determine what render windows
      can work. It basically constructs the platform implementation render
      window, attempts to initialize it and checks whether it was
      successfully intialized.
      - The X OpenGL render window class was updated to not call abort.
      It also print warnings instead of errors when it fails to open X
      display. This allows us to safely test support for GLX at runtime.
      - The new environment variable VTK_DEFAULT_OPENGL_WINDOW
      can optionally be used to force a render window subclass
      at runtime. It is useful to debug support for a fallback render
      window on different system configuration.
      - Remove usage of unnecessary CMake flag VTK_OPENGL_HAS_MESA.
      - Since there is no compile time depedency for OSMesa in VTK,
      this commit makes VTK act as if it can always use OSMesa,
      obviously when the system executing VTK code has osmesa installed.
      - ci scripts will be adjusted in next commits
      04661f4b
  18. May 24, 2024
  19. Apr 20, 2024
  20. Apr 18, 2024
  21. Apr 01, 2024
  22. Mar 26, 2024
  23. Mar 14, 2024
  24. Mar 13, 2024
  25. Mar 04, 2024
    • Thomas Galland's avatar
      Add support to new zSpace Inspire Hardware · b2c310c0
      Thomas Galland authored
      This hardware do not rely on quad-buffering to display stereo content and should use a dedicated
      render window class handling the new stereo display mode.
      
      This new stereo display mode requires a dedicated stereo style preventing QVTKOpenGLWindow to blit into
      the backbuffer (zSpace API taking care of it)
      b2c310c0
  26. Mar 01, 2024
  27. Feb 28, 2024
  28. Feb 14, 2024
  29. Jan 30, 2024
    • Lucas Gandel's avatar
      Fix initialization of the depth test state with QVTKOpenGLNativeWidget · 4b093e17
      Lucas Gandel authored and Mathieu Westphal (Kitware)'s avatar Mathieu Westphal (Kitware) committed
      Qt provides a context where the depth test is disabled by default.
      In general, vtkRenderer will take care of enabling the dept test in its
      Clear() method at the beguining of the render call, but there are use
      cases where the depth test is expected to be enabled before VTK renders:
      1. If vtkRenderer::EraseOff() was called, Clear() won't be called and the
         depth test is left disabled
      2. Render passes that restores the depth test initial value (e.g.
         vtkSSAOPass) will restore a disabled depth test for additional overlay
         renderers that could use EraseOff to prevent useless clearing.
      
      Fixes [Slicer/Slicer#7518](https://github.com/Slicer/Slicer/issues/7518)
      
      Co-authored by: @lassoan
      4b093e17
  30. Jan 26, 2024
  31. Jan 09, 2024
    • Lucas Gandel's avatar
      Fix initialization of the depth test state with QVTKOpenGLNativeWidget · 859a4683
      Lucas Gandel authored
      Qt provides a context where the depth test is disabled by default.
      In general, vtkRenderer will take care of enabling the dept test in its
      Clear() method at the beguining of the render call, but there are use
      cases where the depth test is expected to be enabled before VTK renders:
      1. If vtkRenderer::EraseOff() was called, Clear() won't be called and the
         depth test is left disabled
      2. Render passes that restores the depth test initial value (e.g.
         vtkSSAOPass) will restore a disabled depth test for additional overlay
         renderers that could use EraseOff to prevent useless clearing.
      
      Fixes [Slicer/Slicer#7518](https://github.com/Slicer/Slicer/issues/7518)
      
      Co-authored by: @lassoan
      859a4683
Loading