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

Description Ariya Hidayat 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.
Comment 1 Ariya Hidayat 2010-02-22 18:08:16 PST
Created attachment 49251 [details]
patch
Comment 2 Ariya Hidayat 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>
Comment 3 Ariya Hidayat 2010-02-23 06:17:51 PST
All reviewed patches have been landed.  Closing bug.