Commits (34)
-
Miikka Heikkinen authored
Change-Id: Ie23b7009ad299e934ce70f5899a5429d0a6ee40f Reviewed-by:
Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
349bd472 -
Miikka Heikkinen authored
Change-Id: Ic261c506c54913d727ef4643dc6187ebef855cab
c318bc17 -
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>
5a861acb -
Pasi Keränen authored
XCode 6.2 linker complains that there are no symbols in the ArrayUtils.o file this seems to be caused by the static methods being defined in the .h file. Moving the definition to .cpp fixes the issue. Change-Id: I6016a760d49e87c6abe797582ded05172e82763b Task-number: QTBUG-46467 Reviewed-by:
Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
0f5e0a23 -
Miikka Heikkinen authored
Conflicts: src/imports/qtcanvas3d/canvas3d.cpp src/imports/qtcanvas3d/context3d.cpp src/imports/qtcanvas3d/context3d_p.h src/imports/qtcanvas3d/framebuffer3d.cpp src/imports/qtcanvas3d/framebuffer3d_p.h src/imports/qtcanvas3d/program3d.cpp src/imports/qtcanvas3d/uniformlocation.cpp src/imports/qtcanvas3d/uniformlocation_p.h Change-Id: I214239d40936e14dd69498167b08f199a692f325
5b5282c9 -
Miikka Heikkinen authored
Snippets were missing due to obsolete paths. Task-number: QTBUG-46568 Change-Id: I4f0bde17ea33513973a2b7195bf74756c2f98221 Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
debe68a8 -
Pasi Keränen authored
Changed Planets example to use the BufferedGeometry that is more optimal as it keeps all data in the GPU. This increased performance on iPad Air 5% Change-Id: I38d01065f5d34ec74df3217d4baccec474c6bb32 Reviewed-by:
Tomi Korpipää <tomi.korpipaa@theqtcompany.com> Reviewed-by:
Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
3a96b214 -
Tomi Korpipää authored
Change-Id: I2b4d151ce55ca68c7fb5dd0f8ff022dcdb83e38e Task-number: QTBUG-46585 Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
9d05f4ad -
Pasi Keränen authored
Changes font sizes to fit iPad screen resolution, adds custom Info.plist for iOS and all the icon variants. Change-Id: I67c29d4cc87305c82f726f7190283a3c28cbaf7e Reviewed-by:
Titta Heikkala <titta.heikkala@theqtcompany.com> Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
56294fb1 -
Miikka Heikkinen authored
We need to return the canvas side resource id of the buffer matching the id we get from OpenGL. Change-Id: I99631013804d706794a8f477e0f57b354eba489d Task-number: QTBUG-46532 Reviewed-by:
Tomi Korpipää <tomi.korpipaa@theqtcompany.com> Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
611e2e94 -
Liang Qi authored
Change-Id: I1068ecb4cbab4e9a04d7e3f2d2783b6da41a5971
bea6d68f -
Laszlo Agocs authored
This breaks when including the demo in a pure QML environment (like the Boot2Qt demo launcher). Omitting the prefix is the best since it works both with and without a QRC. Change-Id: I31f0f9f074d7c5656e7fc44680e7327aa3456c11 Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
ff8aa856 -
Pasi Keränen authored
Adds new performance counter called frametimeMs to Canvas3D. This counter can be used to check how much time in milliseconds the previous frame took from signalling paintGL to glFinish returning. This gives insight in to how much time on average frames take to render (excluding the presenting of the frames) and how much the frame time varies between frames. Change-Id: I438c33207a3835d0560521960ac71ea2f60af3d9 Reviewed-by:
Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
ec874247 -
Miikka Heikkinen authored
Implemented QTCANVAS3D_texture_provider extension for creating a texture object for QQuickItems that implement texture providers. [ChangeLog][Renderer] Enabled using Qt Quick items as textures. Change-Id: I947304155734af50c8a21f34292b244bb099702f Reviewed-by:
Tomi Korpipää <tomi.korpipaa@theqtcompany.com> Reviewed-by:
Laszlo Agocs <laszlo.agocs@theqtcompany.com> Reviewed-by:
Topi Reiniö <topi.reinio@digia.com> Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
4c374429 -
Miikka Heikkinen authored
Change-Id: I2a5c77aec63d5ca39a1d71d7810f4f9e294c9f62 Reviewed-by:
Tomi Korpipää <tomi.korpipaa@theqtcompany.com> Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
3365bd2e -
Pasi Keränen authored
Adds custom Info.plist for iOS and all the icon variants. Change-Id: I68e3a0704b871782425e825cf7810c05bf7510e5 Reviewed-by:
Tomi Korpipää <tomi.korpipaa@theqtcompany.com> Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
3801fa15 -
Miikka Heikkinen authored
[ChangeLog][Renderer] Optionally render to the scenegraph framebuffer Change-Id: Ibd0b8b5e6524e91ca1d576975dc353fe49e44d54 Reviewed-by:
Tomi Korpipää <tomi.korpipaa@theqtcompany.com> Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
c740acb5 -
Oswald Buddenhagen authored
Change-Id: I75355bd5679f79120371f2a5732dffb4ba4e742e
b9c77f13 -
Miikka Heikkinen authored
When on-demand rendering is enabled, the Canvas3D content is rendered only when the application specifically requests it. [ChangeLog][Renderer] On-demand rendering Change-Id: Iacfd1f6746e5972209add469d0138f74964f63d9 Task-number: QTBUG-46519 Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
6888b12b -
Miikka Heikkinen authored
Change-Id: Ie28e21d0b39465f2d0e55176b8ed5145da8a2e35 Reviewed-by:
Tomi Korpipää <tomi.korpipaa@theqtcompany.com> Reviewed-by:
Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
af1c1389 -
Miikka Heikkinen authored
Change-Id: Ia0b339f2b31e59f6839e7bb0ac33a25ccfab262c Reviewed-by:
Tomi Korpipää <tomi.korpipaa@theqtcompany.com> Reviewed-by:
Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
6526fd25 -
Miikka Heikkinen authored
Command queue will now allocate more space if it runs out up until specified maximum size. This makes it to both consume less memory in most cases and behave better on background rendering cases that exceeded the old maximum size. Change-Id: I74d20b9bf7e2f028dd946b9348f0235b0e959682 Reviewed-by:
Tomi Korpipää <tomi.korpipaa@theqtcompany.com> Reviewed-by:
Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
44ed21d1 -
Tomi Korpipää authored
Task-number: QTEE-943 Change-Id: I90b4a8433a5ce965e8447a74706f959bb1ff42e7 Reviewed-by:
Titta Heikkala <titta.heikkala@theqtcompany.com> Reviewed-by:
Laszlo Agocs <laszlo.agocs@theqtcompany.com>
bc36e2c0 -
Miikka Heikkinen authored
Removed unnecessary component completion check and added a couple of missing emitNeedRenders. Change-Id: I7b51fa2e608af9b9eb19733f9f3d9dff3fa507e0 Reviewed-by:
Tomi Korpipää <tomi.korpipaa@theqtcompany.com> Reviewed-by:
Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
b4f7a8f1 -
Miikka Heikkinen authored
Resizing window so that canvas height is zero shouldn't attempt to recreate framebuffers, as it will fail. We can just draw to the old framebuffers in those cases. Another GL error happened when rapidly resizing the window, as main thread directly adjusted the renderer FBO size. Moved the adjustment to the sync() method. Change-Id: Ib35c8439057d52e64186c7321208bb61ae94f58d Reviewed-by:
Tomi Korpipää <tomi.korpipaa@theqtcompany.com> Reviewed-by:
Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
0cf70048 -
Miikka Heikkinen authored
Change-Id: I30819263e2f9dd46a6a891d5a53f9d45323664e3
a45560ae -
Miikka Heikkinen authored
Conflicts: src/imports/qtcanvas3d/canvas3d.cpp src/imports/qtcanvas3d/canvas3d_p.h The Canvas::frameTimeMs() method had to be changed a bit to fit the new architecture. Change-Id: I34a3db1b07492bf37045376bd42690993a2d2f15
7dfadf60 -
Miikka Heikkinen authored
Change-Id: I63be57b56cd41e85ad232a4cf6cbdd6597db4319 Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
b79cf556 -
Miikka Heikkinen authored
Use QQuickWindow::TextureHasAlphaChannel texture option in render node when 'alpha' context attribute is true. The 'alpha' attribute now defaults to true as per WebGL spec. Also fixed the default values and the documentation of other context attributes to match WebGL spec. [ChangeLog][Context3D] Support for 'alpha' context attribute Task-number: QTBUG-46515 Change-Id: Ic4d4e46e4e323517343690a2916b6b9363107a87 Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
4a76baff -
Miikka Heikkinen authored
The default texture was invalid (GL id 0), so canvas drew as black rectangle before the first frame was rendered. Changed the default texture to a valid fully transparent one pixel texture to give applications control over what to show before the first frame. [ChangeLog][Renderer] Fix black canvas at startup Change-Id: Ia91a494c002403f1622e093a75d00cf224166e94 Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
1404c97d -
Miikka Heikkinen authored
Creating context outside onInitializeGL() is not supported, so fixed the test cases accordingly. Removed the basic creation test case, since that was redundant. Change-Id: I5c67f9013bfae7476bef8e789316c3f019902ce5 Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
9f789a2f -
Miikka Heikkinen authored
The old frameTimeMs() function only measures time spent executing OpenGL commands, but ignores the time spent parsing JavaScript, which can be significant portion of the rendering a frame. The frameSetupTimeMs() method is added to measure time spent parsing JavaScript. [ChangeLog][Renderer] Added Canvas3D::frameSetupTimeMs() Change-Id: Ic3549343ea4477d798a8cdb139fa2c9f769b834c Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
7cb54a1d -
Miikka Heikkinen authored
Delete operator was being used incorrectly and unnecessarily. Change-Id: I0a949c8e62fd3044982e39579ab97bc5703f1e48 Reviewed-by:
Pasi Keränen <pasi.keranen@digia.com>
a8127460 -
Oswald Buddenhagen authored
Change-Id: I93074efbcbb5fcf41cd09e937eb9ddeff96c33a9
49cc7bac
Showing