Summary: | Restore WebGL's framebuffer binding after DrawingBuffer's prepareBackBuffer() | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Zhenyao Mo <zmo> | ||||||
Component: | WebGL | Assignee: | Zhenyao Mo <zmo> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | cc-bugs, gman, jamesr, kbr, twiz, webkit.review.bot | ||||||
Priority: | P2 | ||||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Attachments: |
|
Description
Zhenyao Mo
2012-05-21 11:19:42 PDT
Created attachment 143066 [details]
Patch
Please review. Once this lands and webkit rolls, I'll make sure to enable related webgl conformance tests in chromium immediately. Comment on attachment 143066 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=143066&action=review > Source/WebCore/platform/graphics/chromium/DrawingBufferChromium.cpp:138 > if (multisample()) > bind(); > + > + restoreFramebufferBinding(); Something here is clearly wrong. line 136 is binding m_multisampleFBO ? m_multisampleFBO : m_fbo. Line 138 is binding m_framebufferBinding. We should make up our mind and just bind one. Created attachment 143083 [details]
Patch
Revised, please have another look. Comment on attachment 143083 [details]
Patch
Thanks, that does look better.
Comment on attachment 143083 [details]
Patch
Looks fine to me too.
Committed r117814: <http://trac.webkit.org/changeset/117814> |