[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:34:45 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=57768
--- Comment #17 from Stephen White <senorblanco at chromium.org> 2011-04-07 14:34:45 PST ---
(In reply to comment #14)
> (In reply to comment #12)
> > (From update of attachment 88657 [details] [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?
>
> This will break the tests running with in-process gl.
I think the reason they failed before was that I was relying on the FBO textures being cleared automatically in the in-process version (in the same way they were in the command buffers).
If we call glClear() the first time the DrawingBuffer is bound, these tests should pass.
--
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