Details
-
Technical task
-
Resolution: Fixed
-
P2: Important
-
None
-
None
-
2023wk44FOQtforAndroid, 2023wk46FOQtforAndroid, 2023wk48FOQtforAndroid, 2023wk50FOQtforAndroid, 2023wk52FOQtforAndroid, 2024wk02FOQtforAndroid, 2024wk04FOQtforAndroid, 2024wk06FOQtforAndroid, 2024wk08FOQtforAndroid, 2024wk10FOQtforAndroid, 2024wk12FOQtforAndroid, 2024wk14FOQtforAndroid, 2024wk16FOQtforAndroid
-
cca81a663 (dev), 39401a645 (6.7)
Description
Qt for Android uses QtSurface, a SurfaceView subclass to get a Surface to render on, with one SurfaceView per window. However, due to how SurfaceView is implemented control over z-ordering between the windows is limited - they are stacked in the order in which the Surfaces are created. TextureView would offer more control over z-order, as well as have support for things like clipping, rotation and alpha.
Test drive using TextureView when child windows are present, while keeping the old SurfaceView approach for single top-level windows.
Attachments
For Gerrit Dashboard: QTBUG-118142 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
514230,12 | Android: Use TextureView when multiple windows present | dev | qt/qtbase | Status: MERGED | +2 | 0 |
525222,2 | Android: Use TextureView when multiple windows present | 6.7 | qt/qtbase | Status: MERGED | +2 | 0 |