Skip to content

Render and interact with the same DWM visual in separate processes

License

Notifications You must be signed in to change notification settings

BreeceW/InteractionTrackerCrossProcessVisuals

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cross process visuals with InteractionTracker

This demonstrates Cross Process Visuals by Ahmed Walid in the VirtualSurfaces composition sample from Microsoft. The result is two processes are able to display the same visual. One process (the “primary” process) creates a shared visual target and passes it to a new process (the “secondary” process) The secondary process creates the tile grid and handles interactions. It then sets the shared visual target to a RedirectVisual whose source is the root visual of the tile grid. By using a RedirectVisual and adding it as a VisualInteractionSource of the secondary process’s InteractionTracker, both processes respond to interaction.

Caveats

  • This sample uses internal APIs not meant for general public usage

Demo

interaction.mp4

About

Render and interact with the same DWM visual in separate processes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published