WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
107372
CanvasRenderingContext2D::drawTextInternal should create a mask buffer compatible with that of the canvas
https://bugs.webkit.org/show_bug.cgi?id=107372
Summary
CanvasRenderingContext2D::drawTextInternal should create a mask buffer compat...
Tim Horton
Reported
2013-01-19 03:50:10 PST
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.
Attachments
patch
(1.90 KB, patch)
2013-01-19 03:53 PST
,
Tim Horton
simon.fraser
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Tim Horton
Comment 1
2013-01-19 03:53:02 PST
Created
attachment 183618
[details]
patch
Simon Fraser (smfr)
Comment 2
2013-01-19 11:04:20 PST
Comment on
attachment 183618
[details]
patch That '1' is pretty mysterious.
Tim Horton
Comment 3
2013-01-19 16:58:19 PST
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.
Tim Horton
Comment 4
2013-01-19 17:02:10 PST
http://trac.webkit.org/changeset/140263
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug