[Webkit-unassigned] [Bug 57768] Accelerated Canvas2D path failing when constructing large canvases.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Apr 7 14:29:36 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=57768
--- Comment #15 from Zhenyao Mo <zmo at google.com> 2011-04-07 14:29:36 PST ---
(In reply to comment #12)
> (From update of attachment 88657 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=88657&action=review
>
> > Source/WebCore/platform/graphics/gpu/DrawingBuffer.cpp:205
> > + m_context->texImage2DResourceSafeNoClear(GraphicsContext3D::TEXTURE_2D, 0, internalColorFormat, m_size.width(), m_size.height(), 0, colorFormat, GraphicsContext3D::UNSIGNED_BYTE);
>
> I would like to change this call to a simple texImage2D with a NULL data parameter. Can someone please confirm if this will work?
Also, it would be more efficient to call texImage2DResourceSafeNoClear because if you pass texImage2D with NULL data to command buffer, it will definitely do the resource safe thing and clear.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list