diff options
author | Laszlo Agocs <laszlo.agocs@theqtcompany.com> | 2016-04-28 15:49:26 +0200 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@theqtcompany.com> | 2016-04-29 09:36:43 +0000 |
commit | 3169744ab415268a9b6ff544d1bd49031ef3c08a (patch) | |
tree | 18362e5a8dd62ab940e82a9f055be50c75432866 /src/quick/items/qquickgenericshadereffect_p.h | |
parent | cb1033fd603a438041a16ba55547d77133ad1e79 (diff) |
D3D12: Fix 'ShaderEffect in a ShaderEffectSource as property value'
Import (and clean up) the dropshadow from the shadereffects example.
This is very useful since it tests a lot more paths and cases than
the wobble.
To overcome the issue of not having some of functionality available before
the item is added to a window, make QQuickGenericShaderEffect smarter and
enhance the documentation.
The handling of vertical mirroring is revised. The GLSL and HLSL version of
the dropshadow shaders produce correct, identical output now.
Change-Id: I94800997bfba781140d80720eb6f340cda480747
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
Diffstat (limited to 'src/quick/items/qquickgenericshadereffect_p.h')
-rw-r--r-- | src/quick/items/qquickgenericshadereffect_p.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/quick/items/qquickgenericshadereffect_p.h b/src/quick/items/qquickgenericshadereffect_p.h index 5f6652ec32..2af7d1156a 100644 --- a/src/quick/items/qquickgenericshadereffect_p.h +++ b/src/quick/items/qquickgenericshadereffect_p.h @@ -105,6 +105,8 @@ private slots: void sourceDestroyed(QObject *object); void markGeometryDirtyAndUpdate(); void markGeometryDirtyAndUpdateIfSupportsAtlas(); + void itemWindowChanged(QQuickWindow *w); + void backendChanged(); private: QSGGuiThreadShaderEffectManager *shaderEffectManager() const; |