WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
103673
Avoid painting lots of small rects in WebLayer painting
https://bugs.webkit.org/show_bug.cgi?id=103673
Summary
Avoid painting lots of small rects in WebLayer painting
Simon Fraser (smfr)
Reported
2012-11-29 15:01:24 PST
Avoid painting lots of small rects in WebLayer painting
Attachments
Patch
(3.62 KB, patch)
2012-11-29 15:07 PST
,
Simon Fraser (smfr)
thorton
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Simon Fraser (smfr)
Comment 1
2012-11-29 15:07:35 PST
Created
attachment 176826
[details]
Patch
Tim Horton
Comment 2
2012-11-29 15:11:02 PST
Comment on
attachment 176826
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=176826&action=review
> Source/WebCore/platform/graphics/mac/WebLayer.mm:106 > + const FloatRect& currRect = dirtyRects[i];
curr? :\
> Source/WebCore/platform/graphics/mac/WebLayer.mm:114 > + layerContents->platformCALayerPaintContents(graphicsContext, enclosingIntRect(clipBounds));
Shouldn't this be the union of the rects instead?
Simon Fraser (smfr)
Comment 3
2012-11-29 15:11:25 PST
<
rdar://problem/12773043
>
Simon Fraser (smfr)
Comment 4
2012-11-29 15:22:42 PST
http://trac.webkit.org/changeset/136174
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