Changeset 122288 in webkit


Ignore:
Timestamp:
Jul 10, 2012 7:21:50 PM (12 years ago)
Author:
noam.rosenthal@nokia.com
Message:

[Qt] Enable antialiasing for TextureMapper
https://bugs.webkit.org/show_bug.cgi?id=90915

Reviewed by Martin Robinson.

Enable the new antialiasing functionality for WebLayerTreeRendering.
This will make one-tile layers antialiased when using UI_SIDE_COMPOSITING.

  • UIProcess/WebLayerTreeRenderer.cpp:

(WebKit::WebLayerTreeRenderer::ensureRootLayer):

Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r122280 r122288  
     12012-07-10  No'am Rosenthal  <noam.rosenthal@nokia.com>
     2
     3        [Qt] Enable antialiasing for TextureMapper
     4        https://bugs.webkit.org/show_bug.cgi?id=90915
     5
     6        Reviewed by Martin Robinson.
     7
     8        Enable the new antialiasing functionality for WebLayerTreeRendering.
     9        This will make one-tile layers antialiased when using UI_SIDE_COMPOSITING.
     10
     11        * UIProcess/WebLayerTreeRenderer.cpp:
     12        (WebKit::WebLayerTreeRenderer::ensureRootLayer):
     13
    1142012-07-10  Adam Barth  <abarth@webkit.org>
    215
  • trunk/Source/WebKit2/UIProcess/WebLayerTreeRenderer.cpp

    r121221 r122288  
    415415    if (m_rootLayer)
    416416        return;
    417     if (!m_textureMapper)
     417    if (!m_textureMapper) {
    418418        m_textureMapper = TextureMapper::create(TextureMapper::OpenGLMode);
     419        static_cast<TextureMapperGL*>(m_textureMapper.get())->setEnableEdgeDistanceAntialiasing(true);
     420    }
    419421
    420422    m_rootLayer = createLayer(InvalidWebLayerID);
Note: See TracChangeset for help on using the changeset viewer.