From 5e581e817b79e15db814df9139057d1b78558e7a Mon Sep 17 00:00:00 2001 From: jaseg <136313+jaseg@users.noreply.github.com> Date: Tue, 19 Jan 2021 18:55:45 +0100 Subject: Add dfaker's imgui/OpenGL demo --- README.rst | 6 ++++++ 1 file changed, 6 insertions(+) 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 `__ through this python API. +Using mpv inside imgui inside OpenGL via GLFW +............................................. + +dfaker_ has written a demo (`link `__) that uses mpv to render video into an `imgui `__ UI running on an OpenGL context inside `GLFW `__. 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 -- cgit