Commit b6bf63c3 authored by Arvid Nilsson's avatar Arvid Nilsson Committed by The Qt Project
Browse files

Fix broken experimental.viewport.devicePixelRatio


The experimental.viewport.devicePixelRatio should be applied in
addition to any native devicePixelRatio inherent in the window system
or GUI framework.

This patch updates RenderWidgetHostViewQt::OnSwapCompositorFrame to
match the implementation of RenderWidgetHostViewQt::GetScreenInfo and
take the dpiScale (experimental.viewport.devicePixelRatio) into
account.

Change-Id: Ieadd9fbc73d937d5b5a318091c1157b281bd23c9
Reviewed-by: default avatarJocelyn Turcotte <jocelyn.turcotte@digia.com>
parent 7c1b3d6e
Showing with 8 additions and 0 deletions
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment