Refactor vtkm::interop::TransferToOpenGL for implicit ArrayHandles.
Previously TransferToOpenGL would rely on every array handle implementing the CopyInto method for transferring to work properly. This was problematic as most Implicit arrays don't implement CopyInto. Now we use the Devices built in Copy infrastructure to facilitate moving data from an implicit array to concrete memory which we can be passed to OpenGL. As an additional optimization, the temporary memory for this interop is cached in the bufferstate.
Showing with 549 additions and 24 deletions
This diff is collapsed.