RESOLVED FIXED Bug 46239
[chromium] Check if the acceleratedCompositingEnabled setting is active in WebViewImpl::graphicsContext3D()
https://bugs.webkit.org/show_bug.cgi?id=46239
Summary [chromium] Check if the acceleratedCompositingEnabled setting is active in We...
James Robinson
Reported 2010-09-21 18:50:23 PDT
[chromium] Check if the acceleratedCompositingEnabled setting is active in WebViewImpl::graphicsContext3D()
Attachments
Patch (3.50 KB, patch)
2010-09-21 18:54 PDT, James Robinson
no flags
Patch (3.58 KB, patch)
2010-09-21 20:11 PDT, James Robinson
no flags
James Robinson
Comment 1 2010-09-21 18:54:29 PDT
Kenneth Russell
Comment 2 2010-09-21 19:00:03 PDT
Comment on attachment 68325 [details] Patch If I'm reading the diff correctly, you're missing a return statement if accelerated compositing isn't enabled for the page. The patch looks good otherwise, but r- for this serious issue.
Vangelis Kokkevis
Comment 3 2010-09-21 19:21:49 PDT
Comment on attachment 68325 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=68325&action=review > WebKit/chromium/src/WebViewImpl.cpp:2437 > + if (m_page->settings()->acceleratedCompositingEnabled()) { For good measure you could in addition also call allowsAcceleratedCompositing() which will return false if the compositor failed to initialize on this webview. This will prevent a page with multiple canvas' to continuously try to create a GL context and fail.
James Robinson
Comment 4 2010-09-21 20:03:37 PDT
(In reply to comment #2) > (From update of attachment 68325 [details]) > If I'm reading the diff correctly, you're missing a return statement if accelerated compositing isn't enabled for the page. The patch looks good otherwise, but r- for this serious issue. Oh snap, good catch. I really need to crank up the warning level for the chromium linux build. Will fix.
James Robinson
Comment 5 2010-09-21 20:11:19 PDT
Kenneth Russell
Comment 6 2010-09-21 21:47:24 PDT
Comment on attachment 68332 [details] Patch Looks good.
James Robinson
Comment 7 2010-09-21 22:53:26 PDT
Comment on attachment 68332 [details] Patch Clearing flags on attachment: 68332 Committed r68015: <http://trac.webkit.org/changeset/68015>
James Robinson
Comment 8 2010-09-21 22:53:30 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.