- 31 May, 2013 - 1 commit
-
-
Gunnar Sletta authored
Change-Id: Idfa76f9fcdbac61a248b38e1f793a6628af12552 Reviewed-by:
Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
-
- 30 May, 2013 - 1 commit
-
-
Shawn Rutledge authored
All QQuickWindows will render using the same OpenGL context, so for a window to support transparency, the OpenGL context needs to be created with support for transparency from the very start. Therefore the application needs to call setDefaultAlphaBuffer() before creating windows. There are some relevant comments in QTBUG-20768 although the bug itself is not the same use case (it was already OK as long as the first window had a translucent color, because of setAlphaBufferSize in QQuickWindow::setColor()). Change-Id: I92e111c1a62c0d510821b646fd334e52254f8f57 Reviewed-by:
Gunnar Sletta <gunnar.sletta@digia.com>
-
- 23 May, 2013 - 1 commit
-
-
Gunnar Sletta authored
The hash-lookup in this function is costing us a lot, and since we're looking up the same materials again and again, and the material has a place holder for it, we can store it directly in the material at no extra cost. This was a 10% gain in this particular benchmark. Change-Id: I46b67791ce39f453fa86d1ee82f6f5c7785b46a1 Reviewed-by:
Yoann Lopes <yoann.lopes@digia.com> Reviewed-by:
Samuel Rødal <samuel.rodal@digia.com>
-
- 06 May, 2013 - 1 commit
-
-
Christiaan Janssen authored
Change-Id: Ide71b330b13fc3816ed191bd9af84e0fce0d9587 Reviewed-by:
Kai Koehne <kai.koehne@digia.com>
-
- 25 Apr, 2013 - 1 commit
-
-
Gunnar Sletta authored
Change-Id: I71769affe8f0138dd65f3b94fb27176bd069ab8d Reviewed-by:
Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
-
- 04 Apr, 2013 - 1 commit
-
-
Gunnar Sletta authored
Change-Id: I4e88b479a8a9a5126312a05800e8170511b1f7ac Reviewed-by:
Samuel Rødal <samuel.rodal@digia.com>
-
- 05 Feb, 2013 - 1 commit
-
-
Gunnar Sletta authored
I thought this was a serious bug in the renderer, but it turned out to be qmlscene just overriding the surface format without requesting the needed depth and stencil buffers. An easy mistake to make, hence introduce the warning. Task-number: QTBUG-29037 Change-Id: I59d09d1b2a139e3add851777ff2eeb6c4efb47ec Reviewed-by:
Samuel Rødal <samuel.rodal@digia.com>
-
- 30 Jan, 2013 - 1 commit
-
-
Gunnar Sletta authored
The typical bottlenecks during rendering are usually compiling shader programs, uploading textures and preparing glyphs, so add profiling data around them. Change-Id: I9c330a0f6b769836d303a035b2c0dce832842aec Reviewed-by:
Samuel Rødal <samuel.rodal@digia.com>
-
- 17 Jan, 2013 - 1 commit
-
-
Eskil Abrahamsen Blomfeldt authored
While ANGLE builds only provide the OpenGL ES2 APIs, it's still a desktop technology and we should default to using high quality anti-aliasing. Task-number: QTBUG-28782 Change-Id: Iefc764589e935899ead278cedef4c302694dd2bb Reviewed-by:
Gunnar Sletta <gunnar.sletta@digia.com>
-
- 10 Jan, 2013 - 1 commit
-
-
Sergio Ahumada authored
Change-Id: I6c3bd7bebe3d62d1cfd0fa6334544c9db8398c76 Reviewed-by:
Akseli Salovaara <akseli.salovaara@digia.com> Reviewed-by:
Sergio Ahumada <sergio.ahumada@digia.com>
-
- 23 Sep, 2012 - 1 commit
-
-
Iikka Eklund authored
Change copyrights and license headers from Nokia to Digia Change-Id: Ie7f5d49ed8235d7a7845ab68f99ad1c220e64d5c Reviewed-by:
Lars Knoll <lars.knoll@digia.com>
-
- 23 Jul, 2012 - 1 commit
-
-
Jan-Arve Saether authored
The problem was that if the opengl driver is single-buffered by default it will remain so. The scene graph really want double-buffered rendering. Change-Id: Ie80f71276d1dd1304c75170f3ca17e585800e8b8 Reviewed-by:
Kim M. Kalland <kim.kalland@nokia.com>
-
- 17 Jul, 2012 - 1 commit
-
-
Alan Alpert authored
QQuickCanvas is now called QQuickWindow QQuickCanvas::rootItem is now QQuickWindow::contentItem QQuickItem::canvas is now QQuickItem::window QQuickItem::ItemChangeData::canvas is also renamed window QQuickCanvas::grabFrameBuffer is now QQuickWindow::grabWindow The functions related to the color property have dropped the clear from their names. The first three changes have interim compatibility measures in place to ease the transition. Change-Id: Id34e29546a22a74a7ae2ad90ee3a8def6fc541d2 Reviewed-by:
Martin Jones <martin.jones@nokia.com>
-
- 13 Jul, 2012 - 1 commit
-
-
Kim Motoyoshi Kalland authored
Since multisampling can require a lot of memory, and might not be supported on some hardware, turn off multisampling and implement antialiasing in the vertex shader instead. The alternative method of antialiasing is implemented for Rectangle, Image, BorderImage and AnimatedImage, and must be explicitly enabled by setting the new antialiasing property. Task-number: QTBUG-26268 Change-Id: I39a93d978658a494bf51e9f0fd02d8414eb8be12 Reviewed-by:
Gunnar Sletta <gunnar.sletta@nokia.com>
-
- 10 Jul, 2012 - 1 commit
-
-
Eskil Abrahamsen Blomfeldt authored
For old-style (desktop components) apps using QML 2 on regular density displays, distance field text will look out of place. We introduce an option to use the native rasterizer instead if you would rather have native look and feel than scalable text items. Change-Id: Idb38e3c89f2deab9ae1963357c6c5fb235ddeab8 Reviewed-by:
Jiang Jiang <jiang.jiang@nokia.com>
-
- 16 May, 2012 - 1 commit
-
-
Gunnar Sletta authored
Change-Id: I6b114938d2c52df95469975ffa87449f7fd8c647 Reviewed-by:
Kim M. Kalland <kim.kalland@nokia.com>
-
- 14 May, 2012 - 1 commit
-
-
Friedemann Kleint authored
- Fix warnings about truncation from size_t to int (MSVC 2010, 64bit). - Remove single character strings. Change-Id: Iaf4406e4e04d55d2d8b762f3433269868842a6f9 Reviewed-by:
Roberto Raggi <roberto.raggi@nokia.com>
-
- 08 May, 2012 - 1 commit
-
-
Girish Ramakrishnan authored
qtbase change 36547f4eff44361f7a6acd0cff107c0e47561f93 renamed qpa headers. Change-Id: I903b48d145837557d305366e2eb4eedd0ad32c14 Reviewed-by:
Samuel Rødal <samuel.rodal@nokia.com> Reviewed-by:
Gunnar Sletta <gunnar.sletta@nokia.com>
-
- 22 Mar, 2012 - 1 commit
-
-
Kim Motoyoshi Kalland authored
Change-Id: If325a38175249c3a3ffe5043d42ba35dbf90ce0c Reviewed-by:
Gunnar Sletta <gunnar.sletta@nokia.com>
-
- 20 Mar, 2012 - 1 commit
-
-
Andrew den Exter authored
To implement a custom distance field glyph node currently it's necessary to also provide a duplicate implementation of QSGContext::createDistanceFieldGlyphCache() as the default implemention references the cache manager created by createGlyphNode(). By isolating references to the cache manager to just createDistanceFieldGlyph() cache it becomes possible to just overwrite createGlyphNode() and still use the default cache. Change-Id: I7261bdbf247966b55512d2671e2ee85239bcca05 Reviewed-by:
Yoann Lopes <yoann.lopes@nokia.com>
-
- 07 Mar, 2012 - 1 commit
-
-
Matthew Vogt authored
Move the code dealing with QImage and QPixmap out of QQmlEngine and into the QtQuick library. QQmlEngine remains the owner of image provider resources, but does not use them directly. Change-Id: I52083581394d9c308db446372883eb7479ccf807 Reviewed-by:
Martin Jones <martin.jones@nokia.com>
-
- 05 Mar, 2012 - 1 commit
-
-
Gunnar Sletta authored
In QDeclarativePixmap::setImage() we deleted a QDeclPixmapData and recreated a new one in a very short timespan and the new texture factory was the same pointer as the deleted one, yet a queued destroyed signal was still emitted. Depending on when the queued connection was handled in the rendering thread, this would cause problems with the value returned from textureForFactory. Change-Id: Ibd785ca12667c99efb88b92689ae7ac4fa87c7ee Reviewed-by:
Kim M. Kalland <kim.kalland@nokia.com>
-
- 26 Feb, 2012 - 1 commit
-
-
Michael Brasser authored
Change-Id: Ibfcc7a78e442c2be5bab6933e2e85ed39344e6c2 Reviewed-by:
Kim M. Kalland <kim.kalland@nokia.com>
-
- 24 Feb, 2012 - 1 commit
-
-
Matthew Vogt authored
Symbols beginning with QDeclarative are already exported by the quick1 module. Users can apply the bin/rename-qtdeclarative-symbols.sh script to modify client code using the previous names of the renamed symbols. Task-number: QTBUG-23737 Change-Id: Ifaa482663767634931e8711a8e9bf6e404859e66 Reviewed-by:
Martin Jones <martin.jones@nokia.com>
-
- 20 Feb, 2012 - 1 commit
-
-
Michael Brasser authored
Fix compile after 054114a459580b71e170dc6bf356e8943d0ed068 in qtbase. Change-Id: Ibeea6b4b2e3c5f420446b15edd1df7bf88535dcd Reviewed-by:
Martin Jones <martin.jones@nokia.com>
-
- 09 Feb, 2012 - 1 commit
-
-
Gunnar Sletta authored
This makes it a lot more convenient as we then have direct access to the GL context, createTexture(), invalidation signal and more. Change-Id: I114514d1379c4d0efcc35c512fa2b485da3438b0 Reviewed-by:
Samuel Rødal <samuel.rodal@nokia.com> Reviewed-by:
Kim M. Kalland <kim.kalland@nokia.com>
-
- 08 Feb, 2012 - 1 commit
-
-
Gunnar Sletta authored
This allows to hook in non-QOpenGLFrameBufferObject FBO's also Change-Id: I8a2f8f7f15d5a92262bdbb0507b232d7c11fdf25 Reviewed-by:
Jani Hautakangas <jani.hautakangas@nokia.com>
-
- 30 Jan, 2012 - 1 commit
-
-
Jason McDonald authored
As in the past, to avoid rewriting various autotests that contain line-number information, an extra blank line has been inserted at the end of the license text to ensure that this commit does not change the total number of lines in the license header. Change-Id: If39bd256b0fa85eba17ea30f8ab87ea27d758908 Reviewed-by:
Rohan McGovern <rohan.mcgovern@nokia.com>
-
- 24 Jan, 2012 - 1 commit
-
-
Eskil Abrahamsen Blomfeldt authored
Use a shared graphics cache to back the distance fields if it is available. Change-Id: Id5e6e7a28e38e349d787e66016b2d0faebc791d7 Reviewed-by:
Jiang Jiang <jiang.jiang@nokia.com>
-
- 23 Jan, 2012 - 1 commit
-
-
Jason McDonald authored
Replace Nokia contact email address with Qt Project website. Change-Id: I6a730abc0c396fb545a48b2d6938abedac2e3f1c Reviewed-by:
Rohan McGovern <rohan.mcgovern@nokia.com> Reviewed-by:
Alan Alpert <alan.alpert@nokia.com>
-
- 17 Jan, 2012 - 1 commit
-
-
Jason McDonald authored
Update copyright headers from before 2011, and a couple of new ones that were merged after the previous change to copyright headers. Change-Id: Ia76e08e2734afa4ef3f1207dbcda5ff3bc81b366 Reviewed-by:
Rohan McGovern <rohan.mcgovern@nokia.com>
-
- 13 Jan, 2012 - 1 commit
-
-
Gunnar Sletta authored
Change-Id: Iad36542d2137e7a6470009c308ece3de389907c1 Reviewed-by:
Samuel Rødal <samuel.rodal@nokia.com>
-
- 19 Dec, 2011 - 1 commit
-
-
Gunnar Sletta authored
When all views are hidden, we stop the rendering thread, kill the OpenGL context and all scene graph content. The entire scenegraph is recreated based on the QML scene when a view is shown again. Change-Id: I734619d9f29263a5cdecbcc9b88c3808d1d64a7f Reviewed-by:
Kim M. Kalland <kim.kalland@nokia.com>
-
- 12 Dec, 2011 - 1 commit
-
-
Friedemann Kleint authored
Mostly introduced by fdd14a1a . Change-Id: Ief4c33412ef80923de2f91e62bb89c18267a14f3 Reviewed-by:
Gunnar Sletta <gunnar.sletta@nokia.com>
-
- 08 Dec, 2011 - 1 commit
-
-
Gunnar Sletta authored
What was traditionally the QQuickRenderLoop which was used to support one QQuickCanvas instance has now grown to support multiple QQuickCanvas instances and is now called QQuickWindowManager, of which there are two implementations. QQuickRenderThreadSingleContextWindowManager: One QSGContext and one OpenGL context is being used to draw all the windows and we alternate between which surface the gl context is bound to. This implementation relies on that swap does not block, but that the graphics pipeline is vsynced and will eventually block as the buffer queue is filled up. This is the behavior we get on Mac OS X and Wayland. The benefit of this implementation is that we have vsync'ed animations, and the synchronizaiton between GUI and render thread is simple. (well, simple relative to the alternative, that is). QQuickTrivialWindowManager: One QSGContext and one OpenGL context is being used on the GUI thread. Animations are ticked from a timer. Performan...
-
- 02 Dec, 2011 - 2 commits
-
-
Kent Hansen authored
This change moves the QtQuick 2 types and C++ API (including SceneGraph) to a new module (AKA library), QtQuick. 99% of this change is moving files from src/declarative to src/quick, and from tests/auto/declarative to tests/auto/qtquick2. The loading of QtQuick 2 ("import QtQuick 2.0") is now delegated to a plugin, src/imports/qtquick2, just like it's done for QtQuick 1. All tools, examples, and tests that use QtQuick C++ API have gotten "QT += quick" or "QT += quick-private" added to their .pro file. A few additional internal QtDeclarative classes had to be exported (via Q_DECLARATIVE_PRIVATE_EXPORT) since they're needed by the QtQuick 2 implementation. The old header locations (e.g. QtDeclarative/qquickitem.h) will still be supported for some time, but will produce compile-time warnings. (To avoid the QtQuick implementation using the compatibility headers (since QtDeclarative's includepath comes first), a few include statements were modified, e.g. from "#include <qsgnode...
-
Gunnar Sletta authored
In order to cleanly support multiple windows we need to not have the QSGContext reference in QDeclarativeEngine and we need to be able to have one copy of the texture for each QSGContext that is not sharing when we have multiple windows. This also makes it easier to the release graphical resources from a running application, which is another feature that we want to eventually implement. This patch does remove an adaptation feature which is the decodeToTexture, which seemed like a good idea at the time but in hindsight has not been used for anything. Edit: resolved conflict in qquickimage.cpp Edit: updated QDeclarativePixmap testcase Edit: updated QQuickImage testcase Edit: Rebased on top of QDeclarativePixmapCacheChanges Change-Id: Ifc61dd8158d3f841437d029b6031a91196145517 Reviewed-by:
Martin Jones <martin.jones@nokia.com>
-
- 28 Nov, 2011 - 1 commit
-
-
Kent Hansen authored
Change-Id: I8b6fbc7765093e3ec98f5847d99dbb406ff71221 Reviewed-by:
Gunnar Sletta <gunnar.sletta@nokia.com>
-
- 18 Nov, 2011 - 1 commit
-
-
Gunnar Sletta authored
Long term we intend to remove the QSGEngine class all together so this is the first step. It duplicates some of the logic but doesn't break anything. Also including an example on how to use it in examples/declarative/openglunderqml Change-Id: I69ed93ec5fa1b5c4c746169306d38f8d6ce80477 Reviewed-by:
Gunnar Sletta <gunnar.sletta@nokia.com>
-
- 14 Nov, 2011 - 1 commit
-
-
Yoann Lopes authored
The distance field glyph cache is now an abstract class part of the adaptation layer. It can be implemented to define the way the glyphs are stored in graphics memory on a specific platform. The typical use case is for having a cross-process glyph cache. To implement a custom glyph cache, one has to override three pure virtual functions: requestGlyphs(), storeGlyphs() and releaseGlyphs(). The default implementation works the same way as before the refactoring (no cross-process cache). Change-Id: I6e231a119abbffbe36f5f0d690f0b8be0664ff4f Reviewed-by:
Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>
-