diff options
author | Paolo Angelelli <paolo.angelelli@qt.io> | 2017-12-04 17:31:45 +0100 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2018-01-31 05:55:08 +0000 |
commit | 367c82b541ccb433a8b5ac3b26ad95b6d50769d2 (patch) | |
tree | b9b7d843ef076a4d9d86f68cb8bd81978577a61f /src/imports/shapes/qquickshape_p_p.h | |
parent | f42f1366dcd4b070c69c9e7fe42a704ef23da14d (diff) |
Fix Shapes not playing well with QtGraphicalEffects
This patch allow shapes to skip the sync optimization in situations
where the shape is added to a shader effect either directly or
as nested inside another item, and is set to be invisible.
Task-number: QTBUG-63105
Change-Id: I595fbc052032f420982be1267d22a24bcffb7212
Reviewed-by: Robin Burchell <robin.burchell@crimson.no>
Diffstat (limited to 'src/imports/shapes/qquickshape_p_p.h')
-rw-r--r-- | src/imports/shapes/qquickshape_p_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/imports/shapes/qquickshape_p_p.h b/src/imports/shapes/qquickshape_p_p.h index f43831516a..350c2756bb 100644 --- a/src/imports/shapes/qquickshape_p_p.h +++ b/src/imports/shapes/qquickshape_p_p.h @@ -171,6 +171,7 @@ public: static void asyncShapeReady(void *data); bool spChanged; + int effectRefCount; QQuickShape::RendererType rendererType; bool async; QQuickShape::Status status; |