Changeset 206907 in webkit


Ignore:
Timestamp:
Oct 7, 2016 4:45:22 AM (8 years ago)
Author:
yoon@igalia.com
Message:

[GTK] Remove unneeded creation of TextureMapperPlatformLayerProxy
https://bugs.webkit.org/show_bug.cgi?id=163101

Reviewed by Žan Doberšek.

Covered by existing tests.

  • platform/graphics/cairo/ImageBufferCairo.cpp:

(WebCore::ImageBufferData::ImageBufferData): Modified not to create
TextureMapperPlatformLayerProxy if it is not created for the
accelerated 2d canvas.

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r206904 r206907  
     12016-10-07  Gwang Yoon Hwang  <yoon@igalia.com>
     2
     3        [GTK] Remove unneeded creation of TextureMapperPlatformLayerProxy
     4        https://bugs.webkit.org/show_bug.cgi?id=163101
     5
     6        Reviewed by Žan Doberšek.
     7
     8        Covered by existing tests.
     9
     10        * platform/graphics/cairo/ImageBufferCairo.cpp:
     11        (WebCore::ImageBufferData::ImageBufferData): Modified not to create
     12        TextureMapperPlatformLayerProxy if it is not created for the
     13        accelerated 2d canvas.
     14
    1152016-10-07  Fujii Hironori  <Hironori.Fujii@sony.com>
    216
  • trunk/Source/WebCore/platform/graphics/cairo/ImageBufferCairo.cpp

    r206631 r206907  
    7575#if ENABLE(ACCELERATED_2D_CANVAS)
    7676#if USE(COORDINATED_GRAPHICS_THREADED)
    77     , m_platformLayerProxy(adoptRef(new TextureMapperPlatformLayerProxy))
    7877    , m_compositorTexture(0)
    7978#endif
     
    8180#endif
    8281{
     82#if ENABLE(ACCELERATED_2D_CANVAS) && USE(COORDINATED_GRAPHICS_THREADED)
     83    if (m_renderingMode == RenderingMode::Accelerated)
     84        m_platformLayerProxy = adoptRef(new TextureMapperPlatformLayerProxy);
     85#endif
    8386}
    8487
Note: See TracChangeset for help on using the changeset viewer.