diff options
author | Rainer Keller <Rainer.Keller@qt.io> | 2017-09-19 08:47:03 +0200 |
---|---|---|
committer | Rainer Keller <Rainer.Keller@qt.io> | 2017-09-25 12:56:04 +0000 |
commit | bde42ffb8b3de541b0ced5b5f46eac6dc441dda7 (patch) | |
tree | 7f5f51640d00d32554caee0d24f496734a7e051d /src/gui/vulkan | |
parent | 292cb12e024e63f17c501611e021b6f8da7d6dcc (diff) |
Avoid window geometry jittering when changing geometry from JavaScript
The QML API allowed only separate setting of geometry parameters which
causes flickering when all parameters need to be changed.
By exposing the setGeometry function it is possible to set all of these
at once using an imperative setGeometry call from JavaScript.
Note that bindings for x/y/width/height are still evaluated
sequentially, resulting in four calls to the platform window's
setGeometry. This patch only introduces an imperative workaround for
that issue.
Change-Id: Ie9b0d3c39434740e50757ba7cff0385ae80f47f4
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/gui/vulkan')
0 files changed, 0 insertions, 0 deletions