- 17 Feb, 2015 - 1 commit
-
-
Pasi Keranen authored
Change-Id: I4743feb16d8376f1cd50980496a01a9452b789a9 Reviewed-by:
Tomi Korpipää <tomi.korpipaa@digia.com> 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>
-
- 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>
-
- 02 Feb, 2015 - 2 commits
-
-
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>
-
- 28 Jan, 2015 - 1 commit
-
-
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>
-
- 20 Jan, 2015 - 1 commit
-
-
Pasi Keranen authored
Change-Id: I676aabd79269c15818eb7a3d98c6e9f1ee9b48b0 Reviewed-by:
Tomi Korpipää <tomi.korpipaa@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>
-
- 08 Dec, 2014 - 1 commit
-
-
Tomi Korpipää authored
Change-Id: Ib1ada2b821c574333f726b7228c430876a49856a Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
- 13 Nov, 2014 - 1 commit
-
-
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>
-
- 06 Nov, 2014 - 1 commit
-
-
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>
-
- 24 Oct, 2014 - 1 commit
-
-
Pasi Keranen authored
QQmlPropertyMap as baseclass doesn't work without additional work, it has been now removed as baseclass from QtCanvas3D for now. TextureLoader has been removed in favor of TextureImageFactory as that allows easier porting of WebGL based JavaScript code to QtCanvas3D. Change-Id: I6fb374fd012d7569b9f173b08f4a6f21dcd83abe Reviewed-by:
Tomi Korpipää <tomi.korpipaa@digia.com> Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
- 14 Oct, 2014 - 1 commit
-
-
Pasi Keranen authored
All JavaScript visible objects are now based on QQmlPropertyMap so that libraries and other users can add dynamic properties to the objects like they do in many cases. Also fixed textured cube example to respect devicePixelRatio. Change-Id: I71a8d8e32e2d856dc1c97f498c9a34b3858ab6a9 Reviewed-by:
Tomi Korpipää <tomi.korpipaa@digia.com> Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
- 03 Oct, 2014 - 1 commit
-
-
Pasi Keranen authored
Also adds CanvasBuffer copy constructor and refactors getUniform to return a QVariant instead of QVariantList to be more in line with the spec. Change-Id: I626e4b41acdceae7ce8ccbcca8f9577fea09d4b7 Reviewed-by:
Tomi Korpipää <tomi.korpipaa@digia.com> Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
- 26 Sep, 2014 - 1 commit
-
-
Pasi Keranen authored
Implemented parameter get methods and the getUniform method. Change-Id: I1d9bf9e215b0d5085062be9d558e0880fa898332 Reviewed-by:
Tomi Korpipää <tomi.korpipaa@digia.com> Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
- 24 Sep, 2014 - 2 commits
-
-
Pasi Keranen authored
Change-Id: I319a9ca8838fe2f68182c2b42c64bd02b40d2280 Reviewed-by:
Tomi Korpipää <tomi.korpipaa@digia.com> Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
Pasi Keranen authored
Also reformatted some of the existing qdocs to use bulleted lists for enumeration options. Change-Id: Icf36f0c6918f5d65939f4b146ee8f3537250769e Reviewed-by:
Tomi Korpipää <tomi.korpipaa@digia.com> Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
- 23 Sep, 2014 - 1 commit
-
-
Pasi Keranen authored
Also fixed some of the potential null pointer issues if using shader methods on deleted shader objects. Change-Id: Ied254c1f96f283ba2f48f5a453c38bb7d7981a60 Reviewed-by:
Tomi Korpipää <tomi.korpipaa@digia.com> Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
- 22 Sep, 2014 - 1 commit
-
-
Pasi Keranen authored
Listed all missing functions and implemented drawingBufferWidth(), drawingBufferHeight(), getActiveAttrib(), getActiveUniform() functions. Removed default Y-flip and implemented support for UNPACK_FLIP_Y_WEBGL, this breaks functionality but now behavior is consistent with the spec. Change-Id: Ie6ff879f5b7acea713ab4729eccc6c8948ad394f Reviewed-by:
Tomi Korpipää <tomi.korpipaa@digia.com> Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
- 20 Aug, 2014 - 1 commit
-
-
Pasi Keränen authored
-