• Robert Maynard's avatar
    Refactor vtkm::interop::TransferToOpenGL for implicit ArrayHandles. · a185cd29
    Robert Maynard authored
    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.
Last commit
Last update
cuda Loading commit data...
internal Loading commit data...
testing Loading commit data...
BufferState.h Loading commit data...
CMakeLists.txt Loading commit data...
TransferToOpenGL.h Loading commit data...