1. 03 Oct, 2018 1 commit
  2. 17 Jun, 2018 1 commit
  3. 15 Jun, 2018 1 commit
    • Ken Martin's avatar
      use shared noise texture and cleanup tests · 5e629b86
      Ken Martin authored
      Now when jittering is on it uses a shared noise texture
      from the renderwindow for all mappers and is 64x64 in size.
      This cleans up a lot of code and has a smaller memory footprint
      etc.
      
      A bunch of tests included OpenGL2 headers when they didn't
      need to, so fixed those.
      
      Other tests need OpenGL2 but are in RenderingVolume so moved
      them into RenderingVolumeOpenGL2 where they should be.
      5e629b86
  4. 07 Jun, 2018 1 commit
  5. 17 May, 2018 1 commit
  6. 11 Apr, 2018 1 commit
    • Ken Martin's avatar
      move framebuffer binding out of camera and into window · 9ac9a11a
      Ken Martin authored
      The binding of framebuffers in camera or camerapass did
      not make much sense. Right now viewport and scissor
      are still handled in the camera although they are properties
      of the renderer and maybe should be moved into renderer.
      
      This does mean that if something changes the fo bindings
      while rendering it should restore them. This is already
      the convention but it is a bit more important as the
      fo binding is now done before the camera.
      9ac9a11a
  7. 13 Mar, 2018 1 commit
  8. 25 Feb, 2018 1 commit
    • Ken Martin's avatar
      Introduce opengl state management · 1e6e44cb
      Ken Martin authored
      This commit adds a vtkOpenGLState class that is used
      to save, restore and cache opengl state. In this commit
      the caching is disabled to ease rollout. Likewise only
      a few methods are being cached which can be expanded
      on later as desired.
      1e6e44cb
  9. 13 Dec, 2017 1 commit
  10. 04 Oct, 2017 1 commit
  11. 03 Oct, 2017 1 commit
    • Ken Martin's avatar
      add ability for the applicaiton to control vsync swapping · 05e222af
      Ken Martin authored
      This topic adds a method for applications to control the
      vsync setting through the swap control opengl extension.
      This way applications can select no swap delay, a psotive number
      of refresh frames delay, or if supported a negative number
      indicating a minimum number of vertical refreshes.
      05e222af
  12. 02 Oct, 2017 1 commit
  13. 13 Aug, 2017 1 commit
    • Utkarsh Ayachit's avatar
      Cleanup `StereoUpdate` method. · a0b3a46a
      Utkarsh Ayachit authored
      vtkRenderWindow had a `StereoStatus` flag that all subclasses set
      (using same code for some reason) but nothing ever used it, nor is the
      flag exposed. Removed it. Cleaning up `StereoUpdate` overrides from
      vtkRenderWindow subclasses.
      a0b3a46a
  14. 06 Jul, 2017 1 commit
  15. 14 Jun, 2017 1 commit
  16. 11 Mar, 2017 1 commit
    • Marcus D. Hanwell's avatar
      Track whether glewInit succeeded better · 230a23f8
      Marcus D. Hanwell authored
      Added a new member variable which records success or failure, use that
      variable in the SupportsOpenGL function (if glewInit fails then it is
      likely nothing will work). Added an #else if the block for when GLEW is
      not used, and marked it as true so long as OpenGLInitContext has been
      called. In my local testing this worked as expected when triggering
      failure conditions.
      230a23f8
  17. 26 Feb, 2017 1 commit
    • Utkarsh Ayachit's avatar
      Clean up protected `GetPixelData` API. · f7398ec3
      Utkarsh Ayachit authored
      vtkOpenGLRenderWindow has protected variants of `GetPixelData`,
      `GetRGBAPixelData`, and `GetRGBACharPixelData`, all of which called
      glReadPixels with different arguments. Consolidated all those variants
      into a single `ReadPixels` method. That avoids inconsistencies between
      those variants.
      f7398ec3
  18. 20 Jan, 2017 1 commit
    • Alexis Girault's avatar
      Introduce a Vertex Buffer Object Cache · fd8bfb59
      Alexis Girault authored
      Based on initial work from Alexi
      
      Add cache so that VBO can be shared and
      updated more  quickly.
      
      Introduce the notion of a VBOGroup this is a
      convenience for mappers to keep track of the vbos
      they are using and the data arrays they are associated
      with. You do not need to use a VBOgroup but it makes
      it easier for mappers that can have multiple VBOs.
      fd8bfb59
  19. 16 Jan, 2017 1 commit
  20. 12 Jan, 2017 1 commit
    • Utkarsh Ayachit's avatar
      Make vtkOpenGLRenderWindow aware of default FBO · 17dc6005
      Utkarsh Ayachit authored
      When using OpenGL contexts created externally, vtkOpenGLRenderWindow may
      encounter scenarios where an FBO is being used, instead of the default
      frame buffer to render into. When that's the case, we need to activate
      that FBO before rendering.
      
      Adding a mechanism to vtkOpenGLRenderWindow to:
      1. discover and save the id for the default fb being used.
      2. before rendering, ensure that the non-default fb is activated in
         vtkOpenGLCamera and vtkCameraPass.
      17dc6005
  21. 10 Jan, 2017 1 commit
    • Utkarsh Ayachit's avatar
      Fix `InitializeFromCurrentContext`. · fab60c9e
      Utkarsh Ayachit authored
      Update `vtkOpenGLRenderWindow::InitializeFromCurrentContext()` to
      correctly initialize default buffer targets  using the active
      framebuffer (and not assume on screen framebuffer). This is needed for
      QOpenGLWidget which always uses a FBO for offscreen rendering.
      fab60c9e
  22. 05 Jan, 2017 1 commit
  23. 22 Dec, 2016 1 commit
  24. 16 Dec, 2016 1 commit
    • Ken Martin's avatar
      Make offscreen code always use FBO · c973a9b9
      Ken Martin authored
      Consolidate the offscreen code into common code
      in OpenGLRenderWindow. Remove it from all the
      other places except currently OSMesa on X
      
      Offscreen works in conjunction with onscreen
      windows. Onscreen window visibility is
      controlled using the SetMapped() method
      c973a9b9
  25. 08 Dec, 2016 1 commit
    • Ken Martin's avatar
      Some openvr related bug and performance fixes · 0203dc6d
      Ken Martin authored
      There was a vsync issue that could cause significant performance
      issues and jitter in the VR display that was fixed.
      
      A sync point in the SaveGLState code was moved into
      External/vtkExternalOpenGLRenderWindow as that is the class
      that needs it.  A couple other minor performance improvements.
      0203dc6d
  26. 17 Oct, 2016 1 commit
  27. 11 Oct, 2016 1 commit
  28. 23 Sep, 2016 2 commits
    • Kitware Robot's avatar
      Reindent using the reindentation script. · f830ff47
      Kitware Robot authored
      This commit reindents the code with the following utility:
      Utilities/Maintenance/vtk-reindent-code.py
      
      This utility changes the positions of the braces so that they are no
      longer indented relative to the code block they reside in.
      
      The bash command line used was the following:
      
      for d in Charts Common Deprecated Domains Examples Filters GUISupport \
               Geovis IO Imaging Infovis Interaction Parallel Rendering \
               Testing Views Web Wrapping; do
        for e in cxx cxx.in txx txx.in hxx hxx.in h h.in c c.in; do
          find "${d}" -name "*.${e}" -exec \
            python Utilities/Maintenance/vtk_reindent_code.py {} +
        done
      done
      f830ff47
    • David DeMarle's avatar
      replace VTK's nonstandard Doxygen with standard markup · 6a7e5148
      David DeMarle authored
      generated via:
      cd $VTKSRC
      perl Utilities/Doxygen/doc_header2doxygen.pl --to ~/tmp/vtkheaders .
      cp -r ~/tmp/vtkheaders/* .
      6a7e5148
  29. 16 Sep, 2016 1 commit
    • Ken Martin's avatar
      work on better resource management for OpenGL · d0e64da3
      Ken Martin authored
      new approach to ReleaseGraphicsResources where objects
      that use opengl resources can register themselves
      with their current window/context so that when either they
      delete or the context is deleted the resources will be
      cleared correctly.
      d0e64da3
  30. 19 Aug, 2016 1 commit
    • Bill Lorensen's avatar
      ENH: Introduce vtkMTimeType · 9333d9d1
      Bill Lorensen authored
      This is a fix for:
      #14310
      
      Windows applications that run for a long time report that rendered
      objects do not change. This is because the modified time on a Windows
      system is 32 bits. This causes overflows that defeat the modified time
      mechanism. This patch defines a new type, vtkMTimeType that is 64
      unsigned integer regardless of the architecture.
      
      A mechanism to provide backward compatibility is introduced. The
      preprocessor define "VTK_HAS_MTIME_TYPE" can be used in applications
      that must build against VTK versions that use the "unsigned long" type
      for MTime's.
      
      Methodology used to find MTime occurences:
      1) Identify files as follows:
         git grep "unsigned long" | grep ime | cut -d":" -f1,1 | sort | uniq
      2) Hand edit each of those files replacing "unsigned long" with
         "vtkMTimeType" where appropriate.
      3) Temporarily change typedef for vtkMTimeType to "double" to detect
         missing conversions
      9333d9d1
  31. 19 Jul, 2016 1 commit
  32. 07 Jul, 2016 2 commits
    • Sean McBride's avatar
      Applied VTK_DELETE_FUNCTION to many constructors · 1853e030
      Sean McBride authored
      vtk(.*)\(const vtk\1&\);\s*//\s*Not implemented[\.]*
      to
      vtk\1(const vtk\1\&) VTK_DELETE_FUNCTION;
      
      vtk(.*)\(const vtk\1 &\);\s*//\s*Not implemented[\.]*
      to
      vtk\1(const vtk\1 \&) VTK_DELETE_FUNCTION;
      
      vtk(.*)\( const vtk\1 & \);\s*//\s*Not implemented[\.]*
      to
      vtk\1( const vtk\1 \& ) VTK_DELETE_FUNCTION;
      
      vtk(.*)\( const vtk\1& \);\s*//\s*Not implemented[\.]*
      to
      vtk\1( const vtk\1\& ) VTK_DELETE_FUNCTION;
      
      vtk(.*) \(const vtk\1&\);\s*//\s*Not implemented[\.]*
      to
      vtk\1 (const vtk\1\&) VTK_DELETE_FUNCTION;
      1853e030
    • Sean McBride's avatar
      Applied VTK_DELETE_FUNCTION for operator= · 2d0e11ef
      Sean McBride authored
      (operator\s*=.*);\s*//\s*Not\s*implemented[\.]*
      to
      \1 VTK_DELETE_FUNCTION;
      
      After that, this finds basically nothing:
      
      operator.*implemented
      
      then manually reverted changed files in VPIC and KWSys folders.
      2d0e11ef
  33. 08 Mar, 2016 1 commit
  34. 23 Feb, 2016 1 commit
  35. 17 Feb, 2016 1 commit
  36. 09 Jan, 2016 1 commit
  37. 06 Jan, 2016 1 commit
  38. 17 Dec, 2015 1 commit