- 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>
-
- 01 Jun, 2015 - 2 commits
-
-
Miikka Heikkinen authored
Change-Id: Ic261c506c54913d727ef4643dc6187ebef855cab
-
Miikka Heikkinen authored
Change-Id: Ie23b7009ad299e934ce70f5899a5429d0a6ee40f Reviewed-by:
Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
-
- 11 May, 2015 - 1 commit
-
-
Liang Qi authored
Change-Id: I96e549fdf43c4aee70a5f802b81c7305e17d23c7
-
- 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 - 2 commits
-
-
Pasi Keränen authored
OneQt example had an extra picture file that is not used by the example. Change-Id: Ib12a914b19bc9242c80d2706b62d4d165c2c8dcc Reviewed-by:
Titta Heikkala <titta.heikkala@theqtcompany.com> Reviewed-by:
Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
-
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>
-
- 05 May, 2015 - 1 commit
-
-
Pasi Keränen authored
Moves the Canvas3D examples from main examples"folder in the Qt builds to Canvas3D subfolder. Change-Id: Ib033db671a6ac790a1d7f659bdb13755fe7806ea Task-number: QTBUG-45948 Reviewed-by:
Topi Reiniö <topi.reinio@digia.com> Reviewed-by:
Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> Reviewed-by:
Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
-
- 28 Apr, 2015 - 1 commit
-
-
Pasi Keränen authored
Updated three.js library to have the latest build. Change-Id: I3a5042e511c246b2c40463aa17798a1c249935ce Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
- 27 Apr, 2015 - 6 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>
-
Pasi Keränen authored
Fixes the look'n'feel of the examples to be in line with the new Qt logo and website. Instead of changing the simple texture and light example it was decided to add a new example that shows how to combine QtQuick 2D UI with three.js based 3D rendering. Change-Id: Ie3a21b03f8aa850ceae93252a764bd0d3264e229 Task-number: QTBUG-45696 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>
-
Miikka Heikkinen authored
The models were too optimized. Since each face converging at one vertex could have different texture coordinates, we need to make vertices of each face unique, so that we can have unique texture coordinates for each of them. Naturally this increases the rendered vertex count significantly, but at least the textures are now mapped correctly. Change-Id: I72b4705de5dd11263898eaf6c88f66a7dc232e1d Task-number: QTBUG-42641 Reviewed-by:
Tomi Korpipää <tomi.korpipaa@theqtcompany.com> Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
- 23 Apr, 2015 - 4 commits
-
-
Miikka Heikkinen authored
Change-Id: I0008dffd4a919a17d2b6c3558790e197b55e7e4a Task-number: QTBUG-45372 Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
-
Titta Heikkala authored
Added 3rd party three.js and QML ControlEventSource. Change-Id: I4d14df0a1cf9d36f2e206cf4eef1b9d3598bb61b 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>
-
- 18 Apr, 2015 - 1 commit
-
-
Liang Qi authored
Change-Id: I4cd87aa85fa4067c79acc03e25ada7f1796e06ae
-
- 17 Apr, 2015 - 2 commits
-
-
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>
-
Pasi Keränen authored
Moved the 3rdparty folder containing the files needed by examples to the examples directory so that the files are bundled with the Qt 5.5 release. Change-Id: I544075c345efd329e853ae52dad31accfdfb388a Task-number: QTBUG-45472 Reviewed-by:
Pasi Keränen <pasi.keranen@digia.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>
-