Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

consider zero-copy rendering #3

Open
bmegli opened this issue Sep 1, 2019 · 0 comments
Open

consider zero-copy rendering #3

bmegli opened this issue Sep 1, 2019 · 0 comments
Labels
question Further information is requested

Comments

@bmegli
Copy link
Owner

bmegli commented Sep 1, 2019

In hardware accelerated video processing (depending on hardware) we usually end up with decoded video data already on GPU side.

It is possible to use this data directly for rendering, without transferring video data from GPU to CPU and from CPU to GPU again (e.g. as texture for rendering).

This technique, called zero-copy, is generally most efficient and fastest way to decode & render video data. Unfortunately it also needs tight integration with low level display abstractions used by the OS (e.g. video data from VAAPI surface directly used from EGL with DRM or X11 display),

I don't see possibility to do this with Unity, not without access to its closed source part.

If you think otherwise, please kindly let me know.

@bmegli bmegli added the question Further information is requested label Sep 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant