1. 12 Jul, 2013 1 commit
    • Burlen Loring's avatar
      OpenGL error hunt -- dashboard cleanup · 6455c581
      Burlen Loring authored
      Use static version of vtkOpenGLCheckErrorMacro in helper class
      that's not a vtkObject in vtkPistonMapper. Don't check for OpenGL
      errors in vtkGL2PSExporter::Write it doesn't use OpenGL directly.
      Fix warning about narrowing cast. Use vtkOpenGLCheckErrorMacro
      before return in vtkOpenGLImageSliceMapper::TextureSizeOK.
      
      Change-Id: Ia05575d571c230b68b2035e8a866f0ec7519d887
      6455c581
  2. 08 Jul, 2013 1 commit
    • Burlen Loring's avatar
      OpenGL error hunt · a6fa3e37
      Burlen Loring authored
      This patch implements OpenGL error checking in VTK.
      
      OpenGL's error handling implementation error is designed such
      that internal error flags remain set with the first error that
      occurred until they are explicitly checked. With this design
      it's important to check and clear the error flags regularly
      else they become unusable as code checking for errors ends
      up reporting earlier undetected unrelated errors.
      
      This patch takes the following approach:
      
      1) at public entry points into code that uses OpenGL clear the
      error flags without reporting errors. This guards against
      reportinig unrealted errors, such as those caused by code
      outside of VTK. See vtkOpenGLClearErrorMacro
      
      2) before returning from functions that made OpenGL calls check
      for and report OpenGL errors. This detects Open GL errors in the
      function/method where they occurred facilitating debugging and it
      clears error flags so that user code doesn't detect errors caused
      by VTK. See vtkOpenGLCheckErrorMacro
      
      This patch cleans up a number of bugs that were detected by
      the new error checking and reporting.
      
      This patch also contains improvements for OpenGL pixel buffers, a
      renderbuffer object, and fast paths through framebuffer objects,
      and texture objects, and fast path for setting uniform variables,
      all of which are needed in vtkSurfaceLICPainter and
      vtkLineIntegralConvolution2D GPGPU code.
      
      Change-Id: I4ecefe9a444a74128bf73ef2ddfd5d4acea387ec
      a6fa3e37
  3. 26 Jun, 2012 1 commit
  4. 21 Jun, 2012 1 commit
    • Dave DeMarle's avatar
      Add interface to LANL's Piston GPGPU library. · bdc47e73
      Dave DeMarle authored
      This new module is a framework that adds GPGPU filters, which call
      into LANL's piston library to do the computation, to VTK. The
      implementation includes a new GPU centric data object type, a new
      GPU enabling algorithm family, and a new mapper for GPU data, all of
      which can function without bringing the data back to the CPU.
      
      Thanks Ollie Lo, Chris Sewell and Aashish Chaudihary for assisting
      with the development of this new module.
      
      Change-Id: I948c01432b44df343e810241639ae123488a4305
      bdc47e73