1. 23 Sep, 2016 1 commit
    • 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
  2. 07 Jul, 2016 2 commits
    • Sean McBride's avatar
      Applied VTK_DELETE_FUNCTION to last few places · 29e423b8
      Sean McBride authored
      Find/replace of:
      
      ;[ ]*//\s*Not implemented[\.]*
      to
       VTK_DELETE_FUNCTION;
      
      To catch a few remaining ones missed by previous greps.
      
      Manually reverted changed files in VPIC and KWSys folders, and a couple other of places.
      29e423b8
    • 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
  3. 08 Mar, 2016 1 commit
  4. 01 Jun, 2015 1 commit
    • Ken Martin's avatar
      Clenup some OpenGL2 code · 37f39403
      Ken Martin authored
      As we get closer to a next VTK release, make sure this is
      fairly clean or at least cleaner than it was.
      37f39403
  5. 18 Dec, 2014 1 commit
  6. 02 Oct, 2014 2 commits
    • Ken Martin's avatar
      Fix fast path on apple · cbe3f4b8
      Ken Martin authored
      Move the handling of divisor into the vao helper. Also deal with
      matrices there. On my aplpe (which lacks vao support) these have
      to be manually bound so having the falback code in the VAO helper
      handle it.  On some systems that have VAO extensions and instanced
      array extensions the VAO extension does not handle the instanced
      aray extension.  So we force emulation of VAOs when glyphing
      triangles which is where the use of instance arrays can hit.
      
      Change-Id: Idc68e47c8743b2772a4a0e63621eceb1f778c5a3
      cbe3f4b8
    • Ken Martin's avatar
      Fix error in glyphing and extend to mac · a9827d1d
      Ken Martin authored
      Add better support for divisors and matricies in the VAO helper
      as wel.
      
      Change-Id: Ibd66fbfece6de534d7311c60b7edb2f94f485f93
      a9827d1d
  7. 29 Sep, 2014 1 commit
    • Ken Martin's avatar
      Add support for OpenGL32 instancing in GlyphMapper · 4dea04ea
      Ken Martin authored
      Currently disabled as no 3.2 contexts are requested, but this patch
      adds support on an OpenGL 3.2 context to use instancing for rendering
      glyphs. This required adding some additional capabilities to the VAOs
      so that they can handle matrices and divisors. This patch shows slightly
      better performance on a 2.1 context and about a 100% improvement on
      a 3.2 context. Picking on the 3.2 context path still needs some minor
      work.
      
      Change-Id: Ifb59184e9e3184b664fb642c5ffa73f4f268dd51
      4dea04ea
  8. 05 Sep, 2014 1 commit
  9. 04 Sep, 2014 1 commit
  10. 21 Jul, 2014 2 commits
  11. 03 Jun, 2014 1 commit
  12. 12 May, 2014 1 commit
    • Marcus D. Hanwell's avatar
      Added a Vertex Attribute Object (VAO) class · 865ce36f
      Marcus D. Hanwell authored
      This class uses OpenGL VAOs when available, and emulates them when
      they are not. Even for the non-accelerated case it caches attribute
      array locations in the shader programs and provides a convenience
      to collect enable/disable calls.
      
      Change-Id: Ibbad19ffb920cd12932d298e811b17e648bc2a4b
      865ce36f