1. 08 Jan, 2019 1 commit
  2. 04 Dec, 2018 1 commit
  3. 30 Nov, 2018 1 commit
  4. 08 Nov, 2018 1 commit
    • Ken Martin's avatar
      rework offscreen rendering to be centralized · a410bebe
      Ken Martin authored
      Move a lot of code into OpenGL and simplify. Introduce
      ShowWindow and update UseOffScreenBuffers. These two booleans can
      work together to handle all four cases. You can...
      
      ShowWindow = 0 UseOffScreenBuffers = 0
      You are using a window to render but the window
      is not current shown on the display
      
      ShowWindow = 1 UseOffScreenBuffers = 0
      You are rendering into a window and the window
      is shown on the screen. The default.
      
      ShowWindow = 0 UseOffScreenBuffers = 1
      You are rendering into a framebuffer offscreen
      and the window used for the opengl context is not
      shown on the display.
      
      ShowWindow = 1 UseOffScreenBuffers = 1
      You are rendering into a framebuffer offscreen
      and there is a window that is also visible with it's
      own content.
      
      For backwards compatability OffScreenRendering now
      just sets ShowWindow(false) and UseOffScreenBuffers(true)
      
      Other more specific approaches, methods have been removed.
      
      Mapped has been fixed a bit in some backends to properly
      indicate if the window is mapped (as opposed to created)
      a410bebe
  5. 05 Nov, 2018 3 commits
    • Cory Quammen's avatar
      Silence viewport warnings · bfc44285
      Cory Quammen authored
      The viewport may be modified outside the OpenGL widget. Reset the
      viewport state in the vtkOpenGLState cache.
      
      (cherry picked from commit 1c218b6d)
      bfc44285
    • Cory Quammen's avatar
      Remove direct disable of GL_SCISSOR_TEST · a56aed3d
      Cory Quammen authored
      The vtkOpenGLState for GL_SCISSOR_TEST could be modified elsewhere. If
      it was enabled in the state object, then invoking
      glDisable(GL_SCISSOR_TEST) directly prior to setting the value in the
      OpenGL state would cause a warning to be thrown with every render
      because the cached state no longer reflected the OpenGL
      state. Moreover, the direct call was redundant as the vtkOpenGLState
      object will make the direct call as needed.
      
      (cherry picked from commit 7e2b618f)
      a56aed3d
    • Cory Quammen's avatar
      Fix incomplete cherry pick in 8921e9a6 · 8a7c31eb
      Cory Quammen authored
      Remove direct and redundant call to glDisable(GL_SCISSOR_TEST).
      8a7c31eb
  6. 04 Nov, 2018 2 commits
    • Cory Quammen's avatar
      Silence viewport warnings · aaf0d45f
      Cory Quammen authored
      The viewport may be modified outside the OpenGL widget. Reset the
      viewport state in the vtkOpenGLState cache.
      
      (cherry picked from commit 1c218b6d)
      aaf0d45f
    • Cory Quammen's avatar
      Remove direct disable of GL_SCISSOR_TEST · 8921e9a6
      Cory Quammen authored
      The vtkOpenGLState for GL_SCISSOR_TEST could be modified elsewhere. If
      it was enabled in the state object, then invoking
      glDisable(GL_SCISSOR_TEST) directly prior to setting the value in the
      OpenGL state would cause a warning to be thrown with every render
      because the cached state no longer reflected the OpenGL
      state. Moreover, the direct call was redundant as the vtkOpenGLState
      object will make the direct call as needed.
      
      (cherry picked from commit 7e2b618f)
      8921e9a6
  7. 24 Oct, 2018 2 commits
  8. 23 Oct, 2018 1 commit
    • Cory Quammen's avatar
      Remove direct disable of GL_SCISSOR_TEST · 7e2b618f
      Cory Quammen authored
      The vtkOpenGLState for GL_SCISSOR_TEST could be modified elsewhere. If
      it was enabled in the state object, then invoking
      glDisable(GL_SCISSOR_TEST) directly prior to setting the value in the
      OpenGL state would cause a warning to be thrown with every render
      because the cached state no longer reflected the OpenGL
      state. Moreover, the direct call was redundant as the vtkOpenGLState
      object will make the direct call as needed.
      7e2b618f
  9. 22 Oct, 2018 1 commit
  10. 18 Oct, 2018 1 commit
  11. 17 Oct, 2018 1 commit
  12. 03 Oct, 2018 1 commit
  13. 27 Sep, 2018 1 commit
  14. 18 Sep, 2018 1 commit
  15. 31 Aug, 2018 2 commits
  16. 21 Aug, 2018 1 commit
  17. 09 Aug, 2018 1 commit
  18. 08 Aug, 2018 1 commit
  19. 06 Aug, 2018 7 commits
  20. 02 Aug, 2018 1 commit
  21. 11 Jul, 2018 1 commit
    • Utkarsh Ayachit's avatar
      qt: fix swapping buffer without making correct context current. · 36001042
      Utkarsh Ayachit authored
      When using a debug build of Qt, we would get warning messages like the
      following:
      
        QOpenGLContext::swapBuffers() called without corresponding
        makeCurrent()
      
      These popped when resizing the widget, for example. This fixes that
      issue by ensuring that the context is current before issuing a
      swapBuffers call.
      36001042
  22. 05 Jul, 2018 1 commit
    • Kitware Robot's avatar
      ExternalData: Convert more content links from MD5 to SHA512 · 1d3c8981
      Kitware Robot authored
      Populate a script with `map_<md5>=<sha512>` variable settings and
      then run the following to convert the content link files:
      
          git ls-files -- '*.md5' | while read f; do
            md5="$(cat "$f")"
            sha512="$(eval echo \${map_$md5})"
            rm "$f"
            echo $sha512 > ${f%.md5}.sha512
          done
      
      This follows up commit d6d05b2a (ExternalData: Convert content links
      from MD5 to SHA512, 2018-05-14) to convert content links added in topic
      branches that started before the main conversion.
      1d3c8981
  23. 28 Jun, 2018 2 commits
  24. 27 Jun, 2018 1 commit
  25. 20 Jun, 2018 1 commit
  26. 18 Jun, 2018 1 commit
  27. 17 Jun, 2018 1 commit
  28. 14 Jun, 2018 1 commit