aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/items/qquickopenglshadereffectnode_p.h
diff options
context:
space:
mode:
authorYevhen Kyriukha <kirgene@gmail.com>2017-05-21 23:02:37 +0300
committerLaszlo Agocs <laszlo.agocs@qt.io>2017-06-23 07:37:42 +0000
commit717618d0b05b751ab155c55a6c2b03c56cffc99b (patch)
tree2a2e55b10f71e1371f89927b135c29d882e36e53 /src/quick/items/qquickopenglshadereffectnode_p.h
parentaa048e7a6c4c1b72839cea95c386c6ccc12be420 (diff)
Support external textures (samplerExternalOES) in ShaderEffect
samplerExternalOES type defined in OES_EGL_image_external extension is used on embedded platforms to achieve zero-copy of textures. [ChangeLog][Qt Quick] Added support for samplerExternalOES sampler type in ShaderEffect Task-number: QTBUG-59462 Change-Id: Ib1e864f2e1321949b0a6539d37b92d2b62541ea8 Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'src/quick/items/qquickopenglshadereffectnode_p.h')
-rw-r--r--src/quick/items/qquickopenglshadereffectnode_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quick/items/qquickopenglshadereffectnode_p.h b/src/quick/items/qquickopenglshadereffectnode_p.h
index aea28e6612..784294d9eb 100644
--- a/src/quick/items/qquickopenglshadereffectnode_p.h
+++ b/src/quick/items/qquickopenglshadereffectnode_p.h
@@ -90,7 +90,7 @@ class Q_QUICK_PRIVATE_EXPORT QQuickOpenGLShaderEffectMaterial : public QSGMateri
public:
struct UniformData
{
- enum SpecialType { None, Sampler, SubRect, Opacity, Matrix };
+ enum SpecialType { None, Sampler, SamplerExternal, SubRect, Opacity, Matrix };
QByteArray name;
QVariant value;