WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
36366
Repaint loop when painting using scaled CTMs with different translations
https://bugs.webkit.org/show_bug.cgi?id=36366
Summary
Repaint loop when painting using scaled CTMs with different translations
Antti Koivisto
Reported
2010-03-19 07:26:23 PDT
The code in RenderBoxModelScaleObserver::shouldPaintBackgroundAtLowQuality tests if the scaling has changed from the previous value by comparing the transformations: // We are scaled, but we painted already at this size, so just keep using whatever mode we last painted with. if ((!contextIsScaled || data->transform() == currentTransform) && data->size() == size) return data->useLowQualityScale(); This test fails if the scale is the same but the translation changes. This can lead to infinite repaint loop, if the document is painted in pieces using different translations (for example for tiling).
Attachments
patch
(2.02 KB, patch)
2010-03-19 07:56 PDT
,
Antti Koivisto
hausmann
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Antti Koivisto
Comment 1
2010-03-19 07:56:01 PDT
Created
attachment 51154
[details]
patch
Simon Hausmann
Comment 2
2010-03-19 08:26:46 PDT
Comment on
attachment 51154
[details]
patch Landing manually
Simon Hausmann
Comment 3
2010-03-19 08:28:29 PDT
Committed
r56239
: <
http://trac.webkit.org/changeset/56239
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug