diff options
author | Laszlo Agocs <laszlo.agocs@theqtcompany.com> | 2016-03-17 15:33:56 +0100 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@theqtcompany.com> | 2016-03-18 10:43:02 +0000 |
commit | 9b6f8bfb5167448ee4c18549c20457ee3b4f510d (patch) | |
tree | d11c23e60addbd539ac55f4acb5b04e8c387e942 /tests/manual/nodetypes | |
parent | 5c702c8fe11ff83c295c5c10317765a6ec969b8d (diff) |
D3D12: Complete non-styled text support
Support for ARGB and A8 font engine formats is now available.
We once again need changes to the texture upload logic: we now allow
calling queueTextureUpload() for the same texture before the uploads
initiated by the previous call have finished. For mipmapped textures the
limitation remains in place. The texture glyph caches are non-mipmapped
and can have multiple begin-endFillTexture sequences within one frame.
Texture and thus glyph caches are now resizable, using the copy queue to
copy the old contents.
Change-Id: Ib81e0230b3a45a4948853497f7dbf236617fcd25
Reviewed-by: Andy Nichols <andy.nichols@theqtcompany.com>
Diffstat (limited to 'tests/manual/nodetypes')
-rw-r--r-- | tests/manual/nodetypes/Text.qml | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/tests/manual/nodetypes/Text.qml b/tests/manual/nodetypes/Text.qml index 4edfc854bc..573bf4c959 100644 --- a/tests/manual/nodetypes/Text.qml +++ b/tests/manual/nodetypes/Text.qml @@ -42,7 +42,20 @@ import QtQuick 2.0 Item { Text { - anchors.centerIn: parent + anchors.top: parent.top text: "árvíztűrő tükörfúrógép\nÁRVÍZTŰRŐ TÜKÖRFÚRÓGÉP" } + Text { + anchors.bottom: parent.bottom + text: "the quick brown fox jumps over the lazy dog\nTHE QUICK BROWN FOX JUMPS OVER THE LAZY DOG" + color: "red" + } + Text { + anchors.centerIn: parent + text: "rotate rotate rotate" + font.bold: true + font.pointSize: 20 + color: "green" + NumberAnimation on rotation { from: 0; to: 360; duration: 2000; loops: Animation.Infinite; } + } } |