diff options
author | Lionel CHAZALLON <longchair@hotmail.com> | 2018-03-08 07:37:36 +0100 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@qt.io> | 2018-04-04 06:37:36 +0000 |
commit | ddfd744d83344fe694f162baca68154c43448d21 (patch) | |
tree | 1f6b22b24f3f3db00918a210e79083569df07a5a /src/plugins/platforms/android/qandroidassetsfileenginehandler.h | |
parent | b60b2c5fc5f015192e73f5471eb28ba83b99cc56 (diff) |
eglfs/kms: Add framebuffer scaling ability with KMS atomic
This commit will add the possibility to have a different sizes between
framebuffer and videomode using DRM atomic, which is not possible with
DRM legacy.
The main goal of this change is to allow to get decent performance on
embedded devices which can support high resolution display (ie UHD),
and which don't have a GPU able to achieve decent framerate in such
resolutions.
This patch adds a "size" member to the output configuration in KMS
configuration file. The GBM framebuffer will be created with that
size and the GBM screen will report that size so that EGLFS can do
everything normally.
Scaling planes with different size than the video mode size is not
something supported consistently with DRM legacy, so that feature
will be only available when using the DRM atomic API.
This was tested on Rock64 device, both with drm legacy and atomic.
Change-Id: I8ba5bae35e61fcb7d9fc58234504bdfd647b43f6
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Reviewed-by: Lionel CHAZALLON <longchair@hotmail.com>
Diffstat (limited to 'src/plugins/platforms/android/qandroidassetsfileenginehandler.h')
0 files changed, 0 insertions, 0 deletions