mirror of
https://github.com/mpv-player/mpv
synced 2025-01-11 17:39:38 +00:00
f551fbaa25
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.
12 lines
155 B
Prolog
12 lines
155 B
Prolog
QT += qml quick
|
|
|
|
HEADERS += main.h
|
|
SOURCES += main.cpp
|
|
|
|
CONFIG += link_pkgconfig debug
|
|
PKGCONFIG += mpv
|
|
|
|
RESOURCES += mpvtest.qrc
|
|
|
|
OTHER_FILES += main.qml
|