• 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.
    a185cd29
CMakeLists.txt 1.79 KB