| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
Add a README.md mentioning the documentation on where the ported
effects can be found, as well as how to check out the Qt5 branch.
Pick-to: 6.2
Fixes: QTBUG-95757
Change-Id: Ib47c7e73f8622c8e287df0f74c6f16a5113b357e
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Change license headers in source files, update copyright year for Qt
Company entries, remove GPL and LGPL license files, add a 3-clause BSD
license file.
Tests and tools continue to be licensed under GPL with Exceptions.
Fixes: QTBUG-85256
Change-Id: I7a772c7746a00dd6aa3e6401a048a9229c291f6f
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The following are based on static shader code, and after porting the
shaders they will work fully identically to 5.15:
FastBlur
Colorize
OpacityMask
BrightnessContrast
ColorOverlay
Desaturate
Displace
GammaAdjust
HueSaturation
LevelAdjust
RectangularGlow
Thresholdmask
LinearGradient
RadialGradient
ConicalGradient
The following change behavior:
Glow
DropShadow
These now only have the fast variants, because those rely on static shader code.
So we are going back to the Qt 5.5 versions and make them behave as if 'fast'
was always set to true. The 'fast' and 'samples' properties are removed.
The following are removed:
Blend
GaussianBlur
DirectionalBlur
MaskedBlur
RadialBlur
RecursiveBlur
ZoomBlur
InnerShadow
The autotest and the gallery application (run qmlscene testBed.qml in
tests/manual/testbed) have been adjusted accordingly and now work across
all QRhi backends.
The docs may still refer to removed effects in some code snippets. Updating
that is left as a separate exercise.
[ChangeLog] Graphical Effects no longer relies on dynamically generated
shader strings. The following effects have been removed: Blend, GaussianBlur,
MaskedBlur, RadialBlur, RecursiveBlur, ZoomBlur, InnerShadow. Glow
and DropShadow always use the 'fast' variant. The fast and samples
properties for these are thus no longer applicable and have been
removed.
Change-Id: Ife83f3828f37977596fd34f8da8b61961f0ed28a
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
6f02d6fc made relevant effects respect the smooth property of the layer,
but made a few mistakes in the interpolation binding:
- It got the order of the ternary operator branches wrong: Nearest was
used when smooth was true, when it should have been Linear.
- It uses the smooth property of the layer, which is automatically set
by QGfxSourceProxy::updatePolish() as a result of setting its
interpolation.
- It also used the smooth property of the rootItem, which is the
overlay itself, and not the source item. It would make more sense to
base it on the smooth property of the source item, since all
Item-derived types have this.
Somehow (and luckily) this didn't result in any visible issues.
Task-number: QTBUG-67382
Change-Id: I264579505b4195f5d19e1869e7e579d75bf97d5d
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Now it should always be possible to do
import QtGraphicalEffects 1.m
where m is Qt's minor version.
[ChangeLog][Qt Graphical Effects] In Qt 5.12 and newer versions, this
module is available with the same minor version as the Qt release
minor version number. For example import QtGraphicalEffects 1.12 will
work in Qt 5.12, even though there has been no API change, and the
maximum possible import version will automatically increment in future
Qt versions. This is intended to reduce confusion.
Change-Id: I4fa13fa9a662933161ff726a3e2ba586b2f7f6ff
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Currently, source items that set smooth to false will have blurry
effects when using layer.effect. Fix that by setting the interpolation
property of each effect's SourceProxy.
Standalone effects seem to work fine already.
The patch adds a manual testcase: "smooth". This can be used to verify
that the functionality works in the future, as adding an auto test
is not really possible.
This isn't done for all effects, as it doesn't make sense for all of
them (blurs, for example).
Task-number: QTBUG-67382
Change-Id: Ic6f030090cd0579dd4259ebafc9c99a8b9940494
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
|
|
|
|
|
|
|
|
|
| |
[ChangeLog][Qt Graphical Effects] Added QtGraphicalEffects support for
OpenGL Core profile contexts.
Task-number: QTBUG-42107
Change-Id: I7111e2e6fb3a0b0391e76a17a8d091d288bfcc23
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Remove unused old license files
- Unify licensing
* Tools and tests are nowdays licensed under GPL-EXCEPT, update
correct license header to those
* Src is nowdays licensed under LGPL, update correct license
header to there
Task-number: QTBUG-57147
Change-Id: I9664c854108ca7c1e0be02fdae9e8d7c480dfd4c
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
|
|
|
|
|
| |
Change-Id: Ie42ce93850475c036b2bb4e1fa9068c597317c48
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
This gives us a bit better control in terms of what we
want to check for. It should also fix some subtle bugs
when layer and ShaderEffectSource is used as input.
Change-Id: I29de13598811623c31563ac6e88f070aee0bab54
Task-number: QTBUG-40849
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
|
|
|
|
|
|
|
|
|
| |
Qt copyrights are now in The Qt Company, so we could update the source
code headers accordingly. In the same go we should also fix the links to
point to qt.io.
Change-Id: I8983b05749d75b438a314e7f385a85c612a04f6f
Reviewed-by: Jani Heikkinen <jani.heikkinen@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: Ib685e533a97bae865df5802c4f9e7399c8cfd078
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
|
|
|
|
|
|
|
| |
Task-number: QTBUG-31902
Change-Id: Id9d81ffddda3ee666840f602bb8c85ff00545547
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
|
|
|
|
|
|
| |
Change-Id: Idaf2ac8f4dc2a8586c6e148bd67a33e9bdd677e1
Reviewed-by: Akseli Salovaara <akseli.salovaara@digia.com>
Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
|
|
|
|
|
|
|
|
|
|
| |
-moved API documentation in QML files
-moved snippets, images, and qdoc files to src/effects/doc
-deleted old .pri and .qdocconf files
-fixed relative paths
Change-Id: I4e757e707b5f93a215506f8c2cbb7eb1f2321d4c
Reviewed-by: Geir Vattekar <geir.vattekar@digia.com>
|
|
|
|
|
|
|
|
|
| |
Change copyrights and license headers from Nokia to Digia
Change-Id: I06d9e8f818910ab9243afb73087f187a4b3b05f4
Reviewed-by: Janne Anttila <janne.anttila@digia.com>
Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
|
|
|
|
|
|
|
|
| |
Private is more widely used term for files that
do not belong to public API.
Change-Id: Ib4219a4026bc04f79f0803272f8af6a13b517ca8
Reviewed-by: Kim Gronholm <kim.1.gronholm@nokia.com>
|
|
|
|
|
|
|
|
| |
If precision qualifier is missing, shader compilation
may fail on some GPU:s.
Change-Id: I8bad4855203ba9f0b233a877b1a012c608801bd6
Reviewed-by: Kim Gronholm <kim.1.gronholm@nokia.com>
|
|
|
|
|
| |
Change-Id: I210c10369f97ab8289bff3c3d7e6dc26d9215936
Reviewed-by: Jyri Tahtela <jyri.tahtela@nokia.com>
|
| |
|
|
|