WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
97212
[Qt] Don't render at scale 1.0 when doing a pinch unzoom
https://bugs.webkit.org/show_bug.cgi?id=97212
Summary
[Qt] Don't render at scale 1.0 when doing a pinch unzoom
Jocelyn Turcotte
Reported
2012-09-20 07:44:59 PDT
[Qt] Don't render at scale 1.0 when doing a pinch unzoom
Attachments
Patch
(3.35 KB, patch)
2012-09-20 07:49 PDT
,
Jocelyn Turcotte
no flags
Details
Formatted Diff
Diff
Patch
(3.22 KB, patch)
2012-09-20 09:34 PDT
,
Jocelyn Turcotte
no flags
Details
Formatted Diff
Diff
Patch
(3.22 KB, patch)
2012-09-25 06:12 PDT
,
Jocelyn Turcotte
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Kenneth Rohde Christiansen
Comment 1
2012-09-20 07:45:35 PDT
What is an unzoom?
Jocelyn Turcotte
Comment 2
2012-09-20 07:49:11 PDT
Created
attachment 164917
[details]
Patch
Kenneth Rohde Christiansen
Comment 3
2012-09-20 07:52:31 PDT
Comment on
attachment 164917
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=164917&action=review
> Source/WebKit2/ChangeLog:13 > + This creates a couple of issues: > + - Create extra rendering when the user starts pinching that is bound to the > + page size and can be considerably big, reducing performance and peaking tile > + memory usage. > + - Request a new visible rect for each pinch update which in turn update all fixed layers. > +
So why update at all states? Wont that make pinch zoom slow?
Andras Becsi
Comment 4
2012-09-20 08:00:36 PDT
Comment on
attachment 164917
[details]
Patch LGTM. Although other approaches to fix the mentioned tiling artifacts might increase the needed complexity considerably, this needs to be explored further but I think it is not high priority for Qt5.
Jocelyn Turcotte
Comment 5
2012-09-20 08:54:39 PDT
(In reply to
comment #3
)
> (From update of
attachment 164917
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=164917&action=review
> > > Source/WebKit2/ChangeLog:13 > > + This creates a couple of issues: > > + - Create extra rendering when the user starts pinching that is bound to the > > + page size and can be considerably big, reducing performance and peaking tile > > + memory usage. > > + - Request a new visible rect for each pinch update which in turn update all fixed layers. > > + > > So why update at all states? Wont that make pinch zoom slow?
Humm I'll remove that comment, it's misleading. The problem is that we request a new visible rect but always with a 1.0 scale. For some reason that would relayout fixed layers, that might be the intended behavior for some other port. This could be fixed easily but this patch rather reverts it for the first reason.
Jocelyn Turcotte
Comment 6
2012-09-20 09:34:39 PDT
Created
attachment 164932
[details]
Patch Update the ChangeLog
Kenneth Rohde Christiansen
Comment 7
2012-09-20 23:30:39 PDT
Comment on
attachment 164932
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=164932&action=review
> Source/WebKit2/UIProcess/qt/PageViewportControllerClientQt.cpp:110 > + // are rendered at the final destination while we perform the animation.
during the animation?
Jocelyn Turcotte
Comment 8
2012-09-25 06:12:33 PDT
Created
attachment 165596
[details]
Patch Patch to commit
WebKit Review Bot
Comment 9
2012-09-25 06:33:04 PDT
Comment on
attachment 165596
[details]
Patch Clearing flags on attachment: 165596 Committed
r129497
: <
http://trac.webkit.org/changeset/129497
>
WebKit Review Bot
Comment 10
2012-09-25 06:33:08 PDT
All reviewed patches have been landed. Closing bug.
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