CanvasRenderingContext2D::drawTextInternal forces use of an accelerated mask buffer if USE(IOSURFACE_CANVAS_BACKING_STORE) is on, but this is wrong, as we can decide (or be forced by a setting) to fall *out* of accelerated mode. We should instead check with the canvas and use GraphicsContext::createCompatibleBuffer.
Created attachment 183618 [details] patch
Comment on attachment 183618 [details] patch That '1' is pretty mysterious.
Comment on attachment 183618 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=183618&action=review > Source/WebCore/html/canvas/CanvasRenderingContext2D.cpp:2299 > + OwnPtr<ImageBuffer> maskImage = c->createCompatibleBuffer(maskRect.size(), 1); I filed https://bugs.webkit.org/show_bug.cgi?id=107385 about that, but it also defaults to true so I'm gonna remove it from this line while landing.
http://trac.webkit.org/changeset/140263