From 0e19d1b6aaa7e363d193f5e91829bba089c8ffed Mon Sep 17 00:00:00 2001 From: Ivo Georgiev Date: Mon, 5 Jul 2021 19:38:08 +0300 Subject: [PATCH] README added --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..27d8a18 --- /dev/null +++ b/README.md @@ -0,0 +1,18 @@ +## Stremio shell: new gen + +A Windows-only shell using WebView2 and MPV + +Goals: +* Performance +* Reliability +* Easy to ship + +In all three, this architecture excels the [Qt-based shell](https://github.com/Stremio/stremio-shell): it is about 2-5x more efficient depending on the use case, as it allows MPV to render directly in the window through it's optimal video output rather than using libmpv to integrate with Qt. + +This is due to Qt having a complex rendering pipeline involving ANGLE and multiple levels of composing and drawing to textures, which inhibits full HW acceleration. + +Meanwhile in this setup MPV uses whichever pipeline it considers to be optimal (like the mpv desktop app), which is normally d3d11, allowing full HW acceleration. + +For web rendering, we use the native WebView2, which is Chromium based but shipped as a part of Windows 10: therefore we do not need to ship our own "distribution" of Chromium. + +Finally, this should be a lot more reliable as it uses a much simper and more native overall architecture.