diff options
author | Robozman <robozman@gmail.com> | 2020-10-01 22:49:57 -0600 |
---|---|---|
committer | jaseg <136313+jaseg@users.noreply.github.com> | 2020-10-02 16:21:47 +0200 |
commit | fa1d9da6ab0cde297a661208d9901b46c59cb783 (patch) | |
tree | 7e39c1766f657fded07a6ad7e774952a78440d5f | |
parent | 035e1db1db7e884d5d2a86241b61010824e6d42b (diff) | |
download | python-mpv-fa1d9da6ab0cde297a661208d9901b46c59cb783.tar.gz python-mpv-fa1d9da6ab0cde297a661208d9901b46c59cb783.tar.bz2 python-mpv-fa1d9da6ab0cde297a661208d9901b46c59cb783.zip |
README: Add Robozman's PyQt5/QML/OpenGL render context example
-rw-r--r-- | README.rst | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -342,6 +342,12 @@ Using OpenGL via legacy opengl_cb backend from PyGObject Just like it is possible to render into a Qt widget, it `also is possible to render into a GTK widget <https://gist.github.com/trin94/a930f2a13cee1c9fd21cab0393bf4663>`__ through this python API. +Using OpenGL from PyQt5/QML via new render context API +...................................................... + +Robozman_ has mangaed to `make mpv render into a PyQt5/QML widget using OpenGL +<https://gitlab.com/robozman/python-mpv-qml-example>`__ through this python API. + Coding Conventions ------------------ @@ -352,3 +358,4 @@ No tabs. Probably don't bother making pure-formatting PRs except if you think it .. _`PEP 8`: https://www.python.org/dev/peps/pep-0008/ .. _`mpv.py`: https://raw.githubusercontent.com/jaseg/python-mpv/master/mpv.py .. _cosven: https://github.com/cosven +.. _Robozman: https://gitlab.com/robozman |