Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • VTK-m VTK-m
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 193
    • Issues 193
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 37
    • Merge requests 37
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • VTK
  • VTK-mVTK-m
  • Merge requests
  • !112

Open gl interop

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Hendrik Schroots requested to merge heschroots/vtk-m:openGL_Interop into master Jul 31, 2015
  • Overview 35
  • Commits 4
  • Changes

Copy the OpenGL Interop code from DAX and convert it to VTKm.

The TransferToOpenGL function, internally calls CopyFrom() which is templated on the StorageTag and DeviceAdapter. The DAX code used the ArrayHandle.CopyInto() function to safely copy data from the execution environment to an std::vector on the control side. That vector was then passed to OpenGL.

A CopyInto function does not exist for VTKm, so I implemented one in order to make as few modifications to the OpenGL code from DAX.

Major Changes:

  • ArrayHandle (and related classes) have CopyInto function added

  • CMakeLists were updated to include the ability to enable openGL interop during configuration

  • OpenGL Interop functionality and tests

  • Magnitude worklet (Used by interop tests)

EDIT

ArrayHandle CopyInto() function is in a separate MR(#121)

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: openGL_Interop