- 26 May, 2015 - 8 commits
-
-
Tomi Korpipää authored
Change-Id: I81f9faf361445e9fd2112c7c95046927b552e193 Task-number: QTBUG-45897 Reviewed-by:
Miikka Heikkinen <miikka.heikkinen@theqtcompany.com> Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
Titta Heikkala authored
Change-Id: I80d0e39b319a2727e4132e50d5b6a5dca2d1362c Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
Titta Heikkala authored
Change-Id: I1d72a656452002044cce8ee2807a9171f3b96f0e Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
Pasi Keränen authored
ImageCube can now be used with swipe gestures to control the visible information in the example. Change-Id: I9cdc2d2049346e994cb68d7ca667492c992830cd Reviewed-by:
Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
-
Miikka Heikkinen authored
The context version doesn't match surface version on some android platforms. Fix the issue by forcing context format 2.0 on ES2. Change-Id: I973246352f2e51acf22e622bdec51ce6574612fd Task-number: QTBUG-42455 Reviewed-by:
Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
-
Titta Heikkala authored
Change-Id: I5271a7801f6cde8cc577cbfdd22d997c5edfc82f Reviewed-by:
Tomi Korpipää <tomi.korpipaa@theqtcompany.com> Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
Pasi Keränen authored
Three.js examples were placed in the root of Qt examples folder, this moves them to be under canvas3d as they should be. Change-Id: I506685d8a147975bc137fbac3b22d8ce28639631 Reviewed-by:
Tomi Korpipää <tomi.korpipaa@theqtcompany.com> Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
Tomi Korpipää authored
Change-Id: Ie219b22bb216da4151101940048a4a9f4c066fda Task-number: QTBUG-45898 Reviewed-by:
Miikka Heikkinen <miikka.heikkinen@theqtcompany.com> Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
- 22 May, 2015 - 2 commits
-
-
Titta Heikkala authored
Change-Id: Ia7900610debde06d9ddf37319f58dd48cb6fc4a1 Reviewed-by:
Miikka Heikkinen <miikka.heikkinen@theqtcompany.com> Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
Titta Heikkala authored
Added example that shows how three.js can be used with QtCanvas3D. Documentation will be added in separate commit. Change-Id: I9557fefebd4c1a749af95bef3952560b03b3320f Reviewed-by:
Miikka Heikkinen <miikka.heikkinen@theqtcompany.com> Reviewed-by:
Sami Makkonen <sami.makkonen@digia.com> Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
- 21 May, 2015 - 2 commits
-
-
Miikka Heikkinen authored
Having a break following a return statement is not necessary. Change-Id: I848c67acaa3dad1da6f860818f422a31ab66298b Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
Miikka Heikkinen authored
On desktop environments, GL_PROGRAM_POINT_SIZE and GL_POINT_SPRITE need to be explicitly enabled to support variable point size and texturing the points. Change-Id: I27e17997b34ba877595a68cc74ffb63c2b1b2954 Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
- 20 May, 2015 - 5 commits
-
-
Miikka Heikkinen authored
The first FBO we create gets corrupted by something outside Canvas3D in some cases. E.g. changing the text in an completely unrelated Text element may corrupt Canvas3D FBOs. This only happens with some GPU drivers, likely due to a bug in the drivers themselves. To work around the issue, the first FBO we create is a dummy that we delete once the real FBOs are done. Change-Id: Ie8c2a0ec3899c3eb22e4de8809c3b41607cc83c3 Task-number: QTBUG-46101 Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
Miikka Heikkinen authored
Fix depth enum usage in examples. Remove the TODO comment about depth enums being commented out. They are commented out because stencil defines the same enums. Change-Id: I516b60f36a54775e5af504e70e9e9dab9fe5ab54 Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
Miikka Heikkinen authored
Reduced copy/paste by centralizing typed array data pointer resolving. It now also uses byte offset in typed arrays if they have it. Change-Id: I2d3d63ba0a8056884044ac73e47bf3821279be97 Task-number: QTBUG-45825 Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
Tomi Korpipää authored
Note: Does not fix all the null problems in the bug. Change-Id: I491f179451f89a95f5bc6bd8572284d3b764d4b9 Task-number: QTBUG-45898 Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
Tomi Korpipää authored
Change-Id: Ic23f99dfef8a74203650fe5bc07d4c28d5edddfe Task-number: QTBUG-46222 Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
- 19 May, 2015 - 2 commits
-
-
Miikka Heikkinen authored
There should be no API impact for changing the names of uncreatable types. ContextAttributes3D is creatable, but most likely nobody actually creates it, so it was deemed safe to change. Some of the old type names differed from the documentation, which is now also fixed as a side effect. Change-Id: I3ec36d69e324fee22afa09a8db218f8e5beb93dc Task-number: QTBUG-46105 Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
Tomi Korpipää authored
Change-Id: I7fb0374b284204da17c3547d7062e6680af5c024 Task-number: QTBUG-46188 Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
- 18 May, 2015 - 3 commits
-
-
Miikka Heikkinen authored
Change-Id: I7a244c2d30ed6683ac131a5254e0c280182a77af Task-number: QTBUG-45844 Task-number: QTBUG-45845 Task-number: QTBUG-45846 Task-number: QTBUG-45847 Task-number: QTBUG-45848 Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
Miikka Heikkinen authored
Prettied up example UIs a little bit and took new screenshots for docs. In case of jsonmodel example, this also fixes the "shaking" problem that happened with some graphics cards. Task-number: QTBUG-46101 Change-Id: I5bcc446568b9315ce516441625e482df3cf1f980 Reviewed-by:
Tomi Korpipää <tomi.korpipaa@theqtcompany.com> Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
Miikka Heikkinen authored
The uniform1iv function called internally uniform1fva when the data was supplied in a javascript array rather than a typed array. Change-Id: I0b2ea3495f7f9dcd8beefc7c4120e3ff8ffef6ba Task-number: QTBUG-46166 Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
- 15 May, 2015 - 1 commit
-
-
Pasi Keränen authored
getUniform() method now returns correct types according to the WebGL specification. Also number of returned values was fixed. Change-Id: I71d82ce09af462ddc420e1fd8be1cd5d96a4122d Reviewed-by:
Tomi Korpipää <tomi.korpipaa@theqtcompany.com> Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com> Reviewed-by:
Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
-
- 08 May, 2015 - 1 commit
-
-
Pasi Keränen authored
According to profiling the isOfType method used a lot of extra time converting the classname attribute from const char to QString and back to const char. This task fixes the attribute to be of type const char to begin with, reducing the CPU usage of isOfType significantly. Change-Id: Id4879c376701d2baf4fa28ca39e9fcc1c3c0b5d6 Reviewed-by:
Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
-
- 07 May, 2015 - 2 commits
-
-
Pasi Keränen authored
OneQt example had an extra picture file that is not used by the example. Change-Id: Ib12a914b19bc9242c80d2706b62d4d165c2c8dcc Reviewed-by:
Titta Heikkala <titta.heikkala@theqtcompany.com> Reviewed-by:
Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
-
Pasi Keränen authored
copyTexSubImage2D method was calling itself rather than the intended glCopyTexSubImage2D method. Change-Id: I3252dc0ea786c5c6d0d2be17a4ab593f29fad0e9 Task-number: QTBUG-45967 Reviewed-by:
Tomi Korpipää <tomi.korpipaa@theqtcompany.com> Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
- 05 May, 2015 - 1 commit
-
-
Pasi Keränen authored
Moves the Canvas3D examples from main examples"folder in the Qt builds to Canvas3D subfolder. Change-Id: Ib033db671a6ac790a1d7f659bdb13755fe7806ea Task-number: QTBUG-45948 Reviewed-by:
Topi Reiniö <topi.reinio@digia.com> Reviewed-by:
Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> Reviewed-by:
Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
-
- 28 Apr, 2015 - 1 commit
-
-
Pasi Keränen authored
Updated three.js library to have the latest build. Change-Id: I3a5042e511c246b2c40463aa17798a1c249935ce Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
- 27 Apr, 2015 - 6 commits
-
-
Pasi Keränen authored
Pixel size change was not signalled upon start causing HiDPI displays to show incorrect rendering. Also fixed the signalling to occur when correct OpenGL context has been made current. Change-Id: I69b5e64d3641c81c98880fbe047d71930cc5a16c Task-number: QTBUG-45692 Reviewed-by:
Tomi Korpipää <tomi.korpipaa@theqtcompany.com> Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
Tomi Korpipää authored
- possible OUT_OF_MEMORY with canvas of MAX_VIEWPORT_DIMS - extra methods for contexts Change-Id: I807287692e200e08abac242d611bdce01a7136a5 Task-number: QTBUG-45728 Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
Pasi Keränen authored
Fixes the look'n'feel of the examples to be in line with the new Qt logo and website. Instead of changing the simple texture and light example it was decided to add a new example that shows how to combine QtQuick 2D UI with three.js based 3D rendering. Change-Id: Ie3a21b03f8aa850ceae93252a764bd0d3264e229 Task-number: QTBUG-45696 Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
Miikka Heikkinen authored
Change-Id: Ibbaffb0567cbc66d39e9a6932f2fefea93f6aa96 Task-number: QTBUG-45695 Reviewed-by:
Tomi Korpipää <tomi.korpipaa@theqtcompany.com> Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
Miikka Heikkinen authored
At least on windows, trying to create a context with 0 alpha bits and 8 bits for other colors creates a context with 8 alpha bits. Change-Id: I23659e4d47a0adee38249d85034a2bac41b84d1f Task-number: QTBUG-45588 Reviewed-by:
Tomi Korpipää <tomi.korpipaa@theqtcompany.com> Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
Miikka Heikkinen authored
The models were too optimized. Since each face converging at one vertex could have different texture coordinates, we need to make vertices of each face unique, so that we can have unique texture coordinates for each of them. Naturally this increases the rendered vertex count significantly, but at least the textures are now mapped correctly. Change-Id: I72b4705de5dd11263898eaf6c88f66a7dc232e1d Task-number: QTBUG-42641 Reviewed-by:
Tomi Korpipää <tomi.korpipaa@theqtcompany.com> Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
- 23 Apr, 2015 - 4 commits
-
-
Miikka Heikkinen authored
Change-Id: I0008dffd4a919a17d2b6c3558790e197b55e7e4a Task-number: QTBUG-45372 Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
Titta Heikkala authored
Added 3rd party three.js and QML ControlEventSource. Change-Id: I4d14df0a1cf9d36f2e206cf4eef1b9d3598bb61b Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
Tomi Korpipää authored
Change-Id: I61aee0d1acb5e13cbabf4ec878054be470fc01c2 Task-number: QTBUG-45733 Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
Miikka Heikkinen authored
Change-Id: I232893c201b45a6e2164c05b99c3c8170068376d Task-number: QTBUG-45589 Reviewed-by:
Tomi Korpipää <tomi.korpipaa@theqtcompany.com> Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
- 22 Apr, 2015 - 2 commits
-
-
Miikka Heikkinen authored
ReadPixels always read from renderFbo if context had antialiasing specified. Also added buffer initialization to zero so pixels that fall outside the framebuffer contain correct value. Change-Id: I58b9fda18bc56a64346f83ccda575c758e9eaac5 Reviewed-by:
Tomi Korpipää <tomi.korpipaa@theqtcompany.com> Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
Tomi Korpipää authored
Change-Id: I3f3db246c4d5243cfe92bb1e7c3ed9223feebcf1 Task-number: QTBUG-45729 Reviewed-by:
Miikka Heikkinen <miikka.heikkinen@theqtcompany.com> Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-