1. 07 Nov, 2017 1 commit
  2. 06 Nov, 2017 2 commits
  3. 03 Nov, 2017 1 commit
  4. 25 Oct, 2017 1 commit
  5. 12 Oct, 2017 2 commits
  6. 05 Oct, 2017 1 commit
  7. 04 Oct, 2017 3 commits
  8. 02 Oct, 2017 1 commit
  9. 25 Sep, 2017 1 commit
  10. 22 Sep, 2017 2 commits
  11. 19 Sep, 2017 1 commit
  12. 18 Sep, 2017 1 commit
  13. 14 Sep, 2017 4 commits
  14. 11 Sep, 2017 1 commit
  15. 07 Sep, 2017 1 commit
  16. 06 Sep, 2017 2 commits
  17. 31 Aug, 2017 3 commits
  18. 29 Aug, 2017 1 commit
  19. 04 Aug, 2017 3 commits
  20. 18 Jul, 2017 1 commit
    • Utkarsh Ayachit's avatar
      Cleanup offscreen rendering support in VTK. · d0e7aab3
      Utkarsh Ayachit authored
      This commit cleans up offscreen rendering support in VTK. This includes
      several changes.
      
      1. It makes EGL support independent of onscreen GL
         support. It's now possible to enable EGL and GLX in same build of
         VTK, for example, so long as the two use shared GL-dispatch
         mechanism.  Previously, EGL could not be enabled together with GLX
         (i.e.  `VTK_USE_X` set to ON). These changes allow for that
         configuration.
      
      2. `VTK_USE_OFFSCREEN_EGL` is replaced by `VTK_OPENGL_HAS_EGL`.
          This is consistent with `VTK_OPENGL_HAS_OSMESA` flag. And also
          in similar vein to changes to `FindOpenGL.cmake` where EGL
          becomes a component of `find_package(OpenGL)`.
      
      3. `VTK_EGL_DEVICE_INDEX` has been replaced by
         `VTK_DEFAULT_EGL_DEVICE_INDEX` since it only affect the default
         value, and doesn't preclude users from manually specifying the
         device index.
      
      4. `VTK_USE_OFFSCREEN` has been replaced by
         `VTK_DEFAULT_RENDER_WINDOW_OFFSCREEN`, since similar to `3`
         this option was only intended to affect the default value.
      
      5. Simplified `FindEGL.cmake`. Apps don't need to link against
         `gldispatch` library and hence removed it and created an
         imported target to simplify use.
      
      6. For all changes to CMake variables, we put out `DEPRECATION`
         messages if old variables are used.
      
      7. When `VTK_USE_X` and `VTK_OPENGL_HAS_EGL` or
         `VTK_OPENGL_HAS_OSMESA` in ON, following things happen:
         i.   The object-factory simply returns the X-based (or
              onscreen) render window i.e. `vtkXOpenGLRenderWindow`.
         ii.  To create one of the offscreen render windows, one can
              manually instantiate them e.g. by explicitly
              instantiating `vtkEGLRenderWindow`.
              `vtkXOpenGLRenderWindow` has implementation to swap to
              OSMesa if `SetUseOffscreen(true)` is called.
         iii. As soon any off-screen features are enabled, `glew`
              uses the offscreen library APIs to get OpenGL function pointers
              irrespective of how the active context was initialized.
      d0e7aab3
  21. 12 Jul, 2017 1 commit
  22. 06 Jul, 2017 1 commit
  23. 05 Jul, 2017 1 commit
  24. 27 Jun, 2017 1 commit
  25. 26 Jun, 2017 1 commit
  26. 22 Jun, 2017 2 commits