diff options
author | Carlos Rafael Giani <dv@pseudoterminal.org> | 2015-03-10 00:07:40 +0100 |
---|---|---|
committer | Yoann Lopes <yoann.lopes@theqtcompany.com> | 2015-05-26 11:57:56 +0000 |
commit | 288d54947406caa9b9d6326a88a7dc8afc64ee04 (patch) | |
tree | ba2cbb7c5d2ca87ed69e2aca1e4a46eaf3ccfa53 /src/plugins/videonode/imx6/qsgvivantevideomaterial.h | |
parent | a3f82a8995543288dd004349bbe94beece170d6a (diff) |
videonode: imx6: Ensure the video node excludes padding pixels
Padding rows & columns are included in the video frame that is sent to
the VIV direct texture. Scale the UV coordinates to ensure the padding
pixels aren't shown.
Change-Id: I8b870a95ff786f9f80f42f0cc33f468b0c9c3863
Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
Reviewed-by: Yoann Lopes <yoann.lopes@theqtcompany.com>
Diffstat (limited to 'src/plugins/videonode/imx6/qsgvivantevideomaterial.h')
-rw-r--r-- | src/plugins/videonode/imx6/qsgvivantevideomaterial.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/videonode/imx6/qsgvivantevideomaterial.h b/src/plugins/videonode/imx6/qsgvivantevideomaterial.h index faefa1c98..faf4e8d22 100644 --- a/src/plugins/videonode/imx6/qsgvivantevideomaterial.h +++ b/src/plugins/videonode/imx6/qsgvivantevideomaterial.h @@ -43,6 +43,8 @@ #include <private/qsgvideonode_p.h> +class QSGVivanteVideoMaterialShader; + class QSGVivanteVideoMaterial : public QSGMaterial { public: @@ -78,6 +80,8 @@ private: GLuint mTexDirectTexture; GLvoid *mTexDirectPlanes[3]; + + QSGVivanteVideoMaterialShader *mShader; }; #endif // QSGVIDEOMATERIAL_VIVMAP_H |