- Load shader source from resource files. - Correctly report material types: each material can use different shaders depending on the video pixel format but it was reporting a unique material type. This was causing the node to keep using the same shader even if its pixel format changed. Change-Id: Ib903ecd6e7dd1dd56d7cefe255ab7049933df17d Reviewed-by: Gunnar Sletta <gunnar@sletta.org>
49 lines
1.4 KiB
Prolog
49 lines
1.4 KiB
Prolog
TARGET = QtMultimediaQuick_p
|
|
QT = core quick multimedia-private
|
|
CONFIG += internal_module
|
|
|
|
load(qt_module)
|
|
|
|
DEFINES += QT_BUILD_QTMM_QUICK_LIB
|
|
|
|
# Header files must go inside source directory of a module
|
|
# to be installed by syncqt.
|
|
INCLUDEPATH += ../multimedia/qtmultimediaquicktools_headers/
|
|
|
|
PRIVATE_HEADERS += \
|
|
../multimedia/qtmultimediaquicktools_headers/qdeclarativevideooutput_p.h \
|
|
../multimedia/qtmultimediaquicktools_headers/qdeclarativevideooutput_backend_p.h \
|
|
../multimedia/qtmultimediaquicktools_headers/qsgvideonode_p.h \
|
|
../multimedia/qtmultimediaquicktools_headers/qtmultimediaquickdefs_p.h
|
|
|
|
SOURCES += \
|
|
qsgvideonode_p.cpp \
|
|
qdeclarativevideooutput.cpp \
|
|
qdeclarativevideooutput_render.cpp \
|
|
qdeclarativevideooutput_window.cpp \
|
|
qsgvideonode_yuv.cpp \
|
|
qsgvideonode_rgb.cpp \
|
|
qsgvideonode_texture.cpp
|
|
|
|
HEADERS += \
|
|
$$PRIVATE_HEADERS \
|
|
qdeclarativevideooutput_render_p.h \
|
|
qdeclarativevideooutput_window_p.h \
|
|
qsgvideonode_yuv.h \
|
|
qsgvideonode_rgb.h \
|
|
qsgvideonode_texture.h
|
|
|
|
RESOURCES += \
|
|
qtmultimediaquicktools.qrc
|
|
|
|
OTHER_FILES += \
|
|
shaders/rgbvideo.vert \
|
|
shaders/rgbvideo_padded.vert \
|
|
shaders/rgbvideo.frag \
|
|
shaders/rgbvideo_swizzle.frag \
|
|
shaders/biplanaryuvvideo.vert \
|
|
shaders/biplanaryuvvideo.frag \
|
|
shaders/biplanaryuvvideo_swizzle.frag \
|
|
shaders/triplanaryuvvideo.vert \
|
|
shaders/triplanaryuvvideo.frag
|