- 11 Mar, 2015 - 1 commit
-
-
Pasi Keranen authored
getParameter now supports reading all values as per specification. Added client side array check, default texture check and checking of offset and stride requirements as per specification. Change-Id: Ia04fc78ea741dbc5afbe969fac50d0253750b58a Reviewed-by:
Tomi Korpipää <tomi.korpipaa@digia.com> Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
- 09 Mar, 2015 - 2 commits
-
-
Pasi Keranen authored
Fixes QTBUG-42640 Change-Id: I51e9d1d866905b858483bbf539dc2d60d84c5b44 Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
Pasi Keranen authored
Fixes QTBUG-44834. Change-Id: I75746e9908bb4a5409f61bec86c4a9e6b3eeee82 Reviewed-by:
Tomi Korpipää <tomi.korpipaa@digia.com> Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
- 08 Mar, 2015 - 3 commits
-
-
Laszlo Agocs authored
There is no such thing as DEPTH_WRITE. The correct enum value is DEPTH_WRITEMASK. In addition, there is no point in these calls. Depth write is enabled by default according to the spec. Change-Id: Icc0400f4e25e4c011c1ec2a33f1986161bbe71b8 Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
Laszlo Agocs authored
Calling glGenerateMipmap before specifying the texture (glTexImage2D) is wrong and will fail. Change-Id: Ie9adc3f9b04807caae06b88d2d1b9b8bdb955ef4 Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
Laszlo Agocs authored
Apps are free to enable attribute arrays and then dump the state before binding a buffer via vertexAttribPointer. The state dumping code should recognize this and avoid calling glGetBufferParameter since passing 0 (an invalid buffer) is an error. Change-Id: Id3434b914281e9bd9d7157554ab6ef59558e292f Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
- 03 Mar, 2015 - 1 commit
-
-
Sergio Ahumada authored
The replace from LGPL to LGPL21 was wrong, it was supposed to be LGPL3 This change amens e104354a Change-Id: If542af9214d9cd109ae6af71bfaaab84d20f4172 Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
- 28 Feb, 2015 - 1 commit
-
-
Laszlo Agocs authored
We have an alias for gl-matrix.js in the qrc so we have to match that. Right now gl-matrix.js is not loaded and thus mat4 is not usable. We have to have the absolute path since otherwise we are relative to the main qml file which is in a qml subdir in case of this example. Change-Id: Ie16f9e44a0a9d0498dd34270e2eb8df9efe4a92d Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
- 27 Feb, 2015 - 4 commits
-
-
Pasi Keranen authored
Change-Id: I460bc51d308e3743151e2fec6bfea2d197ff18d3 Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
Pasi Keranen authored
Removing the unnecessary spaces from the log output. Change-Id: Ifb662f317f8135d3c0892b28eccb29b2d55cace6 Reviewed-by:
Tomi Korpipää <tomi.korpipaa@digia.com> Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
Pasi Keranen authored
Added storing and restoring of currently bound texture, clear color and framebuffer when recreating the FBOs. When FBOs are created they are now created with new id's to avoid changing FBOs and textures that are being used in the CanvasRenderNode. Change-Id: Ib1901a0031f4d7ee16b08bcd6fc4fac91a25fabe Reviewed-by:
Tomi Korpipää <tomi.korpipaa@digia.com> Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
Laszlo Agocs authored
With ANGLE the example in question does not show anything when drawing with GL_POINTS. The value of gl_PointSize is undefined when not written to. To be safe we set it to 1 properly in the vertex shader. Change-Id: Ifb170568eccf1979f568e0e192ae3c2ce3282e80 Reviewed-by:
Tomi Korpipää <tomi.korpipaa@digia.com> Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
- 26 Feb, 2015 - 1 commit
-
-
Laszlo Agocs authored
Creating a context that shares with a context that is current on another thread is not safe, some drivers can reject this. We work this around by astutely introducing an additional context that lives on the same thread as the scenegraph's context, shares with it, but is never current. The main thread's WebGL context will then share with this extra context. Task-number: QTBUG-44677 Change-Id: Ic3ba739c8cda4f4382705c19ed452e8e374c73d7 Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
- 25 Feb, 2015 - 1 commit
-
-
Pasi Keranen authored
Separating the pixel size from the layout size like in HTML makes Canvas3D behave more like the WebGL canvas and reduces delta when porting code. Change-Id: Icb9e083839a42d0cd5c3823fa37c2e2f2a913e74 Reviewed-by:
Tomi Korpipää <tomi.korpipaa@digia.com> Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
- 23 Feb, 2015 - 1 commit
-
-
Oswald Buddenhagen authored
-
- 19 Feb, 2015 - 1 commit
-
-
Pasi Keranen authored
Change-Id: I318c2438e95b61f3079ebb29e267bc0c1e69e7c4 Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
- 18 Feb, 2015 - 1 commit
-
-
Sergio Ahumada authored
Change-Id: I77b259a88afca70aba4699cd9c61e20ee5ac8dfa
-
- 17 Feb, 2015 - 4 commits
-
-
Pasi Keranen authored
Change-Id: I4743feb16d8376f1cd50980496a01a9452b789a9 Reviewed-by:
Tomi Korpipää <tomi.korpipaa@digia.com> Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
Oswald Buddenhagen authored
diverging from the qt release version is a major hassle, which should not be introduced without a *really* good reason. Change-Id: I8c8538867edb28f2cc954c16f8eac4b737d9ea27 Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com> Reviewed-by:
Frederik Gladhorn <frederik.gladhorn@theqtcompany.com>
-
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>
-
- 16 Feb, 2015 - 1 commit
-
-
Pasi Keranen authored
Change-Id: I19d417a230dad169e5c4d1d950fa0913d358597a Reviewed-by:
Jani Heikkinen <jani.heikkinen@theqtcompany.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 - 1 commit
-
-
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>
-