Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • LibVLCSharp LibVLCSharp
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 79
    • Issues 79
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • VideoLANVideoLAN
  • LibVLCSharpLibVLCSharp
  • Issues
  • #450
Closed
Open
Issue created Mar 19, 2021 by Martin Finkel@mfklMaintainer

Consider replacing SharpDX with alternative

Problem to solve

SharpDX has served us well so far, but it's been unmaintained for a while now. And our usage of D3D11 (and other native graphics APIs) will only grow from libvlc 4 onward.

I have started experimenting with https://github.com/terrafx/terrafx.interop.windows/ as part of my work on binding the v4 output callbacks and the experience is good. The maintainer is working on the .NET runtime, the bindings are autogenerated.

I think it would be a good candidate for our D3D11 uses (notably the UWP/WinUI component).

I am thinking it may be a good idea to replace the v3 UWP VideoView SharpDX code so to have only 1 D3D11 binding used for easier maintenance, instead of terrafx for v4 (output callbacks + new UWP view) and SharpDX for v3 (UWP view only).

But on the other hand, SharpDX has been stable so far so we could switch only in v4, as more demanding needs will be v4 only with the output callbacks (d3d12 etc.).

Thoughts?

Intended users

No real change for users either way.

Proposal

Convert v3 d3d11 code from using SharpDX to terrafx. Or not.

Thoughts?

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking

VideoLAN code repository instance