Bug 21981 - [CAIRO] optimize GC::strokePath for stroke color's
Summary: [CAIRO] optimize GC::strokePath for stroke color's
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC All
: P2 Normal
Assignee: Nobody
URL:
Keywords: Cairo
Depends on:
Blocks:
 
Reported: 2008-10-30 12:33 PDT by Dirk Schulze
Modified: 2008-12-14 06:50 PST (History)
1 user (show)

See Also:


Attachments
strokeColor optimization (1.68 KB, patch)
2008-10-30 12:40 PDT, Dirk Schulze
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Schulze 2008-10-30 12:33:03 PDT
See: https://bugs.webkit.org/show_bug.cgi?id=21883#c8
Comment 1 Dirk Schulze 2008-10-30 12:40:19 PDT
Created attachment 24776 [details]
strokeColor optimization

To change setColor() on GraphicsContext is maybe counterproductive. We use setColor() 12 times and we only need it once to multiply the current alpha with the globalAlpha.
Comment 2 Dirk Schulze 2008-12-14 06:50:34 PST
fixed in r39293.