summaryrefslogtreecommitdiff
path: root/README.rst
diff options
context:
space:
mode:
authorjaseg <136313+jaseg@users.noreply.github.com>2021-01-19 18:55:45 +0100
committerGitHub <noreply@github.com>2021-01-19 18:55:45 +0100
commit5e581e817b79e15db814df9139057d1b78558e7a (patch)
treee136ba5f518443428d4e24e7a36295c92e7d3931 /README.rst
parentfa1d9da6ab0cde297a661208d9901b46c59cb783 (diff)
downloadpython-mpv-5e581e817b79e15db814df9139057d1b78558e7a.tar.gz
python-mpv-5e581e817b79e15db814df9139057d1b78558e7a.tar.bz2
python-mpv-5e581e817b79e15db814df9139057d1b78558e7a.zip
Add dfaker's imgui/OpenGL demo
Diffstat (limited to 'README.rst')
-rw-r--r--README.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/README.rst b/README.rst
index f6f1796..8522432 100644
--- a/README.rst
+++ b/README.rst
@@ -348,6 +348,11 @@ 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.
+Using mpv inside imgui inside OpenGL via GLFW
+.............................................
+
+dfaker_ has written a demo (`link <https://github.com/dfaker/imgui_glfw_pythonmpv_demo/blob/main/main.py>`__) that uses mpv to render video into an `imgui <https://github.com/ocornut/imgui>`__ UI running on an OpenGL context inside `GLFW <https://www.glfw.org/>`__. Check out their demo to see how to integrate with imgui/OpenGL and how to access properties and manage the lifecycle of an MPV instance.
+
Coding Conventions
------------------
@@ -359,3 +364,4 @@ No tabs. Probably don't bother making pure-formatting PRs except if you think it
.. _`mpv.py`: https://raw.githubusercontent.com/jaseg/python-mpv/master/mpv.py
.. _cosven: https://github.com/cosven
.. _Robozman: https://gitlab.com/robozman
+.. _dfaker: https://github.com/dfaker