| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
The pattern used for version matching breaks with two digit minor releases.
Change-Id: I08b70fcccbff5ee7d47bc2752b01552447bd8468
Reviewed-by: Michael Brasser <michael.brasser@live.com>
|
|
|
|
|
|
|
|
| |
This is still useful for 5.8, since a built-in solution
isn't available until 5.9.
Change-Id: I63df1012a05ecf798bbd8d3aa47fd2a290ababf5
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
|
|
|
|
|
| |
Change-Id: I46a5b615f219bfddc77058cc30e3e1bd61f44333
Reviewed-by: Robin Burchell <robin.burchell@viroteck.net>
|
|
|
|
|
| |
Change-Id: I1815cfc31e46b7f5f22272d9389fba9b0154d1ab
Reviewed-by: Robin Burchell <robin.burchell@viroteck.net>
|
|
|
|
|
|
|
| |
Failure to do so causes runtime errors when using -Wl,--as-needed.
Change-Id: If3687acbac06f13caba5ca3c7f3fdc33710fc5ab
Reviewed-by: Gunnar Sletta <gunnar@sletta.org>
|
|
|
|
|
| |
Change-Id: I6fbc08be9148c772423d9225921fc1b2b1bf7444
Reviewed-by: Robin Burchell <robin.burchell@viroteck.net>
|
|
|
|
|
|
|
|
| |
Failing to do so, will result in clip being wrong on the following
frames.
Change-Id: If3a5f9c7ecb056d6cf2c50fe2f326abeaad0ddb8
Reviewed-by: Robin Burchell <robin.burchell@viroteck.net>
|
|
|
|
|
| |
Change-Id: Ifa0ed35e8117e8df4fddb78a169073e558cc6cc9
Reviewed-by: Robin Burchell <robin.burchell@viroteck.net>
|
|
|
|
|
|
|
|
|
|
|
| |
Share the NativeBuffer and release when the last reference is gone.
This prevents too early deletion of the NativeBuffer owned
by the texture factory while the buffer is still being used through
a non-owning HybrisTexture.
Change-Id: I151b616df74b1590341af6fcfdc7674a98b55215
Reviewed-by: Gunnar Sletta <gunnar@sletta.org>
|
|
|
|
|
|
|
|
| |
Add PREMUL and qt_div_255 here since we don't want to rely on a private header. It has changed in Qt 5.5, breaking compilation.
Signed-off-by: Christophe Chapuis <chris.chapuis@gmail.com>
Change-Id: Ie17a564da41f5039892eb6194218500c93ee0449
Reviewed-by: Gunnar Sletta <gunnar@sletta.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- It doesn't do any fancy stuff, and will as a result be faster during
the 'sync' phase at the cost of being slower during the 'render'
phase.
- Uses very few support structures and has lower memory footprint than
the batched renderer.
- Keeps all geometry, both for graphics and clipping, in one VBO/IBO
pair, resulting in that switching clips becomes relatively
cheap. However, there is no partial upload, if something changes,
everything is uploaded again.
- Draws every single geometry in a separate call. No batching, no
optimized scrolling, etc.
Change-Id: I561a65833ec286340a9ffb3e44c55b76929b8137
Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: Id6fe22975f1fe46dfa71832441f52b1ba947fd99
Reviewed-by: Robin Burchell <robin.burchell@viroteck.net>
|
|
|
|
|
| |
Change-Id: I687334cd79cbf5f0cb00ed0e60fd502308c4910e
Reviewed-by: Gunnar Sletta <gunnar.sletta@jollamobile.com>
|
|
|
|
|
|
|
| |
The implementation in 5.4 doesn't need it anymore.
Change-Id: Icef27eb697a48d4bc6af909e563921f3a680adc0
Reviewed-by: Michael Brasser <michael.brasser@live.com>
|
|
|
|
|
|
|
| |
Some headers need to be included before others, it seems.
Change-Id: Id62527c21c2755e1bd0a85f16b4fa377bf8af373
Reviewed-by: Gunnar Sletta <gunnar.sletta@jollamobile.com>
|
|
|
|
|
| |
Change-Id: Ica9ddcacb57dc13a778fa5b7b609520f267ecfed
Reviewed-by: Gunnar Sletta <gunnar.sletta@jollamobile.com>
|
|
|
|
|
| |
Change-Id: I7317a5157d7692f6e3357479a5b4c0c7906c3f77
Reviewed-by: Giulio Camuffo <giulio.camuffo@jollamobile.com>
|
|
|
|
|
|
|
|
|
|
| |
This is the equivalent of eglgralloctexture, except it uses
an EGL extension and will for that reason only depend on
libEGL and not Android's libhardare and SDK.
Change-Id: Ib06d56d62566bfe77a55690f51139d395540f254
Reviewed-by: Giulio Camuffo <giulio.camuffo@jollamobile.com>
Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com>
|
|
|
|
|
| |
Change-Id: Iacd5542ca5bc27afab7ea5f27afec4debe69be74
Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com>
|
|
|
|
|
| |
Change-Id: I953d91550ceeb7f21dccfdc5515d3e19a6c16654
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
|
|
|
|
|
| |
Change-Id: I8cbdfde5b47beb849327e4ae61c5009005ffc79c
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
|
|
|
|
|
|
|
|
|
|
|
| |
Most QML applications will never have this problem as they use a small
amount of shaders and the cache will reach a max of 20-30 shaders.
This is only a safeguard against applications which recompile new shaders
all the time.
Change-Id: If6dbb6da4eff82e2a4e43a9414a45a7bf4ce762a
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
|
|
|
|
|
|
|
|
|
|
|
| |
All the work relating to the texture upload is done on the
pixmap loader thread when the texture factory is created.
QSGTexture::bind() on the render thread then becomes a
zero-cost operation, which is very beneficial for large images
which tend to block the render thread for 10s of milliseconds.
Change-Id: I2d9eb15e64c435d58e454641dda7d588d6b236f4
Reviewed-by: Michael Brasser <michael.brasser@live.com>
|
|
|
|
|
| |
Change-Id: I3e97c83657d63f01cde5bbf8832f1026773a0f53
Reviewed-by: Gunnar Sletta <gunnar.sletta@jollamobile.com>
|
|
|
|
|
|
|
|
|
|
| |
When building with Qt 5.2 or higher, a warning will be printed when
using the overlaprenderer, as the default batchrenderer should typically
be a better alternative. materialpreload will be relevant only
if the overlaprenderer is used.
Change-Id: I4899f8b4f45210c03fe08b1bb0940763683c99b3
Reviewed-by: Michael Brasser <michael.brasser@live.com>
|
|
|
|
|
| |
Change-Id: I6108531e2abfcb43ed27f68caa7e34eab289f863
Reviewed-by: Michael Brasser <michael.brasser@live.com>
|
|
|
|
|
| |
Change-Id: I7993318d52a4c7f30865d3ccbca7aa2efc9d010f
Reviewed-by: Michael Brasser <michael.brasser@live.com>
|
|
|
|
|
| |
Change-Id: I2a51af6833f2d651e5a3b456197594f722fac741
Reviewed-by: Gunnar Sletta <gunnar.sletta@jollamobile.com>
|
|
|
|
|
| |
Change-Id: I3560282009b762759f96d77db40c86610cb54e62
Reviewed-by: Gunnar Sletta <gunnar.sletta@jollamobile.com>
|
|
|
|
|
| |
Change-Id: I43cdc7f36f4bfeb88b71d8b216ab459cb87566f5
Reviewed-by: Gunnar Sletta <gunnar.sletta@jollamobile.com>
|
|
|
|
|
| |
Change-Id: I13922fb3367ab1ac427e3b874147fbfcaa45227b
Reviewed-by: Gunnar Sletta <gunnar.sletta@jollamobile.com>
|
|
|
|
|
| |
Change-Id: Iee2ff60e9f3c6509cb16ab7410fbe994ee0c5256
Reviewed-by: Gunnar Sletta <gunnar.sletta@jollamobile.com>
|
|
|
|
|
| |
Change-Id: Icb790c13ed37af2c1191078ec7ebafef818fcd69
Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
|
|
|
|
|
| |
Change-Id: I77e87c35f24707bbf2a6beeeb1cd4e925886c975
Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
|
|
|
|
|
| |
Change-Id: I450f0b6eb77e9fcc462a4f1f35033aba9324b3f9
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
|
|
|
|
|
|
|
|
| |
Contacts and licenses updated using replace_copyrights_contacts.sh and
licence_tag_adder.sh from mkdist repo.
Change-Id: Icc9aabf4701363da94fe4b04eaeca1b657f422f1
Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The shapes plugin provies three element types.
1. TriangleSet - which encapsulates a set of triangles
including read/save logic to a very basic textual
format. Binary can of course be added later... It
also contains a set of path commands and uses Qt's
triangulator internally to convert a path into
triangles.
2. Polygon - Renders a flat shaded triangle set.
3. MaskedImage - Reads two triangle sets in addition
to an image and splits the image into a opaque and
blended part, making it possible to greatly reduce
the blending needed for drawing large bitmaps which are
largely opaque.
There is also a maskmaker tool in the tools subdirectory
which provides a simple means of generating masks for the
MaskedImage
Change-Id: Ia00f059fb81872e6ca1dca78baf3073c9581acab
Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Replaced old Nokia copyrights with Digia copyrights.
"All rights reserved" strings without leading copyrights were
removed (for example, 'Copyright SomeCompany, all rights reserved
remain untouched).
Did NOT touch contact details, will change them later.
Excluded folders that have '3rdparty' in path.
Used command:
find . -path '*/3rdparty/*' -prune -o
-exec grep -ilI -E '.*Copyright.*Nokia.*' {} \; |
tee >(xargs sed -i -r '1,10 s/([ \t#*]*)(.*Copyright.*Nokia.*)/
\1Copyright \(C\) 2013 Digia Plc and\/or its subsidiary\(-ies\)\./I')
>(xargs sed -i -r '1,10 s/(^[ \t#*]*)(all rights reserved.*)/\1/I')
This excludes binary files and retains whitespace and #* characters in
the beginning of the edited lines.
Change-Id: Ied5eec778f0884c55c656575544d8ea54c38c716
Reviewed-by: Janne Anttila <janne.anttila@digia.com>
Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
|
|
|
|
|
|
|
|
|
| |
Updated licenses using replace-licenses.zsh from mkdist repo.
Possible copyright and contact changes will come later.
Change-Id: Ib44456d2dce2f9104ebf526894015a965dbe91a9
Reviewed-by: Janne Anttila <janne.anttila@digia.com>
Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
|
|
|
|
|
| |
Change-Id: Ie4b17b971fe83daf5eaa5ceb1741710e0c27aa33
Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There was an error in the following example situation:
1. We have a batch with 3 elements
2. element 1 is added to the batch
3. element 2 has an overlap, and is *not* added to the batch
4. element 3 and element 2 overlap, but element 3
is still added to the batch
5. element 2 is added to a later batch by itself, and incorrectly
appears on top of element 3
Change-Id: I103c1a4ca2666514993bd79eb2c5cbd54f4acb5d
Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
|
|
|
|
|
|
|
|
| |
This requires that the symbol is exported from declarative
but on embedded that is usually not needed.
Change-Id: Ie73bb67c569a70f2252dd8ca1e8de1baa0f1bab6
Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
|
|
|
|
|
| |
Change-Id: Idaaf4b402dd618c861e2cf48f1e6f31600d45297
Reviewed-by: aavit <eirik.aavitsland@digia.com>
|
|
|
|
|
| |
Change-Id: I46b542ba64ab74b75bce014acc2a941d84fd95d4
Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
|
|
|
|
|
|
|
|
| |
This allows the cost to be payed once at startup, rather than
on the first frame of each renderer.
Change-Id: Ibcd0e2a3f15bf121ba139a7ac19b0df490116b0c
Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
|
|
|
|
|
|
|
|
| |
On some hardware this performs better than the default
uploadBGRA path.
Change-Id: Iccef6b7c563caffb6efb1fed3a50adbc31bf16bf
Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Rename small/large atlas to primary/secondary atlas. This makes it
more intuitive in the case of the primary atlas being the same
size or larger than the secondary one.
Allow the primary atlas to be preloaded.
Change-Id: I6acb466c9c351558b7ecc49cdbc76af36802ad69
Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
|
|
|
|
|
| |
Change-Id: I362703f1357da9db98d4af3ba166fe856eebfd11
Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
|
|
|
|
|
|
|
| |
Small images will be atlased; large ones will not be preserved.
Change-Id: Ia521e849e22068fef42ad3d0db7f57c22953818a
Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Provide a texture factory that does not keep a reference to the
QImage. This is intended to lower memory usage in the case of an
embedded system with only a single window that is never hidden or
re-exposed.
See also 8b50a9f00f6f5b693d18c59ff15968e2b902ebf8 in qtdeclarative.
Change-Id: If0a11f6bb37f4fb3b409a577609ebdfce73789b2
Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
|