forked from WebKit/WebKit-http
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix ImageBufferQt scaling wrong for HiDPI environments
As per #461 - the scale was not applied to the source, resulting in the filter attempting to copy from unallocated memory. This adds similar implementation of scaling to the one from the ImageBufferCG changes in https://trac.webkit.org/changeset/168577/webkit ("-webkit-filter prevents rendering at retina scale") Also fixes putByteArray creating too small image, and adds proper scale to images. Change-Id: I39a38097ce017e9688db789478c292f37038abe3
- Loading branch information
Showing
4 changed files
with
55 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters