Bug 21981 - [CAIRO] optimize GC::strokePath for stroke color's
: [CAIRO] optimize GC::strokePath for stroke color's
Product: WebKit
Classification: Unclassified
Component: WebKit Gtk
: 528+ (Nightly build)
: PC All
: P2 Normal
Assigned To: Nobody
: Cairo
Depends on:
  Show dependency treegraph
Reported: 2008-10-30 12:33 PDT by Dirk Schulze
Modified: 2008-12-14 06:50 PST (History)
1 user (show)

See Also:

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.