-Fix miscellaneous compile errors
-Move manual tests to manual folder and enable export of autotests
-Added widgets requirement
-Fixed autotests
-Fixed renderer and controller synchronization in QML case
-Treat fallback Mesa as ES2 similar to setting AA_UseSoftwareOpenGL
Change-Id: If6619733725d079e339bef16262e5ea1450ab20f
Reviewed-by: Tomi Korpipää <tomi.korpipaa@theqtcompany.com>
Renamed some function parameters so that they do not trigger shadow
warnings.
Change-Id: Iea6561d26d3f77d075fc7f30b047bfa4d34cb2e7
Reviewed-by: Tomi Korpipää <tomi.korpipaa@theqtcompany.com>
Apparently Qt modules are now required to use Q_SIGNALS and Q_SLOTS
macros instead of 'signals' and 'slots' in headers.
Change-Id: I4140b1fff4386d74bb371176919234366965e887
Reviewed-by: Mika Salmela <mika.salmela@theqtcompany.com>
On OS X the content item of the view must have a valid width
or height.
Change-Id: I6903671a9bd39511a4d0d649819b68930597260d
Task-number: QTRD-3469
Reviewed-by: Tomi Korpipää <tomi.korpipaa@theqtcompany.com>
When texture was attached on the qmlsurface example, the smoothUVs was
called before the actual model mesh was created.
Change-Id: I5a62b06291232df54ce08d586d8794b332a4eece
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
Change the color of untextured surface so it isn't included
in the gradient. Also make it clear the gradient is for
highlight only.
Change-Id: I822c59b905559da10a987e4a7d616d01dccdedba
Reviewed-by: Mika Salmela <mika.salmela@theqtcompany.com>
Change-Id: I8fdacfde272ace4c25c74c316de514cd4275da74
Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
Reviewed-by: Mika Salmela <mika.salmela@theqtcompany.com>
Primary fix is to not use shared context in qml with WinRT,
as that causes black screen.
Also removed widget apps from build in WinRT.
Change-Id: Id65ce90dbeb80442194ab838952e8cadc91135a6
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
Vertex index was limited to unsigned short, meaning even slightly
complex meshes couldn't be used. Changed to unsigned int.
Also removed unused vertex indexer methods.
Change-Id: Iebe62bd3a501dc79ee2857cca28ac0d05bd4a55e
Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
This was changed in Qt Creator 3.3 for consistency reasons.
Change-Id: I164b5bff88b2cc3091aaf48e57fb12ef60e2a6aa
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
Change-Id: I453438fee92f18c983c1bef04c68b24a7ff72cf9
Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
Reviewed-by: Mika Salmela <mika.salmela@theqtcompany.com>
On linux, there seems to be some asynchronous activity
related to window resizing, since calling processEvents() is not
enough to ensure viewport size gets updated in subViews test.
Use QTRY_COMPARE to allow for small delay.
Change-Id: Idae04ff9436c819ef150caa57f6fa988e4011746
Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
Android doesn't like creating extra QWindows, so changed
dummy surfaces used to do static initialization and cleanup
to use QOffscreenSurface.
Change-Id: Ia42e288a05ef49524252c457f3a3494677e3fc63
Reviewed-by: Mika Salmela <mika.salmela@theqtcompany.com>
Binding slider value to its minimum value is not correct,
so just initialize it on component complete.
Change-Id: Ia21ecbffdef84448b70c6b09d240ea4f854ca541
Reviewed-by: Mika Salmela <mika.salmela@theqtcompany.com>
Context doesn't exist on all envs at shutdown.
Change-Id: I6c0398203f0ab3ceaa38f64936cdf375c43e9f55
Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
Label items should not try to delete their textures at destructor if
they are already deleted.
Change-Id: I8131301bec47a0a2617b4a923d7cce430d35e18b
Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>