Bug 35267

Summary: [Qt] Faster cut-off for rectangle drawing without shadow
Product: WebKit Reporter: Ariya Hidayat <ariya.hidayat>
Component: Layout and RenderingAssignee: Ariya Hidayat <ariya.hidayat>
Status: RESOLVED FIXED    
Severity: Normal Keywords: Qt
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Other   
OS: All   
Attachments:
Description Flags
patch none

Ariya Hidayat
Reported 2010-02-22 15:44:16 PST
GraphicsContext::drawRect always checks and allocates some local variables for the shadow properties. Since most of the cases, we have rectangle drawing without shadow, we should have a faster code path for the common case. Will upload a patch.
Attachments
patch (1.86 KB, patch)
2010-02-22 18:08 PST, Ariya Hidayat
no flags
Ariya Hidayat
Comment 1 2010-02-22 18:08:16 PST
Ariya Hidayat
Comment 2 2010-02-23 06:17:46 PST
Comment on attachment 49251 [details] patch Clearing flags on attachment: 49251 Committed r55148: <http://trac.webkit.org/changeset/55148>
Ariya Hidayat
Comment 3 2010-02-23 06:17:51 PST
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.