summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Wrap all classes in Qt namespaceHEADdevAndy Nichols2016-03-0432-3/+127
| | | | | Change-Id: I1d7c7dfc594f16ad8727d87ebd19021a05bd841e Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
* Partial update supportAndy Nichols2016-03-0427-1630/+1833
| | | | | | | | | This enables partial update support, which leads to only painting into the backingstore what has changed in the scene each frame, and then only flushing the changed regions to the window surface. Change-Id: I2a3c8676bd4539100a4313069f894f157bfb0ea4 Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
* Merge remote-tracking branch 'origin/5.6' into devSimon Hausmann2016-03-022-2/+5
|\ | | | | | | Change-Id: Ia6d9b27bc61acb333b0c06574a31b7e9b06162f2
| * Fix Image smoothing not working5.6.0Jonathan Liu2016-02-161-1/+1
| | | | | | | | | | | | | | | | Linear interpolation should be interpreted as smooth rather than nearest neighbor. Task-number: QTBUG-51122 Change-Id: I6ac1fe806c16671aec383e0a235fef41e5e9105f Reviewed-by: Andy Nichols <andy.nichols@theqtcompany.com>
| * Fix ThreadedRenderLoop crash when showing a previously hidden windowRomain Pokrzywka2016-02-101-1/+4
| | | | | | | | | | | | | | | | | | | | cleanupNodesOnShutdown() was missing after the fireAboutToStop() call, causing access to stale render nodes when the window is exposed again. The crash occurs when accessing font cache data, which is stored in thread-local storage for a thread that was exited a long time ago. Change-Id: I1dab414106f17d08cd7d6a4e32ee50b3e57c2fd4 Reviewed-by: Andy Nichols <andy.nichols@theqtcompany.com>
* | Avoid suggest parentheses warning with gccLaszlo Agocs2016-02-051-1/+1
| | | | | | | | | | | | | | At least gcc 5.3 warns about this. Change-Id: I49189a9f44f51499f5a153b89909d800c2f1cbc5 Reviewed-by: Andy Nichols <andy.nichols@theqtcompany.com>
* | Remove unnecessary license templateLaszlo Agocs2016-02-051-29/+0
| | | | | | | | | | | | | | | | Other repos do not have this either and the license checker script chokes on it. Change-Id: Ic7bd8e85a9f6bf247918a80185e4cdb7ae38c419 Reviewed-by: Andy Nichols <andy.nichols@theqtcompany.com>
* | Add the override specifierAlexander Volkov2016-01-1412-142/+142
| | | | | | | | | | Change-Id: I83ac9f6590cc00606aba0631dbd885437997fc16 Reviewed-by: Andy Nichols <andy.nichols@theqtcompany.com>
* | RenderLoop: Remove the exhaust delay timer.Robin Burchell2016-01-142-27/+4
| | | | | | | | | | | | | | | | | | | | This was replaced by a proper requestUpdate mechanism at the QWindow level, so it isn't needed anymore. See also: 72e889d12f9df162a22c39204c8333c5f4808da8 in qtdeclarative. Change-Id: Ie293c50321b13d06a2dd96a74be4edf31373bd51 Reviewed-by: Andy Nichols <andy.nichols@theqtcompany.com>
* | Update license of module to GPL3 and CommercialAndy Nichols2016-01-1327-216/+1738
| | | | | | | | | | Change-Id: I489c554054b867e21bdf0d659ff2287b405d485e Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
* | Merge remote-tracking branch 'origin/5.6' into devAndy Nichols2016-01-0843-144/+203
|\| | | | | | | Change-Id: I2fa158b71126abb4439ada1004920077813ba9a1
| * Move OpenGL/EGL headers into 3rdparty folderAndy Nichols2015-11-2413-4/+4
| | | | | | | | | | | | | | | | | | | | These headers are actually 3rd party code since they come directly from the Khronos Group. This fixes issues with the license checker as well. Documentation and build script are updated to reflect the change in the header location. Change-Id: I1e513d7be580dcc3ea987d7fd0a5049fd7255d4e Reviewed-by: Antti Kokko <antti.kokko@theqtcompany.com>
| * Update headers to pass license check testAndy Nichols2015-11-2430-136/+194
| | | | | | | | | | Change-Id: I48623789ed483a9f8efe17fe398400ed29c87f3f Reviewed-by: Antti Kokko <antti.kokko@theqtcompany.com>
| * Doc: Fix a couple of documentation issuesTopi Reinio2015-10-192-4/+5
| | | | | | | | | | | | | | | | | | - Fix linking to Qt Quick QML types - Add url to .qdocconf, fix sourcedirs to allow template-added sources Change-Id: I2378f8fa0559bac125dc8ca930143c8fe54b300b Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
* | Merge remote-tracking branch 'origin/5.6' into devAndy Nichols2015-10-1533-392/+513
|\| | | | | | | Change-Id: Id464e8d37bd1130204c823f23149d15deaf7618e
| * Fix build on WinCEAndy Nichols2015-10-142-0/+4
| | | | | | | | | | Change-Id: Id252eeb0b140e58e74a84c97c9dde3f857f09d45 Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
| * Merge remote-tracking branch 'origin/5.5' into 5.6Andy Nichols2015-10-134-0/+20
| |\ | | | | | | | | | Change-Id: Iba0e12721ec9ab0fc70b078f73dc4ec89df05aa3
| | * Add tests directory to enable coin integrationAndy Nichols2015-10-134-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | There are no actual tests yet though, but now we don't fail the build in coin because there is no tests folder. Change-Id: I7843fb78d1bd0986db69f2706d8738061762e6cb Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
| | * Update Copyright and License headersAndy Nichols2015-08-1828-285/+281
| | | | | | | | | | | | | | | Change-Id: I308ac6bc053ed2648802f433e01be92f36e223b8 Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
| | * Bump module version to 5.5.1Andy Nichols2015-08-181-1/+1
| | | | | | | | | | | | | | | Change-Id: I25ddccfedbef2e62f64c3284cb43d66aa014b6c6 Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
| * | Add setTextureSize method to PainterNodeAndy Nichols2015-09-232-8/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PainterNodes now support having a textureSize property to handle the highDPI scenario. We still have to support both the old and the new case though, so we have logic for both. This fixes the build with the latest Qt 5.6. Change-Id: Ia9c9d65b187956271c98fb19f6e5bb5745273e0d Reviewed-by: Eirik Aavitsland <eirik.aavitsland@theqtcompany.com>
| * | Document that QQuickRenderControl is unsupportedAndy Nichols2015-09-111-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | QQuickRenderControl depends on OpenGL, and with QtQuick2DRenderer that means there will be unexpected behavior when you try and use OpenGL because there is no valid OpenGL context. The expected behavior is that it will just crash. Change-Id: I413ed73884abd778efb5f0d91bd96a34c1679c23 Task-number: QTBUG-45306 Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
| * | Correct file description, and product nameAntti Kokko2015-09-111-0/+3
| | | | | | | | | | | | | | | | | | | | | Helps extending RTA checks for Windows Change-Id: I3b03124e8739dfca20776284d548cf2a72437925 Reviewed-by: Andy Nichols <andy.nichols@theqtcompany.com>
| * | Fix rendering regressions with texture mirroring.Andy Nichols2015-09-093-16/+5
| | | | | | | | | | | | | | | Change-Id: I8d48b9332712aa30857402a93a35c77f22fae221 Reviewed-by: Eirik Aavitsland <eirik.aavitsland@theqtcompany.com>
| * | Handle new pure virtual methods in QSGLayerAndy Nichols2015-09-084-0/+34
| | | | | | | | | | | | | | | | | | | | | Added support for horizontal and vertical mirroring of a QSGLayer. Change-Id: Ic3c94f219ea97ef97287c8e4cebf853cfa961a80 Reviewed-by: Eirik Aavitsland <eirik.aavitsland@theqtcompany.com>
| * | Update Copyright and License headersAndy Nichols2015-08-1228-285/+281
| | | | | | | | | | | | | | | Change-Id: I4f6dd71bba13b32e5f8f8495675f87eba841bfed Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
| * | Update Qt Quick 2D Renderer to work with Qt 5.6Andy Nichols2015-08-126-96/+142
| |/ | | | | | | | | Change-Id: Ifa2493f773b2c94fcfc1d58229f26864b08019bc Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
* / Bump module version to 5.7.0Andy Nichols2015-10-151-1/+1
|/ | | | | Change-Id: I2028730057338d2ed07bd4cee9139ca4749d553a Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
* turn off image format conversion in PixmapTextureJoerg Bornemann2015-08-031-1/+3
| | | | | | | | | | Avoiding the conversion potentially saves memory and conversion time. Also, it guarantees that the pixmap format doesn't change just by assigning it to a texture object. E.g. QtWebEngine relies on that. Task-number: QTBUG-47328 Change-Id: I4dae1492d581ea406cf86906ed0ed2c126252257 Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
* fix namespaced buildJoerg Bornemann2015-07-092-0/+6
| | | | | Change-Id: I319f73aaeef2656dc628873a460607d6944d7432 Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
* Remove custom documentation footerKai Koehne2015-06-151-23/+0
| | | | | | | | | The footer is outdated (2014, Digia ...). Anyhow, the documentation of other commercial items is released under GNU Free Documentation License too, so let's just use the standard footer. Change-Id: I6d3e89bc7e112ad99c62a356d8a16c3bf389e5cf Reviewed-by: Topi Reiniö <topi.reinio@theqtcompany.com>
* Fix name of documentation as shown in ContentsKai Koehne2015-06-151-1/+1
| | | | | | | Make the title align with the other Qt components. Change-Id: I38d4728cad007b6389c2a541ffc3b228a621fe70 Reviewed-by: Topi Reiniö <topi.reinio@theqtcompany.com>
* Bump module version to 5.4.1Andy Nichols2015-01-201-1/+1
| | | | | Change-Id: I5a5d282e1641e76be662978cd95130385a9a65bc Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
* Doc: Fix various issuesTopi Reinio2015-01-144-11/+9
| | | | | | | | | | - Update privacy policy URL - Remove unnecessary \targets - Ensure Qt Quick and Qt Graphical Effects modules are linked to correctly Change-Id: I45cbf60ad07db1a74c250f0192ea8c674513f696 Reviewed-by: Andy Nichols <andy.nichols@theqtcompany.com>
* Doc: review documentation 2D RendererNico Vertriest2015-01-135-78/+60
| | | | | Change-Id: Ic31014844066025a903b2d33f5780f4f8e046f72 Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
* Mention the caveat of text rendering in the known limitationsSimon Hausmann2015-01-081-0/+6
| | | | | Change-Id: I87f733f6b15e1987d7ae6b83c716c578ce4edadb Reviewed-by: Andy Nichols <andy.nichols@theqtcompany.com>
* Remove deprecated macro to enable build with Qt 5.5Andy Nichols2015-01-082-17/+0
| | | | | Change-Id: Ia1a49a806dc2f822bee92787a45a49a4bc3c573f Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
* Account for Device Pixel Ratio when rendering QSGLayerAndy Nichols2015-01-082-3/+7
| | | | | | Change-Id: I3570a6ee87786f1459a922bd43f38d1bbbe2c640 Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com> Reviewed-by: Paul Tvete <paul.tvete@theqtcompany.com>
* Fix rendering of RectangleNode when devicePixelRatio != 1Andy Nichols2015-01-082-38/+57
| | | | | Change-Id: Ice0f274afe5ca5e5f453bddc3c3b63f44bbef06c Reviewed-by: Paul Tvete <paul.tvete@theqtcompany.com>
* Use the new QSGSimpleTextureNode::sourceRectJocelyn Turcotte2014-12-171-0/+4
| | | | | | | | | QtWebEngine always receives 256x256 large tiles, but is being told which part of the texture should be painted if the content is effectively smaller on a tile. Change-Id: Ie979562fb948c853e22155e3f7f3807ae10558ef Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
* Support QSGLayer::setRectJocelyn Turcotte2014-12-173-0/+4
| | | | | | | | | Carry any non-full rect from the layer to QPainter::setWindow. This is needed by cc::RenderPass::output_rect in QtWebEngine. Change-Id: I8ffd7f0b7646e664a225df096de455899338d4ba Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
* Fix crash for borderimage with negative bordersaavit2014-11-251-2/+10
| | | | | | | | | Replace negative margin values with 0. Test case: qtdeclarative/tests/manual/scenegraph_lancelot/data/borderimages/borderimage_rotated_unsmoothed_negative_borders.qml Change-Id: I53d143fd079cbaa5e6c8080ada81720f8b1b598b Reviewed-by: Andy Nichols <andy.nichols@theqtcompany.com> Reviewed-by: Eirik Aavitsland <eirik.aavitsland@theqtcompany.com>
* Doc: Add some basic documentationAndy Nichols2014-11-1810-65/+385
| | | | | Change-Id: Id6f986bc5d46912355f42e6ae8d72fe2738c2c19 Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
* Logging: use category names different from those in declarativeRichard Moe Gustavsen2014-11-184-74/+104
| | | | | | | | | | | Otherwise we end up with duplicated symbols when linking statically. This partly reverts commit 139ace5b57b82396dc37a6781bfae4a251172764. Change-Id: I0b33cc00d19e7c541b33a72a7d27e1c0a895d988 Task-number: QTBUG-42679 Reviewed-by: Andy Nichols <andy.nichols@digia.com>
* Logging: include logging categories from qsgcontext_p.hRichard Moe Gustavsen2014-11-171-24/+1
| | | | | | | | | | | The logging categories used in this module are already defined in qtdeclarative, which this module depends on. We could just use Q_DECLARE_LOGGING_CATEGORY instead of Q_LOGGING_CATEGORY, but even simpler is to just include the private header file where they are already declared. Change-Id: I5adb0cfc5fd4fed234935820e52d7c7e7a797fae Reviewed-by: Andy Nichols <andy.nichols@digia.com>
* Improve quality of RectangleNodes when rotatedAndy Nichols2014-10-212-31/+68
| | | | | | | | | | | | | | | | | | | | When there is a rotation transformation on a RectangleNode it is not possible to take advantage of accelerated blitter paths, but we still need to do custom painting to recreate the behavior of a Rectangle component in Qt Quick. Now when there is a rotaiton transformation we will fall back to using QPainter::drawRect as long as there is no border or radius. If there is a border or radius value set though we will instead first render to a QPixmap before painting as the standard behavior of QPainter::drawRect and QPainter::drawRoundedRect does not match the expected behavior of a QQuick Rectangle item. This fixes the poor quality of rotated Rectangles at the cost of speed. The Rotation of any item should still be discouraged for performance reasons, but at least now Rectangles itmes should look correct when used. Change-Id: I3919ad732c9b4354a95e28e8dc09fcefd53f604e Reviewed-by: Eirik Aavitsland <eirik.aavitsland@digia.com>
* SoftwareLayer: markDirtyTextureLater() slot was removedAndy Nichols2014-10-202-13/+1
| | | | | | | | This issue was fixed in qtdeclarative a slightly different way, so now we need to change our code to reflect the change. Change-Id: I5c050da88efc32e808ad5a4a764ff410544db1cd Reviewed-by: Andy Nichols <andy.nichols@digia.com>
* Fix build error with latest QtDeclarativeAndy Nichols2014-09-301-1/+0
| | | | | Change-Id: Id4b87c285370182b34ec42cf02c59627e8019956 Reviewed-by: Andy Nichols <andy.nichols@digia.com>
* Remove Q_UNREACHABLE from RenderingVisitorAndy Nichols2014-09-301-2/+2
| | | | | | | | | There will be times when we hit custom QSGGeometry nodes where we won't be able to render them. Rather than crashing, just ignore them. The Q_UNREACHABLE macro was more for the development phase anyway. Change-Id: I4962cab17b8b3399e081dba58c3a7c4dd988de8f Reviewed-by: Andy Nichols <andy.nichols@digia.com>
* Make sure to clear backingstore with Source Composition ModeAndy Nichols2014-09-301-1/+2
| | | | | | | | This prevents blending with either garbage or the contents of the previous buffer when clearing with colors with an alpha. Change-Id: I52fc13c2af224a37206e51efd38301b95085c9b2 Reviewed-by: Andy Nichols <andy.nichols@digia.com>