RESOLVED INVALID 23425
Clean up setShouldAntialias/setUseAntialiasing on GraphicsContext
https://bugs.webkit.org/show_bug.cgi?id=23425
Summary Clean up setShouldAntialias/setUseAntialiasing on GraphicsContext
Simon Fraser (smfr)
Reported 2009-01-19 16:58:52 PST
The patch for bug 16182 added GraphicsContext::setUseAntialiasing(). However, GraphicsContexet already has: void setShouldAntialias(bool); bool shouldAntialias() const; so now we have 2 antialiasing methods. This needs cleaning up.
Attachments
Rob Buis
Comment 1 2009-01-19 23:40:13 PST
Hi Simon, (In reply to comment #0) > The patch for bug 16182 added GraphicsContext::setUseAntialiasing(). However, > GraphicsContexet already has: > > void setShouldAntialias(bool); > bool shouldAntialias() const; > > so now we have 2 antialiasing methods. This needs cleaning up. Ok, I'll have a look tonight. Cheers, Rob.
Rob Buis
Comment 2 2009-01-20 12:55:36 PST
Hi Simon, (In reply to comment #0) > The patch for bug 16182 added GraphicsContext::setUseAntialiasing(). However, > GraphicsContexet already has: > > void setShouldAntialias(bool); > bool shouldAntialias() const; > > so now we have 2 antialiasing methods. This needs cleaning up. Now that I looked at it, setUseAntialiasing is gone! It was removed in the same patch that added setShouldAntialias .Also the shape-rendering.svg test still works fine, so I think this report can be closed. Cheers, Rob. PS: I do see setUseAntialiasing mentioned in WebCore/WebCore.order, but I am not sure in what context that is important?
Darin Adler
Comment 3 2009-01-20 12:59:44 PST
(In reply to comment #2) > PS: I do see setUseAntialiasing mentioned in WebCore/WebCore.order, but I am > not sure in what context that is important? That’s a file used to optimize performance on Mac OS X that has to be regenerated from time to time by actually testing some usage scenarios. It’s quite out of date at the moment. There’s no harm in having it mention a function that doesn’t exist.
Simon Fraser (smfr)
Comment 4 2009-01-20 13:01:29 PST
OK, sorry about filing this. I was confused by a conflict I had with some local changes. I think we're all good.
Note You need to log in before you can comment on or make changes to this bug.