From fc775920def39309b1debedfb42045eacdb5db6d Mon Sep 17 00:00:00 2001 From: jaseg Date: Fri, 3 Jan 2020 01:11:23 +0100 Subject: README: add render context gtk example --- README.rst | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/README.rst b/README.rst index 1d857b6..c78a196 100644 --- a/README.rst +++ b/README.rst @@ -231,14 +231,21 @@ PyGObject embedding application = MainClass() Gtk.main() -Using OpenGL from PyQT -...................... +Using OpenGL from PyGObject via new render context API +...................................................... + +Just like it is possible to render into a GTK widget through X11 windows, it `also is possible to render into a GTK +widget using OpenGL `__ through this python API. + +Using OpenGL via legacy opengl_cb backend from PyQT +................................................... Github user cosven_ has managed to `make mpv render into a Qt widget using OpenGL `__ through this python API. -Using OpenGL from PyGObject -........................... +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 `__ through this python API. -- cgit