diff options
author | Lorn Potter <lorn.potter@gmail.com> | 2018-03-16 04:16:48 +1000 |
---|---|---|
committer | Lorn Potter <lorn.potter@gmail.com> | 2018-03-23 07:02:08 +0000 |
commit | 0abec22f157e0931ce2622bd81d536028c9dd734 (patch) | |
tree | ff700057b38d87e6a59fdc4fe0068764df0905a9 /src/quick/items | |
parent | e1443d4e186b8fecfb6ffb890c8780fd0552dceb (diff) |
webassembly: revert the bitfield patch
The bitfield changes are no longer needed, as the problem with
variables becoming unchangable seems to have been fixed, or has cleared
itself up.
Change-Id: Ia681b7410922473ab26ff57894582f8386380a86
Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
Diffstat (limited to 'src/quick/items')
-rw-r--r-- | src/quick/items/qquickloader_p_p.h | 8 | ||||
-rw-r--r-- | src/quick/items/qquickopenglshadereffect_p.h | 15 | ||||
-rw-r--r-- | src/quick/items/qquickwindow_p.h | 14 |
3 files changed, 2 insertions, 35 deletions
diff --git a/src/quick/items/qquickloader_p_p.h b/src/quick/items/qquickloader_p_p.h index c3591567b6..7492527401 100644 --- a/src/quick/items/qquickloader_p_p.h +++ b/src/quick/items/qquickloader_p_p.h @@ -109,17 +109,11 @@ public: QQuickLoaderIncubator *incubator; QV4::PersistentValue initialPropertyValues; QV4::PersistentValue qmlCallingContext; -#ifndef QT_NO_BITFIELDS bool updatingSize: 1; bool active : 1; bool loadingFromSource : 1; bool asynchronous : 1; -#else - bool updatingSize = 1; - bool active = 1; - bool loadingFromSource = 1; - bool asynchronous = 1; -#endif + void _q_sourceLoaded(); void _q_updateSize(bool loaderGeometryChanged = true); }; diff --git a/src/quick/items/qquickopenglshadereffect_p.h b/src/quick/items/qquickopenglshadereffect_p.h index a15d85bff3..0c2adadc62 100644 --- a/src/quick/items/qquickopenglshadereffect_p.h +++ b/src/quick/items/qquickopenglshadereffect_p.h @@ -178,7 +178,6 @@ private: QQuickOpenGLShaderEffectCommon m_common; -#ifndef QT_NO_BITFIELDS uint m_blending : 1; uint m_dirtyUniforms : 1; uint m_dirtyUniformValues : 1; @@ -191,20 +190,6 @@ private: uint m_supportsAtlasTextures : 1; uint m_vertNeedsUpdate : 1; uint m_fragNeedsUpdate : 1; -#else - uint m_blending = 1; - uint m_dirtyUniforms = 1; - uint m_dirtyUniformValues = 1; - uint m_dirtyTextureProviders = 1; - uint m_dirtyProgram = 1; - uint m_dirtyParseLog = 1; - uint m_dirtyMesh = 1; - uint m_dirtyGeometry = 1; - uint m_customVertexShader = 1; - uint m_supportsAtlasTextures = 1; - uint m_vertNeedsUpdate = 1; - uint m_fragNeedsUpdate = 1; -#endif }; QT_END_NAMESPACE diff --git a/src/quick/items/qquickwindow_p.h b/src/quick/items/qquickwindow_p.h index 82c01e7f54..b5e3a2c1eb 100644 --- a/src/quick/items/qquickwindow_p.h +++ b/src/quick/items/qquickwindow_p.h @@ -260,7 +260,7 @@ public: QQuickCustomRenderStage *customRenderStage; QColor clearColor; -#ifndef QT_NO_BITFIELDS + uint clearBeforeRendering : 1; uint persistentGLContext : 1; @@ -271,18 +271,6 @@ public: bool allowChildEventFiltering : 1; bool allowDoubleClick : 1; -#else - uint clearBeforeRendering = 1; - - uint persistentGLContext = 1; - uint persistentSceneGraph = 1; - - uint lastWheelEventAccepted = 1; - bool componentCompleted = 1; - - bool allowChildEventFiltering = 1; - bool allowDoubleClick = 1; -#endif Qt::FocusReason lastFocusReason; |