2010-11-23 Jonathan Backer <backer@chromium.org>

        Reviewed by Kenneth Russell.

        Renderer is resizing IOSurfaces when accelerated compositing is disabled.
        https://bugs.webkit.org/show_bug.cgi?id=49827

        - IOSurfaces are only presented when accelerated compositing is enabled.
        - Slight performance increase (and clean-up for using this path for Linux and Windows).

        * src/WebViewImpl.cpp:
        (WebKit::WebViewImpl::resize):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72623 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent a77a7e69
2010-11-23 Jonathan Backer <backer@chromium.org>
Reviewed by Kenneth Russell.
Renderer is resizing IOSurfaces when accelerated compositing is disabled.
https://bugs.webkit.org/show_bug.cgi?id=49827
- IOSurfaces are only presented when accelerated compositing is enabled.
- Slight performance increase (and clean-up for using this path for Linux and Windows).
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::resize):
2010-11-23 Grace Kloba <klobag@chromium.org>
Reviewed by Kenneth Russell.
......
......@@ -937,7 +937,7 @@ void WebViewImpl::resize(const WebSize& newSize)
}
#if USE(ACCELERATED_COMPOSITING)
if (m_layerRenderer) {
if (m_layerRenderer && isAcceleratedCompositingActive()) {
m_layerRenderer->resizeOnscreenContent(IntSize(std::max(1, m_size.width),
std::max(1, m_size.height)));
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment