summaryrefslogtreecommitdiffstats
path: root/DOCS/client_api_examples/qml_direct
Commit message (Collapse)AuthorAgeFilesLines
* DOCS/client_api_examples: Qt: force qmake to use pkg-config.torque2015-05-161-0/+1
|
* vo_opengl_cb: deprecate mpv_opengl_cb_render()wm42015-04-091-4/+2
| | | | Its vp parameter made no sense anymore. Introduce a new one.
* vo_opengl_cb: add a function to report vsync timewm42015-04-092-0/+8
| | | | | | | And also let vo.c know of it. Currently, this does not help much, but will facilitate future improvements.
* DOCS/client_api_examples: fix locale nonsense in qml exampleswm42015-01-151-0/+5
| | | | | | | The Qt example already does this. I hoped this was restricted to QApplication only, but apparently Qt repeated this mistake with QGuiApplication (QGuiApplication was specifically added for QtQuick at a much later point, even though QApplication inherits from it).
* DOCS/client_api_examples: qml_direct: QWindow::size() is not thread-safewm42015-01-092-3/+4
| | | | | | We still keep the window pointer, because we want to call QQuickWindow::resetOpenGLState() (which runs on the rendering thread only). Interesting mess...
* DOCS/client_api_examples: add an alternative qml examplewm42015-01-085-0/+263
This one avoids use of a FBO. It's less flexible, because it uses works around the whole QML rendering API. It seems to be the only way to get OpenGL rendering without any indirections, though. Parts of this example were insipired by Qt's "Squircle" example. Also add a README file with a short description of each example, to reduce the initial confusing.