WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
50070
Don't do GraphicsContext save/restore just to preserve the CompositeOperator
https://bugs.webkit.org/show_bug.cgi?id=50070
Summary
Don't do GraphicsContext save/restore just to preserve the CompositeOperator
Andreas Kling
Reported
2010-11-25 04:57:30 PST
We currently put GraphicsContext::save()/restore() pairs around calls to GraphicsContext::setCompositeOperation() This can be avoided by adding a GraphicsContext::compositeOperation() and simply resetting that after doing some paint operations (that don't taint the context.)
Attachments
Proposed patch
(14.54 KB, patch)
2010-11-25 05:12 PST
,
Andreas Kling
eric
: review+
webkit.review.bot
: commit-queue-
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Andreas Kling
Comment 1
2010-11-25 05:12:01 PST
Created
attachment 74862
[details]
Proposed patch
Eric Seidel (no email)
Comment 2
2010-12-10 02:40:33 PST
Comment on
attachment 74862
[details]
Proposed patch Seems OK. Do you notice any real performance increase here?
WebKit Review Bot
Comment 3
2010-12-10 02:45:36 PST
Comment on
attachment 74862
[details]
Proposed patch Rejecting
attachment 74862
[details]
from commit-queue. Failed to run "['./WebKitTools/Scripts/webkit-patch', '--status-host=queues.webkit.org', '--bot-id=abarth-cq-sl', 'apply-attachment', '--non-interactive', 74862]" exit_code: 2 Last 500 characters of output: led to merge in the changes. Patch failed at 0001 [Qt] Make sure we send the response before any data. When you have resolved this problem run "git rebase --continue". If you would prefer to skip this patch, instead run "git rebase --skip". To restore the original branch and stop rebasing run "git rebase --abort". rebase refs/remotes/origin/master: command returned error: 1 Died at WebKitTools/Scripts/update-webkit line 132. Failed to run "['WebKitTools/Scripts/update-webkit']" exit_code: 2 Full output:
http://queues.webkit.org/results/6889030
Andreas Kling
Comment 4
2010-12-10 02:51:11 PST
(In reply to
comment #2
)
> (From update of
attachment 74862
[details]
) > Seems OK. Do you notice any real performance increase here?
I do for Qt at least (haven't perf-tested other ports), our save/restore operations are very expensive. Thanks for reviewing :)
Andreas Kling
Comment 5
2010-12-10 03:09:02 PST
(In reply to
comment #3
)
> (From update of
attachment 74862
[details]
) > Rejecting
attachment 74862
[details]
from commit-queue.
I'll land this manually after
bug 49914
goes in.
Andreas Kling
Comment 6
2010-12-10 08:05:51 PST
Committed
r73729
: <
http://trac.webkit.org/changeset/73729
>
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