aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Bump version5.6Oswald Buddenhagen2017-09-211-1/+1
| | | | Change-Id: I4aa08f7cacffdc2b59518e5c5c0b97ef73bdac23
* Add change file for Qt 5.6.3v5.6.3Liang Qi2017-09-061-0/+12
| | | | | | | Task-number: QTBUG-62719 Change-Id: I78a26008cdce90d44ba2d55bc707d5fffbc4a7b0 Reviewed-by: Andy Shaw <andy.shaw@qt.io> (cherry picked from commit 5affaad97a8c2116fb53c6709ad09952a8989c89)
* Bump versionOswald Buddenhagen2016-11-281-1/+1
| | | | Change-Id: I208b220ed0d9a0a88693131493d262393450ae8b
* remove dependencies from sync.profileOswald Buddenhagen2016-11-231-11/+1
| | | | | | | the CI obtains them from the qt5 super repo nowadays. Change-Id: I8945682ff90cfbb8a7ea3789d7add2ced8e89580 Reviewed-by: Liang Qi <liang.qi@qt.io>
* Expand license scope from "Qt GUI Toolkit" to "Qt Toolkit"v5.6.2Sze Howe Koh2016-06-194-4/+4
| | | | | | | See http://comments.gmane.org/gmane.comp.lib.qt.devel/25771 Change-Id: I5a42cd340599e118666e1430f5297f647bf9f90a Reviewed-by: Lars Knoll <lars.knoll@qt.io>
* Update code snippet to match the image correctlyAndy Shaw2016-06-011-0/+4
| | | | | Change-Id: Ibf66243d0a2d21fbc08e8d5d64c692f85f0caab1 Reviewed-by: Topi Reiniö <topi.reinio@theqtcompany.com>
* Bump versionOswald Buddenhagen2016-05-191-1/+1
| | | | Change-Id: If6935c7c341fc91f6ad9aaf3f9541236f6b115be
* Fix QQmlExtensionInterface usagev5.6.1-1v5.6.1J-P Nurmi2016-05-102-2/+2
| | | | | | | | | The version was first removed, and then restored, so it's now missing the version number. Use the pre-defined macro instead. Task-number: QTBUG-53208 Change-Id: Ibb4a727cedcdfc210bb62f6f826306d81893b816 Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
* make use of COPIESOswald Buddenhagen2016-04-281-5/+3
| | | | | Change-Id: Iddab238e01a48cf2ce915e9f848cb3102d1bc046 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
* Make graphical effects' 'QML Types' link easier to spotMitch Curtis2016-04-271-2/+4
| | | | | | Task-number: QTBUG-52982 Change-Id: Ic20fac14c2007c6e0eba34b9fdd02886cd8f4090 Reviewed-by: Topi Reiniö <topi.reinio@theqtcompany.com>
* Purge sRGB chunks from PNGs in tests.Edward Welbourne2016-03-234-0/+0
| | | | | | | | Subjects each *.png file that matched grep -law "sRGB" to: pngcrush -ow -brute -rem allb -reduce Change-Id: I21879d6d43c610ebee074bd12417d9d5ebc69096 Reviewed-by: Topi Reiniö <topi.reinio@theqtcompany.com>
* Purge sRGB chunks from PNGs in documentation.Edward Welbourne2016-03-2230-0/+0
| | | | | | | | Subjects each *.png file that matched grep -law "sRGB" to: pngcrush -ow -brute -rem allb -reduce -force Change-Id: Ie8d9a72fde6bf65a63b8786fe2bb1a7c5da1c4b7 Reviewed-by: Topi Reiniö <topi.reinio@theqtcompany.com>
* Merge remote-tracking branch 'origin/5.6.0' into 5.6Frederik Gladhorn2016-03-171-0/+2
|\ | | | | | | Change-Id: I0014d3d7a0f7b8039021242033a4a7e3cb9dcb94
| * Fix crash when a ShaderEffectSource is missing a sourceItemv5.6.0Gunnar Sletta2016-02-251-0/+2
| | | | | | | | | | | | | | Task-number: QTBUG-51375 Change-Id: I98029d5a617c730a18897bebae27cf14c1d7b876 Reviewed-by: Thomas Senyk <thomas.senyk@pelagicore.com> Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* | Make ShaderEffectSource work with SourceProxy when sourceRect is unset.Gunnar Sletta2016-03-041-1/+1
| | | | | | | | | | | | Task-number: QTBUG-51519 Change-Id: I1250a2faf6b970fc60bd383294edd4fa44819856 Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
* | Bump versionOswald Buddenhagen2016-02-081-1/+1
|/ | | | Change-Id: I014db603d85edaaeeec16ca638799638aef9d624
* Make Item::layer::effect: Effect {} work againv5.6.0-rc1Gunnar Sletta2016-01-112-11/+26
| | | | | | Task-number: QTBUG-49979 Change-Id: I7745b313194570b7ca0d086d41894a6d71f7610a Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* Fix SourceProxy's method for determining when to activate.v5.6.0-beta1Gunnar Sletta2015-12-083-17/+44
| | | | | | | | | | The logic had several flaws, including not respecting sourceRect and wanted interpolation, so do it over. Change-Id: I40b147a0e18ef5f9f3a0086904f9e9f93463c7fc Task-number: QTBUG-47749 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com> Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
* Update tests results of QColor <=> QString conversion code updateJędrzej Nowacki2015-12-031-3/+3
| | | | | | | The tests was depending on a buggy behavior (QTBUG-37851) Change-Id: I238ff02a3ac4cdb4690b5233603f7cb4db3ef422 Reviewed-by: Liang Qi <liang.qi@theqtcompany.com>
* Use fallback blur shader for radius * 2 + 1 != sampleCount.Gunnar Sletta2015-11-053-16/+14
| | | | | | | | The faster code path looks a lot worse in this case, so fall back to use the generic arbitrary large blur size for this case. Change-Id: I3984b3bf48732a83dd112b7beb0fb4c3f8d38568 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* Move QtGraphicalEffectsPlugin classname declaration to private qmldirMitch Curtis2015-11-032-1/+1
| | | | | | | | | | The public plugin is QML-only, and static builds of Qt require this information to be present in order to resolve module imports. Change-Id: I3ae6b92ab57df594e2778b4f19635bd353271acb Task-number: QTBUG-48830 Reviewed-by: Gunnar Sletta <gunnar@sletta.org> Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
* Clamp DropShadow's radius to [0, floor(samples/2)]Gunnar Sletta2015-10-191-1/+1
| | | | | | Change-Id: Ib92b7adf0c46aa6456797ba69c42f38fc67021bf Task-number: QTBUG-47749 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* changes file for 5.6Gunnar Sletta2015-10-191-0/+55
| | | | | Change-Id: I0cb28d78fecf027d19eca859a2e2b51f2fd9fb07 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* Make DropShadow properties into 'real' again.Gunnar Sletta2015-10-192-9/+5
| | | | | | Change-Id: Icf416b5db2cf9dbb0be29fc0e3b9a855c58035e3 Task-number: QTBUG-48625 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* Ensure GL_MAX_VARYING_VECTORS is definedSamuel Gaist2015-10-191-0/+4
| | | | | Change-Id: I8791c5879a5dc988249805d8e97b3a268e834380 Reviewed-by: Gunnar Sletta <gunnar@sletta.org>
* Correct value of GL_MAX_VARYING_FLOATSSamuel Gaist2015-10-191-1/+1
| | | | | | | | The constant value used for GL_MAX_VARYING_FLOATS is the value of GL_MAX_VARYING_VECTORS. Change-Id: I80c3bd8be34503bcc31cc040435248834fd811a1 Reviewed-by: Gunnar Sletta <gunnar@sletta.org>
* Test type of double propertiesMitch Curtis2015-10-091-4/+55
| | | | | | | | | | This allows us to sanity-check future changes. The newly added checks are expected to fail until QTBUG-48625 is fixed. Change-Id: I9d505ee83ce774a13334c9d2e3c03baea0862237 Task-number: QTBUG-48625 Reviewed-by: Liang Qi <liang.qi@theqtcompany.com> Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
* add requires() on quickOswald Buddenhagen2015-09-291-0/+2
| | | | | | | | | | quick may be missing even though declarative is built, as it has a conditional on opengl being enabled. consequently, we can't rely on the repo dependency in the top-level repo. Task-number: QTBUG-48498 Change-Id: Ie0e54b991fc5e875a2a51f7a36e95855f726c0c9 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* Purge spurious execute permissions.Edward Welbourne2015-09-2945-0/+0
| | | | | | | | Running graphics and QML files would just be asking for trouble. Change-Id: I36ae4d060d1794f572230b04d1b1d4de30ed80e8 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@theqtcompany.com> Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@theqtcompany.com>
* Doc: minor link issuesNico Vertriest2015-09-0910-21/+21
| | | | | | | Change-Id: I61c44a8b5e8f72886e46d55f638b9fa392aaeec7 Task-number: QTBUG-43810 Reviewed-by: Topi Reiniö <topi.reinio@digia.com> Reviewed-by: Martin Smith <martin.smith@digia.com>
* restore previous context in QGfxShaderBuilderJoerg Bornemann2015-09-071-1/+7
| | | | | | | | | | QGfxShaderBuilder can be called while we're in the process of rendering a window. We must restore the previous OpenGL context instead of making a null context current. Change-Id: I6d1158bbcee781a7850d5fc7bea9e7070d62c0f6 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com> Reviewed-by: Gunnar Sletta <gunnar@sletta.org>
* Merge "Merge remote-tracking branch 'origin/5.5' into 5.6" into refs/staging/5.6v5.6.0-alpha1Liang Qi2015-08-282-0/+688
|\
| * Merge remote-tracking branch 'origin/5.5' into 5.6Liang Qi2015-08-212-0/+688
| |\ | | | | | | | | | Change-Id: I64fdd5f0c14e0f07aa499aad5a3fea50d0b83ab4
| | * Merge remote-tracking branch 'origin/5.4' into 5.5v5.5.15.5Liang Qi2015-08-190-0/+0
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: .qmake.conf Change-Id: I1d337a7aa19c3134ad784c726fc1055c06b3a3d2
| | | * Bump version5.4Oswald Buddenhagen2015-04-201-1/+1
| | | | | | | | | | | | | | | | Change-Id: I84d9e57d5f993d8641613c9ccc4c24860f07ff8f
| | * | Add the GPLv3 license textThiago Macieira2015-08-132-0/+688
| | | | | | | | | | | | | | | | | | | | | | | | | | | | LGPLv3 refers to it but does not include it in its body. Change-Id: Ib056b47dde3341ef9a52ffff13eed18cf3504738 Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
* | | | Rename uniform step->dirstep to avoid conflicts with built-inGunnar Sletta2015-08-282-6/+6
|/ / / | | | | | | | | | | | | Change-Id: Ifcffcaf3d057162bb6eb8af9cd3c2277bc5bf206 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* | | Change the default DropShadow offset back to 0.Gunnar Sletta2015-08-172-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Though this makes DropShadows work out of the box and be less confusing to users, it also ends up breaking code that uses DropShadow as a glow effect. Change-Id: Id65dc85d2877709f3bd8d036f06c7b8fc2886777 Task-number: QTBUG-47749 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* | | Merge remote-tracking branch 'origin/5.5' into devFrederik Gladhorn2015-08-093-67/+124
|\| | | | | | | | | | | | | | | | | | | | Conflicts: .qmake.conf Change-Id: Iaee160172f27e36a8fa7c46a9f2154c6864d93de
| * | Doc: rearrang tables with overflowNico Vertriest2015-07-153-67/+124
| | | | | | | | | | | | | | | | | | Task-number: QTBUG-46475 Change-Id: I6f3256255089e40180af72d73b4c1d86ca505292 Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
| * | Bump versionOswald Buddenhagen2015-06-291-1/+1
| | | | | | | | | | | | Change-Id: I87ae8ef991682e812f9e3c09d5d28170a8d9e505
* | | Fix warnings in gradients.Gunnar Sletta2015-06-301-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | We're assigning 'undefined' to it, so implement a resetter. Change-Id: Ie43282043b250f2e9cd247d4819b1827ab7e9e97 Task-number: QTBUG-46774 Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
* | | Adapt QtGraphicalEffects autotest to check for the new values.Gunnar Sletta2015-03-241-15/+11
| | | | | | | | | | | | | | | Change-Id: Iff577c9400cf2b3de9b97c8b898b4c971a2b9514 Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
* | | Implement MaskedBlur in terms of the new GaussianBlur.Gunnar Sletta2015-03-244-127/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The mask code uses the fallback shader which is equivalent, performance wise, to what we have in Qt 5.4, but in the interest of keeping one codebase for all the blurring, we'll replace it anyway. 'transparentBorder' doesn't do anything anymore because it never really worked to begin with and it doesn't make sense. See comment in code. 'fast' codepath has been removed because it isn't really all that fast. [ChangeLog] MaskedBlur has a new blur implementation. The default values of properties has been updated such that 'layer.effect: MaskedBlur { maskSource: myMask }' works out of the box. The 'fast' and 'transparentBorder' properties no longer have any effect. Change-Id: Ibc05442914b563c50c95212fb0d4578f02990504 Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
* | | Implement Glow using the new gaussian blur.Gunnar Sletta2015-03-245-122/+82
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The fast code path has been removed, same rationale as in the 'DropShadow' case. [ChangeLog] Glow has a new and faster blur implementation. Its default values have been updated so that 'layer.effect: Glow { }' produces sensibe output and 'fast' no longer has any effect. Change-Id: I88aa16baf294851531f414ec52095d46561dbea8 Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
* | | doc: fix linkageGunnar Sletta2015-03-241-3/+3
| | | | | | | | | | | | | | | Change-Id: I4cf539f61e372928d78116dca73ad2c9b5da66a7 Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
* | | Implement DropShadow using the new gaussian blur.Gunnar Sletta2015-03-247-150/+184
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The 'fast' path has been discarded because it fails to deliver on the fast promise. For radii less than 30-40 the normal blur is faster, so little point [ChangeLog] DropShadow uses the new gaussian blur implementation. 'fast' no longer has any effect. The default values have been updated so that 'layer.effect: DropShadow { }' works out of the box. Change-Id: I7e4ace4623613f0969a35e0c9bb873c18a158450 Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
* | | Fix qdoc warnings in the new GaussianBlur implementation.Gunnar Sletta2015-03-131-12/+18
| | | | | | | | | | | | | | | Change-Id: Ia2e04f8d16fa90a56aad2eb65aa14eef34c7a3f0 Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
* | | Adapt GaussianBlur autotest to the new default values.Gunnar Sletta2015-03-131-4/+3
| | | | | | | | | | | | | | | Change-Id: I27c405af55384b5ea9a5c823bfed9fb5e8ba2161 Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
* | | Improve Gaussian Blur.Gunnar Sletta2015-03-136-59/+547
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The shader source generation has been moved to C++ and the following improvements have been made to the algorithm: - Rely on linear sampling to roughly halve the number of samples required to perform blurring, while still mathmatically accurate. - Avoid dependent texture reads by calculating the sample positions in the vertex shader. This only works if the vec2 is used in texture2D() directly from the varying without any arithmetic and no swizzle mask applied. The fragment shader can then in many cases prefetch the texture value. - Implement a fallback shader which is used when samples exceed the maximum number of varyings. The old implementation supported 32 samples. The new one switches to the fallback when the required samples / 2 exceeds the number of available varying registers on the GPU. The fallback shader is equivalent to the old code performance wise, but supports an arbitrary high number of samples. [ChangeLog] Gaussian Blur has a new implementation. Faster for smaller kernels, similar for larger kernels but allows arbitrarily large kernels. The fast version will support at least 15x15 kernels on OpenGL ES and 59x59 kernels on Desktop GL. GaussianBlur.deviation is now a very costly parameter to change. Change-Id: I1ac44633ec6b3b667ebfab2211fa53e706804787 Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>