Bug 124453 - [Win] Optimization, no need to erase background before paint.
Summary: [Win] Optimization, no need to erase background before paint.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-16 02:42 PST by peavo
Modified: 2013-11-18 10:43 PST (History)
2 users (show)

See Also:


Attachments
Patch (1.56 KB, patch)
2013-11-16 02:46 PST, peavo
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description peavo 2013-11-16 02:42:43 PST
As the paint will blit a bitmap onto the invalid area (no alpha), there is no need to erase the background first, as this will be overwritten by the blit.
Comment 1 peavo 2013-11-16 02:46:13 PST
Created attachment 217124 [details]
Patch
Comment 2 Brent Fulgham 2013-11-18 10:18:56 PST
Comment on attachment 217124 [details]
Patch

r=me. Keep a watch on test bots in case there's some edge case we missed.
Comment 3 WebKit Commit Bot 2013-11-18 10:43:50 PST
Comment on attachment 217124 [details]
Patch

Clearing flags on attachment: 217124

Committed r159436: <http://trac.webkit.org/changeset/159436>
Comment 4 WebKit Commit Bot 2013-11-18 10:43:52 PST
All reviewed patches have been landed.  Closing bug.