- 04 Jun, 2015 - 1 commit
-
-
Miikka Heikkinen authored
The render loop has been redesigned. The OpenGL commands are queued instead of executed immediately. updatePaintNode() now transfers the commands to the renderer, which implements all OpenGL related things that used to be in the Canvas class. The actual rendering is done in response to beforeRendering signal in the render thread. [ChangeLog][Renderer] OpenGL rendering moved to render thread. Task-number: QTBUG-44953 Change-Id: Ibd5897e64b84b6c7ce169cece8293381eca94ab9 Reviewed-by:
Tomi Korpipää <tomi.korpipaa@theqtcompany.com> Reviewed-by:
Pasi Keränen <pasi.keranen@digia.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 - 1 commit
-
-
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>
-
- 27 Apr, 2015 - 4 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>
-
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>
-
- 23 Apr, 2015 - 3 commits
-
-
Miikka Heikkinen authored
Change-Id: I0008dffd4a919a17d2b6c3558790e197b55e7e4a Task-number: QTBUG-45372 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 - 3 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>
-
Miikka Heikkinen authored
Task-number: QTBUG-45074 Task-number: QTBUG-45195 Change-Id: I00a9f300304c426aa49942af5111f1fc681c91c6 Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
- 21 Apr, 2015 - 3 commits
-
-
Miikka Heikkinen authored
Change-Id: I898ead7a6814aede70ff592c1e68e7cf5a197e2a Reviewed-by:
Tomi Korpipää <tomi.korpipaa@theqtcompany.com> Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
Miikka Heikkinen authored
When calling readPixels from javascript, we need to blit the antialiased fbo into the render fbo before we can read the pixel. Change-Id: I342342f396c42f3d5320105552838cd7c99d1c4b Task-number: QTBUG-45373 Reviewed-by:
Tomi Korpipää <tomi.korpipaa@theqtcompany.com> Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
Tomi Korpipää authored
Change-Id: I6528f3e3796ca0381de95d6b020a161ac996fa73 Task-number: QTBUG-45175 Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
- 20 Apr, 2015 - 2 commits
-
-
Tomi Korpipää authored
Change-Id: I26bd2ef2cae4baa7786fc5479f8c5bff0ec17e2c Task-number: QTBUG-45043 Reviewed-by:
Miikka Heikkinen <miikka.heikkinen@theqtcompany.com> Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
Pasi Keränen authored
Names of the initGL and renderGL signals have been changed to initializeGL and paintGL in order to unify the naming of the API methods with QOpenGLWidget component. Change-Id: I074a7609347a3297dabcc4295fb92b9193cf00ed Task-number: QTBUG-45665 Reviewed-by:
Tomi Korpipää <tomi.korpipaa@theqtcompany.com> Reviewed-by:
Titta Heikkala <titta.heikkala@theqtcompany.com> Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com> Reviewed-by:
Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
-
- 17 Apr, 2015 - 1 commit
-
-
Pasi Keränen authored
Single signal to JavaScript side added (resizeGL) for uniform handling of resize events. Added guards against multiple needRender calls getting queued for single repaint cycle. Postponed deletion of old FBO objects until updatePaintNode() has been done. Change-Id: I4da50b8bd0bb4b888c9e8233a45d58ec8aa9dcb6 Task-number: QTBUG-45657 Task-number: QTBUG-45658 Task-number: QTBUG-45648 Reviewed-by:
Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
-
- 15 Apr, 2015 - 2 commits
-
-
Pasi Keranen authored
Adds support for using S3TC and PVRTC formats with textures. This included fixing the way currently bound textures were checked in the upload functions. Change-Id: I1a362c2b43fa4c97f4fb7c50452c659eb4bdcafc Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
Tomi Korpipää authored
Alpha attribute was ignored at getContext, even though alpha bits were set based on the attribute. Change-Id: Ibc6a4596f00ccebce8b828f8d579c3a8bf4346c7 Task-number: QTBUG-45371 Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
- 01 Apr, 2015 - 1 commit
-
-
Topi Reinio authored
- Use 'Qt Canvas 3D' as the module name throughout the documentation. - Replace unnecessary use of \group with \page commands - Fix example group page not being generated correctly - Add QML types to the correct module, remove their use of \ingroup - Replace 'indexes' variable with 'depends' as this is no longer a module external to Qt. - Fix broken 'exampledirs' - Add correct dependencies and ensure linking to other Qt module docs works. - Style and language fixes - Limit line width to 80 characters in .qdoc files Change-Id: Ib4f4ca59e250db3a5d60c4988701a8fb209438c1 Task-number: QTBUG-45247 Reviewed-by:
Venugopal Shivashankar <venugopal.shivashankar@digia.com>
-
- 30 Mar, 2015 - 2 commits
-
-
Tomi Korpipää authored
WebGL spec states: "If framebuffer is null, the default framebuffer provided by the context is bound." Thus there is no need the check if we have a self-bound framebuffer before querying its status from the system. Change-Id: I389d3e3b81ac61c6498a76ae07303caf75e2787e Task-number: QTBUG-45197 Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
Tomi Korpipää authored
Change-Id: I8eed6f21102cd1f7d879416fa6ef992d8f678012 Task-number: QTBUG-45216 Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
- 27 Mar, 2015 - 2 commits
-
-
Tomi Korpipää authored
Change-Id: I6a9dd7e326c90222b83bac90796a8ec10001400d Task-number: QTBUG-45201 Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
Pasi Keranen authored
drawableSurfaceWidth/Height methods now respect maximum drawable size and use physical (rendering target) rather than logical (QML layout) pixel units. Change-Id: Ice968e6ca541d20eb997eb8f6066df8f38c64666 Task-number: QTBUG-45236 Reviewed-by:
Tomi Korpipää <tomi.korpipaa@theqtcompany.com> Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
- 26 Mar, 2015 - 2 commits
-
-
Pasi Keranen authored
Original idea to generate unique id's for texture images from class pointer doesn't compile on mingw, switching to generate the id with a simple incremental uint value. Change-Id: Ife3b268103bb28d1ab7722f8d312480e3b79391e Task-number: QTBUG-45161 Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
Pasi Keranen authored
Directory structure should be as in other modules. Change-Id: I710c12d66450142f106d86f78cbdcc49df6dee55 Reviewed-by:
Tomi Korpipää <tomi.korpipaa@theqtcompany.com> Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
- 25 Mar, 2015 - 1 commit
-
-
Thiago Macieira authored
There's no need to cast the logging context to call the const function isDebugEnabled(). Change-Id: Iee8cbc07c4434ce9b560ffff13cd99f702512bc7 Reviewed-by:
Tomi Korpipää <tomi.korpipaa@theqtcompany.com> Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
- 20 Mar, 2015 - 1 commit
-
-
Tomi Korpipää authored
Task-number: QTBUG-45073 Change-Id: Ic8ef7191b3e0fde3c5aca3966755af3e2d35e04c Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
- 19 Mar, 2015 - 1 commit
-
-
Pasi Keranen authored
Fixes QTBUG-45070. Adds the SHORT enumeration as accepted type value. Change-Id: Ibd8ddd6c796320ebc233f0b667250536dd013e74 Reviewed-by:
Tomi Korpipää <tomi.korpipaa@digia.com> Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
- 13 Mar, 2015 - 1 commit
-
-
Pasi Keranen authored
Fixes QTBUG-44949 Change-Id: I538b98d71e8c2fcedb72c5ac8f0b806107884c87 Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
- 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 - 1 commit
-
-
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 - 1 commit
-
-
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>
-
- 27 Feb, 2015 - 3 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>
-
- 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>
-