- 17 Feb, 2015 - 2 commits
-
-
Pasi Keranen authored
Change-Id: I19d417a230dad169e5c4d1d950fa0913d358597a Reviewed-by:
Tomi Korpipää <tomi.korpipaa@digia.com> Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
Sergio Ahumada authored
Change-Id: I2b4eba23d7a197969c45acbb881452ade91f7f16 Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
- 13 Feb, 2015 - 1 commit
-
-
Pasi Keranen authored
Wrong order of QT_BEGIN_NAMESPACE fixed. Remaining QObject pointers converted to QJSValues to prevent failures on those. Adds copyright headers to the Qt Creator templates. Tests separated to different test files to getbetter test results. Change-Id: I5c916a5f464c70cc66c8cfc529d83f47367aa7a4 Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
- 12 Feb, 2015 - 1 commit
-
-
Pasi Keranen authored
Headers corrected. Bad examples removed. 3rd party code moved to it's own folder. Change-Id: Ia8def81fb45f4f6fe99611e92b128f0c72b80a91 Reviewed-by:
Tomi Korpipää <tomi.korpipaa@digia.com> Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
- 11 Feb, 2015 - 1 commit
-
-
Pasi Keranen authored
This commit breaks compatibility with Qt 5.4 and earlier versions. It removes the temporary QObject based TypedArrays and moves the code to use the native QV4::TypedArray support in Qt 5.5. This allows the implementation now to also add support for compressed textures and support all getParameter() values. Change-Id: I637083e8ebad46b77617ca4095cefaa5aab48b0b Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
- 09 Feb, 2015 - 2 commits
-
-
Pasi Keranen authored
Updated README file with latest fixes and changes. Updated plugintypes.qmltypes file. Updated three.js to latest version. Change-Id: I533bf7e195ec2316b407dce625bd4d11b605a7bc Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
Topi Reinio authored
Implement changes to make the documentation build as part of the rest of the Qt reference. - Use the global Qt documentation template (qt-module-defaults.qdocconf) - Use the standard doc namespace - Fix QML type selector - Remove buildversion - Rename index page so that it doesn't collide with Qt reference documentation Change-Id: I241d685d70a52026a0fc38739643254151e5969a Reviewed-by:
Leena Miettinen <riitta-leena.miettinen@theqtcompany.com> Reviewed-by:
Tomi Korpipää <tomi.korpipaa@digia.com> Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
- 06 Feb, 2015 - 2 commits
-
-
Pasi Keranen authored
All QObject output values are now wrapped in to QJSValues and input QObject values are treated as QJSValues. Id property removed from the Program3D object as that shouldn't be exposed to the JS side. Change-Id: I424ec946554150e06adb30bff8be968ec832e998 Reviewed-by:
Tomi Korpipää <tomi.korpipaa@digia.com> Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
Pasi Keranen authored
All vertexAttrib?fv methods changed to use QJSValue. Change-Id: I828a2b0ac4fd1be83720cadfb5e03b86470070f7 Reviewed-by:
Tomi Korpipää <tomi.korpipaa@digia.com> Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
- 04 Feb, 2015 - 1 commit
-
-
Berthold Krevert authored
Change-Id: I9c59e39796a5fadb7362b16ffdc57a124650086b Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
- 02 Feb, 2015 - 3 commits
-
-
Pasi Keranen authored
User requested feature. Change-Id: I1c6481cc58b39181f6592549d90aa76352a50f08 Reviewed-by:
Laszlo Agocs <laszlo.agocs@theqtcompany.com>
-
Pasi Keranen authored
Starting to replace QObject pointers with QJSValue that allows dynamic properties to be added to the the returned objects from QCanvas3D API. This makes the implementation more compatible with WebGL code out there. All uniform??va functions made internal, uniform??v functions now accept QJSValue as input and dynamically detect the parameter type. Examples updated accordingly. Buffer3D, Program3D, Shader3D and UniformLocation3D types now changed to use QJSValue. Change-Id: I1670d5efa5aa829c89169143b685e4b52b402b77 Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
Pasi Keranen authored
Added support for premultiplied alpha and fixed pixelStorei documentation. Fixed bunch of warnings from incorrect documentation entries. Change-Id: I8ebea302dedf70d6d821f5cc4a6349d3b03b50ea Reviewed-by:
Tomi Korpipää <tomi.korpipaa@digia.com> Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
- 29 Jan, 2015 - 1 commit
-
-
Laszlo Agocs authored
Multisampling is fully available in ES 3.0+ so extend the condition. (well technically we should check for the relevant extensions on GLES2 too since embedded/mobile devices will have it, but let's leave that for later) Similarly, forcing ES 2.0 for the shared context when the original was ES 3.x is not necessarily a good idea. So do like desktop GL and request the same version. Change-Id: I71b3c8fac44a5cde8dee7fe8e77f451ff63c8589 Reviewed-by:
Tomi Korpipää <tomi.korpipaa@digia.com> Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
- 28 Jan, 2015 - 2 commits
-
-
Laszlo Agocs authored
Expose this extension if the host GL is desktop or GLES 3.0+ or GLES 2.0 with the extension present. fwidth and friends are commonly used by many shaders, including Three.js. Change-Id: I38001e43e25da54d5735e2c4fe6de729a6d262c9 Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
Laszlo Agocs authored
Return null from getContext when this happens. These two places are candidates for failing. Also warn so we have a chance to see where we fail. Change-Id: I6a5c8c1d229b16d8c0d9705d4595b40022540aaf Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
- 20 Jan, 2015 - 2 commits
-
-
Pasi Keranen authored
Change-Id: I676aabd79269c15818eb7a3d98c6e9f1ee9b48b0 Reviewed-by:
Tomi Korpipää <tomi.korpipaa@digia.com> Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
Antti Kokko authored
Change-Id: I891d3d92946bd431e907df4becaa731c99eda740 See: codereview.qt-project.org/#/c/67271/1 Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
- 08 Jan, 2015 - 1 commit
-
-
Pasi Keranen authored
Change-Id: I1a2c3248a78748cebd6117094f6440b900f96068 Reviewed-by:
Tomi Korpipää <tomi.korpipaa@digia.com> Reviewed-by:
Sami Makkonen <sami.makkonen@digia.com> Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
- 31 Dec, 2014 - 2 commits
-
-
Pasi Keranen authored
logAllErrors defaults to false and now also checks all errors with glGetError() and logs them. Added function name to error logging so that users can see what call fails. Change-Id: Ie0c180fc392d375b6244867d3cb4c3ba8058c4f1 Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
Pasi Keranen authored
bindRenderBuffer was setting framebuffer instead of render buffer. Added new public flag checkAllErrors, if set it will print any glGetError errors after each call. This is slow, but helps a lot when debugging problems. Change-Id: I7450df5c7822d3f6c47127d4f7a163696838fb68 Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
- 30 Dec, 2014 - 1 commit
-
-
Pasi Keranen authored
Also cleaned up the current render target buffer binding code, added more debug logging as well. Change-Id: I6e286f7c9714f3c54353098f0447f5b719a68d58 Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
- 29 Dec, 2014 - 1 commit
-
-
Pasi Keranen authored
Change-Id: I2ad59504ec4a477bb730f277428e50e4193ed0f0 Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
- 21 Dec, 2014 - 1 commit
-
-
Pasi Keranen authored
Fixes null pointer crash if user gives null parameter as image. Improved logging added for texture images. Change-Id: I03d420d368232d4b84fceaa27a85c8bbc32e8429 Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
- 15 Dec, 2014 - 1 commit
-
-
Titta Heikkala authored
Added templates for creating new QtCanvas3d projects with Qt Creator wizard. QtCanvas3D template creates a basic project. QtCanvas3D Three.js template includes three.js to the project. Change-Id: Ie38738ebfa161ab4285a34d867b06178fa778a5e Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
- 08 Dec, 2014 - 1 commit
-
-
Tomi Korpipää authored
Change-Id: Ib1ada2b821c574333f726b7228c430876a49856a Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
- 03 Dec, 2014 - 1 commit
-
-
Miikka Heikkinen authored
Can't repro this anymore. Change-Id: I74cb730d18105bec6d6e86c3be3f1c5eb7352ded Reviewed-by:
Tomi Korpipää <tomi.korpipaa@digia.com> Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
- 25 Nov, 2014 - 1 commit
-
-
Miikka Heikkinen authored
Also worked around the issues with gauge style backgrounds in the enterprise controls version and tweaked the default ui a bit. Change-Id: Ia0887373ad4a0f45f20f759daeedc7abc433cca5 Reviewed-by:
Tomi Korpipää <tomi.korpipaa@digia.com> Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
- 21 Nov, 2014 - 1 commit
-
-
Pasi Keranen authored
Moved typed array code to new subdirectory to make it more clear what parts are going to be removed in final release. Documented the temporary renaming of some of the methods to work around issues in overloaded function calls from JavaScript. Change-Id: I5a22741a3b4025149724df9d6b25abc4de3ff5bc Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
- 14 Nov, 2014 - 1 commit
-
-
Pasi Keranen authored
Change-Id: Id74d9268e1dd0be7d5965ec698869671e15c20d4 Reviewed-by:
Tomi Korpipää <tomi.korpipaa@digia.com> Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
- 13 Nov, 2014 - 3 commits
-
-
Tomi Korpipää authored
Change-Id: Iaec2a08536cccea8ff5c2168de70e87cf4f2a482 Reviewed-by:
Sami Makkonen <sami.makkonen@digia.com> Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
Pasi Keranen authored
Change-Id: If7a832e6be688dba021b8ee801df5e2e67f591d1 Reviewed-by:
Sami Makkonen <sami.makkonen@digia.com> Reviewed-by:
Tomi Korpipää <tomi.korpipaa@digia.com> Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
Pasi Keranen authored
Added QTCANVAS3D_gl_state_dump extension for dumping the current GL state for debugging purposes and added example use to jsonmodels example. Fixed documentation issues and removed invalid comments related to render thread. Change-Id: Ib4a81370bf2673a5bfb412038148646638f723a9 Reviewed-by:
Tomi Korpipää <tomi.korpipaa@digia.com> Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
- 12 Nov, 2014 - 1 commit
-
-
Pasi Keranen authored
Removed unnecessary/duplicate logging. Added clearing of the FBOs to prevent random junk appearing on the screen on Mac OS X before first frame is rendered. Log all calls and log all errors of context now follows automatically the canvas which is more logical. Change-Id: I3279e8ae02be8ffc1be6655f1c6c0047ea68364f Reviewed-by:
Tomi Korpipää <tomi.korpipaa@digia.com> Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
- 11 Nov, 2014 - 1 commit
-
-
Pasi Keranen authored
Change-Id: I62c019d339358755e56ef70386b79c3014bf00be Reviewed-by:
Tomi Korpipää <tomi.korpipaa@digia.com> Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
- 07 Nov, 2014 - 1 commit
-
-
Pasi Keranen authored
Bunch of whitespace corrections, pushed now to test run the CI. Change-Id: I575511d6ae7436bd3345b7d24d4b120b8eabf334 Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
- 06 Nov, 2014 - 4 commits
-
-
Miikka Heikkinen authored
Change-Id: I7fc9b0592beabc0b0e225bf1f161bdbeaa9dba00 Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
Miikka Heikkinen authored
Change-Id: Iaf1e570b497863936eb25abf289e04c3f70dc365 Reviewed-by:
Tomi Korpipää <tomi.korpipaa@digia.com> Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
Tomi Korpipää authored
Check for ES using isOpenGLES() instead. The method was introduced in Qt 5.3. Change-Id: Id21659fcaa1e1854c07df38147ad666207778cb2 Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
Tomi Korpipää authored
Change-Id: Id56053764835e13bf475d76230ea4a6c356161ca Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-