1. 18 Oct, 2019 1 commit
  2. 07 Oct, 2019 1 commit
    • Ken Martin's avatar
      Track framebuffer state in OpenGLState class · 837e899d
      Ken Martin authored
      Keep track of framebuffer state in OpenGL
      This includes both vtk framebuffers as well as
      other use of framebuffers. Supports pushing and popping
      the draw and read framebuffers. Also some bug fixes
      and changes to account for the fact that buffer state
      is actually stored with framebuffer objects.
  3. 03 Jun, 2019 1 commit
  4. 21 Feb, 2019 1 commit
    • Allison Vacanti's avatar
      Update smart pointer semantics for C++11. · 30605cd7
      Allison Vacanti authored
      This adds complete move and noexcept semantics to vtkNew, vtkWeakPointer,
      and vtkSharedPointer, while doing more robust type-checking. In
      particular, this patch may expose bugs of the form:
      vtkWeakPointer<vtkRenderer> ren = ...;
      vtkWeakPointer<vtkCamera> cam = ...;
      cam = ren; // Shouldn't compile: types are unrelated.
      since vtkWeakPointer can no longer be constructed from an arbitrary
      Similarly, the comparisons between these objects has been updated.
      Comparing unrelated pointers is illegal in C++, and code such as:
      vtkSmartPointer<vtkIntArray> array1 = ...;
      vtkSmartPointer<vtkFloatArray> array2 = ...;
      if (array1 == array2) { ... }
      no longer compiles (similar to comparing float* and int*).
      All move operations are made noexcept to allow optimizations when stored
      in std containers (e.g. std::vector reallocs will now move instead of
      copy, bypassing reference counting).
      Note that some move operations (eg. move-constructing vtkWeakPointer from
      vtkNew, or move-assigning to a vtkSmartPointer) are not implemented, as
      they either don't makes sense, or don't provide any advantage over copying.
      vtkWeakPointer has been updated to treat vtkNew<T> like T* when
      constructing or assigning, similar to vtkSmartPointer.
      The enable_if statements have been replaced with static_asserts, since
      these will give nicer error messages ("Pointee types are incompatible",
      rather than "no matching overload found").
  5. 14 Feb, 2019 1 commit
  6. 30 Jan, 2019 1 commit
    • Ken Martin's avatar
      Cleanup the framebuffer class · f47a1c98
      Ken Martin authored
      The original mergeing of the two old framebuffer classes
      was a bit of a mess. This pass cleans up most of that.
      The biggest change is that color and depth buffers are no
      longer added with a mode argument. Instead they are just
      added to the framebuffer. Their use entirely depends on how
      the framebuffer is bound (draw or read). This matches what
      OpenGL does and greatly simplifies the class.
  7. 14 Jan, 2019 1 commit
  8. 10 Jan, 2019 3 commits
  9. 08 Jan, 2019 2 commits
  10. 28 Nov, 2018 1 commit
  11. 23 Oct, 2018 1 commit
  12. 06 Aug, 2018 1 commit
  13. 17 Jun, 2018 3 commits
  14. 18 May, 2018 1 commit
    • Kitware Robot's avatar
      ExternalData: Convert content links from MD5 to SHA512 · d6d05b2a
      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
  15. 18 Apr, 2018 1 commit
    • Ken Martin's avatar
      clean up the state API and fix Qt widget · 29670593
      Ken Martin authored
      Make it so that the state API does not require glew.h
      as this causes issues with Qt which has it's own gl
      functions and glew #defines clobber them.
      Clean up the API for querying opengl state to use the standard
      opengl get method signatures.
      Fix an issue with the new Qt widget where it was not setting
      vtk opengl state.
  16. 13 Mar, 2018 1 commit
  17. 08 Mar, 2018 1 commit
  18. 28 Feb, 2018 1 commit
    • Ken Martin's avatar
      update glsl code to 140 standards · 3c999de5
      Ken Martin authored
      While maintaining backwards compatibility at least
      update our code to use the more modern in/out
      qualifiers as opposed to attribute/varying  Also
      remove old glsl 120 if statements as we no longer support
      it and also remove a performance issue in querying the
      gl major minor version on every shader test.
  19. 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.
  20. 06 Feb, 2018 1 commit
    • luz.paz's avatar
      Typo fixes · e34710d9
      luz.paz authored
      Found via `codespell -q 3 -I ../vtk-whitelist-words.txt --skip="./ThirdParty,./Utilities"`
  21. 29 Jan, 2018 1 commit
  22. 04 Jan, 2018 1 commit
  23. 27 Dec, 2017 1 commit
    • luz.paz's avatar
      More Misc. typos · ae6668d1
      luz.paz authored
      includes grammar and uniformity fixes as well.
  24. 20 Dec, 2017 1 commit
  25. 11 Dec, 2017 3 commits
  26. 05 Dec, 2017 2 commits
  27. 04 Dec, 2017 1 commit
    • luzpaz's avatar
      Misc. typo fixes · e6590119
      luzpaz authored
      This commit removes double whitespace from source comments + fixes some other typos.
  28. 22 Nov, 2017 1 commit
  29. 06 Nov, 2017 1 commit
  30. 04 Oct, 2017 2 commits
    • Ken Martin's avatar
      manually convert more NULL to nullptr · de3c93a3
      Ken Martin authored
      This topic catches another batch of NULL conversions that
      clang did not handle for various reasons. It also includes
      a number of changes to comments and strings where NULL was
      used. It also catches some recent code changes where NULL
      was used instead of nullptr.
    • Kitware Robot's avatar
      Replace VTK_DELETE_FUNCTION with =delete. · 1ac2c008
      Kitware Robot authored
      Now that VTK requires a C++11 compiler we can ditch using custom typedefs to
      wrap =delete;
  31. 02 Oct, 2017 1 commit