- 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>
-
- 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>
-
- 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>
-
- 02 Feb, 2015 - 1 commit
-
-
Pasi Keranen authored
User requested feature. Change-Id: I1c6481cc58b39181f6592549d90aa76352a50f08 Reviewed-by:
Laszlo Agocs <laszlo.agocs@theqtcompany.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>
-
- 08 Dec, 2014 - 1 commit
-
-
Tomi Korpipää authored
Change-Id: Ib1ada2b821c574333f726b7228c430876a49856a Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
- 06 Nov, 2014 - 2 commits
-
-
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>
-
- 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>
-
- 25 Aug, 2014 - 1 commit
-
-
Tomi Korpipää authored
Change-Id: Ief2c39fd4ec0d985ed8184e33bde0190b8b338cf Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
- 20 Aug, 2014 - 1 commit
-
-
Pasi Keränen authored
-