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. 09 Jan, 2016 1 commit
  3. 07 Jan, 2016 1 commit
  4. 06 Jan, 2016 1 commit
  5. 04 Jan, 2016 1 commit
  6. 17 Dec, 2015 1 commit
  7. 11 Dec, 2015 2 commits
  8. 10 Dec, 2015 1 commit
    • Ken Martin's avatar
      Provide better rendering backend support · ef684995
      Ken Martin authored
      Add a configured value in vtkRenderingOpenGLConfigure
      for external applications to use and provide a new
      method in vtkRenderWindow to get the backend at
      runtime.
      ef684995
  9. 28 Nov, 2015 1 commit
  10. 20 Nov, 2015 1 commit
  11. 09 Oct, 2015 1 commit
    • Ken Martin's avatar
      Add android vr example and fixes to support it · c8fd8f3e
      Ken Martin authored
      This topic adds a volume rendering example to android builds.  It also
      fixes a number of issues to make it work with android including on
      Samsung devices which have a different OpenGL driver.
      
      VR use of 1D textures have been replaced with 2D textures as
      1D textures are not supported on OpenGL ES.
      
      Some minor build inprovements are included as well.
      c8fd8f3e
  12. 04 Aug, 2015 1 commit
  13. 12 Jul, 2015 1 commit
  14. 09 Jul, 2015 2 commits
  15. 02 Jul, 2015 1 commit
    • Dan Lipsa's avatar
      BUG: This fixes a valgrind complaint. · 04fbdbb4
      Dan Lipsa authored
      A call to
            glGetFramebufferAttachmentParameteriv(GL_DRAW_FRAMEBUFFER,
              attachment,
              GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE, &size);
      at vtkOpenGLRenderWindow.cxx:520 fails on my machine.
      
      This is the valgrind printout before the fix
      ==818== Conditional jump or move depends on uninitialised value(s)
      ==818==    at 0x1A3B97CC: vtkRenderWindow::SetAlphaBitPlanes(int) (in /home/danlipsa/build/VTK-OpenGL2/lib/libvtkRenderingOpenGL2-6.3.so.1)
      ==818==    by 0x1A466BC7: vtkOpenGLRenderWindow::OpenGLInitState() (vtkOpenGLRenderWindow.cxx:396)
      ==818==    by 0x1A466AD7: vtkOpenGLRenderWindow::OpenGLInit() (vtkOpenGLRenderWindow.cxx:343)
      ==818==    by 0x1A4F275C: vtkXOpenGLRenderWindow::WindowInitialize() (vtkXOpenGLRenderWindow.cxx:976)
      ==818==    by 0x1A4F27A2: vtkXOpenGLRenderWindow::Initialize() (vtkXOpenGLRenderWindow.cxx:985)
      ==818==    by 0x1A4F2BE8: vtkXOpenGLRenderWindow::Start() (vtkXOpenGLRenderWindow.cxx:1112)
      ==818==    by 0x1A4E3F25: vtkXRenderWindowInteractor::Initialize() (vtkXRenderWindowInteractor.cxx:386)
      ==818==    by 0x12057613: vtkRenderWindow::Render() (vtkRenderWindow.cxx:320)
      ==818==    by 0x1A467095: vtkOpenGLRenderWindow::Render() (vtkOpenGLRenderWindow.cxx:448)
      ==818==    by 0x1A4F53AC: vtkXOpenGLRenderWindow::Render() (vtkXOpenGLRenderWindow.cxx:1765)
      ==818==    by 0x1A0F43BF: vtkXOpenGLRenderWindowCppCommand(vtkXOpenGLRenderWindow*, Tcl_Interp*, int, char**) (vtkXOpenGLRenderWindowTcl.cxx:434)
      ==818==    by 0x1A0F2D93: vtkXOpenGLRenderWindowCommand(void*, Tcl_Interp*, int, char**) (vtkXOpenGLRenderWindowTcl.cxx:32)
      ==818==
      04fbdbb4
  16. 22 Jun, 2015 1 commit
  17. 01 Jun, 2015 2 commits
    • Ken Martin's avatar
      More cleanups · f1535309
      Ken Martin authored
      vtkgl::CellBO renamed vtkOpenGLHelper
      vtkgl::substitute moved to vtkShaderProgram::Substitute
      Creation of vtkOpenGLIndexBufferObject
      Creation of vtkOpenGLVertexBufferObject
      Move methods that were in vtkglVBOHelper into new classes
      Move IndexCount from CellBO to vtkOpenGLIndexBufferObject
      etc
      f1535309
    • 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
  18. 25 May, 2015 2 commits
  19. 21 May, 2015 2 commits
  20. 20 May, 2015 3 commits
  21. 19 May, 2015 1 commit
  22. 18 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 3 commits
    • Ken Martin's avatar
      Even more OSX 3.2 changes · 2dead9db
      Ken Martin authored
      This commit include more changes to make OSX happy.  A couple
      of them are good changes to be truely 3.2 compliant. Then
      there is another glew fix because glew is not good with
      core contexts.
      2dead9db
    • 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. 30 Apr, 2015 1 commit
  26. 05 Apr, 2015 1 commit
  27. 04 Apr, 2015 1 commit
  28. 01 Apr, 2015 1 commit
  29. 25 Mar, 2015 1 commit
  30. 02 Mar, 2015 1 commit
    • Ken Martin's avatar
      Fix a regression and new failing test · cc429a57
      Ken Martin authored
      TestActor3D needed to pass its info down to deleates it
      uses to do the rendering. Added that code. This fixes a failing
      depth peeling test.
      
      Reverted multisample change for OpenGL2 as it was causing all
      offscreen tests to fail (many MPI tests use os rendering).
      
      Change-Id: Ida4d2ff36a60c7e1e6f4a434208d19933791a3e5
      cc429a57