1. 17 Feb, 2016 2 commits
    • Ken Martin's avatar
      remove glFlush calls · e473e02b
      Ken Martin authored
      These calls should not be needed but pollute the code
      and the profiling results and potentially slow down execution
      e473e02b
    • Ken Martin's avatar
      improve opengl context version handling · 8d0daf13
      Ken Martin authored
      add a GetOpenGLVersion method to OpenGLRenderWindow
      
      modify Win32OpenGLRenderWindow to try to get a
      more recent context than 3.2 if available.
      8d0daf13
  2. 28 Jan, 2016 1 commit
  3. 21 Jan, 2016 1 commit
    • Joachim Pouderoux's avatar
      Fix the AdjustWindowRectForBorders function so correct window size is computed · d392ec33
      Joachim Pouderoux authored
      This function used to presume a window style used to compute the whole window
      size needed for a requested client frame size. The obtained client size of the
      window what finally not the one requested - thus the frame buffer was not of
      the size obtained by calling GetSize(), leading to problem when capturing
      image from the back buffer for instance.
      
      The current window style is now directly obtained using the related Win32 API
      function with the window hanle, ensuring a correct window rect computation.
      d392ec33
  4. 06 Jan, 2016 1 commit
  5. 26 Dec, 2015 1 commit
  6. 17 Dec, 2015 1 commit
  7. 23 Nov, 2015 1 commit
  8. 20 Nov, 2015 2 commits
  9. 16 Nov, 2015 1 commit
  10. 20 Oct, 2015 1 commit
  11. 13 Sep, 2015 2 commits
  12. 20 Aug, 2015 1 commit
    • Brad King's avatar
      ENH: Remove use of include <vtksys/ios/*> and vtksys_ios::* · 3ae7dd3a
      Brad King authored
      We no longer need this compatibility layer for the compilers we support.
      Use the following commands to switch to standard header and namespace:
      
       git grep -l vtksys/ios/ | xargs sed -i 's|vtksys/ios/||'
       git grep -l vtksys_ios | xargs sed -i 's|vtksys_ios|std|g'
      3ae7dd3a
  13. 17 Aug, 2015 1 commit
  14. 04 Aug, 2015 1 commit
  15. 28 Jul, 2015 1 commit
  16. 23 Jul, 2015 3 commits
  17. 22 Jul, 2015 1 commit
    • Bill Lorensen's avatar
      STYLE: Replace vtksys_stl and vtksys_ios:: with std:: · 924248d9
      Bill Lorensen authored
      In the early days of VTK, support for stl was not portable. vtksys_stl
      and vtksys_ios provided a portable implementation of the stl. Now, all
      of the VTK supported compilers have portable stl implementations.
      
      This patch:
        1) Replaces the vtksys_ios:: with std::.
        2) Replaces the vtksys_stl:: with std::.
        3) Removes "using" statements for stl
      924248d9
  18. 20 Jul, 2015 1 commit
  19. 26 May, 2015 1 commit
  20. 20 May, 2015 1 commit
  21. 14 May, 2015 1 commit
    • David C. Lonie's avatar
      Add vtkWindow::DetectDPI. · c8d65517
      David C. Lonie authored
      Auto-detecting the screen DPI (which the win32 backend does)
      interferes with testing after we make 2D text rendering
      DPI-aware. Since only one backend supported automatic DPI
      detection, I moved this out into a user method so that folks
      who depend on this behavior can still have it, but we can
      test consistently.
      c8d65517
  22. 07 May, 2015 1 commit
  23. 06 May, 2015 1 commit
    • Ken Martin's avatar
      Fix a few issues exposed by PV testing · af81970a
      Ken Martin authored
      A couple fixes.  The big one is fixes to picking for
      CompositePolydataMapper2 but there are a couple other minor
      fixes in there as well.
      
      SetPixelData was not turning off depth tests.
      
      Some cases with a lot of degenerate cells could result
      in negative array sizes.
      
      Testing for a stereo capable window on Win32 was not correct
      af81970a
  24. 01 May, 2015 2 commits
    • Ken Martin's avatar
      Make VTK work with OpenGL 3.2 Core · b8a4007f
      Ken Martin authored
      Lots of changes to make VTK work with both 2.1 and 3.2 versions
      of OpenGL. The main differences in OpenGL 3.2 are that the
      following features no longer are supported
      
      intensity textures - recoded to use red
      luminanace textures - recoded to use red
      line stipple - vtk error macro
      querying extensions in one string - replaced with multiple calls
      pixel transfer bias and scale - recoded to be done in the shader
      glPush and PopAttrib - recoded to get and set instead
      texelFetchBuffer - defined to texelFetch
      txture1D - defined to texture
      texture3D - defined to texture
      b8a4007f
    • Ken Martin's avatar
      1f5f80da
  25. 09 Mar, 2015 1 commit
  26. 13 Dec, 2014 1 commit
    • Ken Martin's avatar
      Fix some release graphics resource issues · 5c1c4b19
      Ken Martin authored
      ParaView IceT does a WindowRemap when using tile display. That
      means everythgin has to work with a new window/context so it
      identifies a bunch of release graphics resource issues. This
      patch fixes a bunch of them. Mostly minor changes the one
      large change is to make ReleaseGraphicsResources in Renderer
      public like it is for every other class. This is the way it
      should be and the original protected method was a mistake from
      way way back.  Making it public save us from doing the
      
      SetRenderWindow(NULL)
      SetRenderWindow(this)
      
      hack that we have been using to free up resources in the
      renderer since we could nto call the protected method.
      
      Change-Id: If31406fa9425417d240311aac110c82409637163
      5c1c4b19
  27. 08 Dec, 2014 1 commit
  28. 30 Sep, 2014 1 commit
    • Ken Martin's avatar
      Try adding support for ARB_instanced_arrays · 23ceef01
      Ken Martin authored
      Convert the colors array back to unsigned char, try adding support
      for ARB_instanced_arays. Fix up wireframe and picking for when
      the fast path is being used. Previously that would fail.
      
      Change-Id: Iada6b55f01ca7f2c3f68362f3e7da7e99fa15eeb
      23ceef01
  29. 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
  30. 22 Sep, 2014 2 commits
  31. 18 Sep, 2014 1 commit
  32. 02 Sep, 2014 2 commits
    • David Cole's avatar
      Rendering: Retrieve the full screen size in GetScreenSize · 432f06b8
      David Cole authored
      On Windows, setting a render window to go "full screen" would leave the
      Windows task bar showing, and have the render window only taking up
      *most* of the screen.
      
      Change vtkWin32OpenGLRenderWindow's GetScreenSize method to retrieve
      the full size of the screen on the primary monitor and allow Windows
      apps to have truly full screen vtkRenderWindows.
      
      Change-Id: I780ca7132596ef4f65fb2b9b2b9808ad1b969bdc
      432f06b8
    • David Cole's avatar
      Rendering: Use AdjustWindowRect to ensure pixel perfect client size · 8a866717
      David Cole authored
      Continuing in the vein of commit 5f8b3c0c this commit eliminates more
      (less often seen) calls to GetSystemMetrics to yield proper window
      sizing by calling AdjustWindowRect. This takes window borders into
      account properly across more versions of Windows.
      
      Specifically, this change should fix the failing
      vtkRenderingCoreCxx-TestTilingCxx test from the mug.neocisinc
      dashboard client.
      
      After this change, there are NO calls to GetSystemMetrics in this file.
      
      Change-Id: If1db8f7b4564da5996d189701ea14e4955330f0e
      8a866717