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

Use angle GPU context #10

Open
Kagami opened this issue Feb 25, 2017 · 2 comments
Open

Use angle GPU context #10

Kagami opened this issue Feb 25, 2017 · 2 comments

Comments

@Kagami
Copy link
Owner

Kagami commented Feb 25, 2017

Right now ANGLE backend is disabled in custom mpv build because it requires d3dcompiler_47.dll, libEGL.dll and libGLESv2.dll which weight 2.5M compressed. Also it takes more time to start mpv with that backend, at least in VM.

But @wiiaboo mentioned that win backend doesn't always work good (current default in boram), so it's probably worth to enable it again. In order to avoid library duplications, it should be possible to add top-level electron's directory to the DLL PATH or something like that (Electron uses exactly same DLLs for its OpenGL rendering).

@Kagami
Copy link
Owner Author

Kagami commented Mar 1, 2017

Also required for #9

@Kagami Kagami changed the title --enable-egl-angle Use angle GPU context Jan 8, 2019
@Kagami
Copy link
Owner Author

Kagami commented Jan 8, 2019

Also consider:

--gpu-context=d3d11
--gpu-context=angle
--gpu-context=winvk
--gpu-context=dxinterop

Do they provide any real benifits compared to --gpu-context=win except hwdec?

dxva2 requires  --vo=gpu  with  --gpu-context=d3d11, --gpu-context=angle or --gpu-context=dxinterop (Windows only)

d3d11va requires --vo=gpu with --gpu-context=d3d11 or --gpu-context=angle (Windows 8+ only)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant