Bug 21981 - [CAIRO] optimize GC::strokePath for stroke color's
: [CAIRO] optimize GC::strokePath for stroke color's
Status: RESOLVED FIXED
: WebKit
WebKit Gtk
: 528+ (Nightly build)
: PC All
: P2 Normal
Assigned To:
:
: Cairo
:
:
  Show dependency treegraph
 
Reported: 2008-10-30 12:33 PST by
Modified: 2008-12-14 06:50 PST (History)


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


Note

You need to log in before you can comment on or make changes to this bug.


------- Comment #1 From 2008-10-30 12:40:19 PST -------
Created an attachment (id=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 From 2008-12-14 06:50:34 PST -------
fixed in r39293.