Title: [206907] trunk/Source/WebCore
- Revision
- 206907
- Author
- [email protected]
- Date
- 2016-10-07 04:45:22 -0700 (Fri, 07 Oct 2016)
Log 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.
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (206906 => 206907)
--- trunk/Source/WebCore/ChangeLog 2016-10-07 09:28:27 UTC (rev 206906)
+++ trunk/Source/WebCore/ChangeLog 2016-10-07 11:45:22 UTC (rev 206907)
@@ -1,3 +1,17 @@
+2016-10-07 Gwang Yoon Hwang <[email protected]>
+
+ [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.
+
2016-10-07 Fujii Hironori <[email protected]>
Use 'use lib $FindBin::Bin' to append Perl module include path
Modified: trunk/Source/WebCore/platform/graphics/cairo/ImageBufferCairo.cpp (206906 => 206907)
--- trunk/Source/WebCore/platform/graphics/cairo/ImageBufferCairo.cpp 2016-10-07 09:28:27 UTC (rev 206906)
+++ trunk/Source/WebCore/platform/graphics/cairo/ImageBufferCairo.cpp 2016-10-07 11:45:22 UTC (rev 206907)
@@ -74,12 +74,15 @@
, m_renderingMode(renderingMode)
#if ENABLE(ACCELERATED_2D_CANVAS)
#if USE(COORDINATED_GRAPHICS_THREADED)
- , m_platformLayerProxy(adoptRef(new TextureMapperPlatformLayerProxy))
, m_compositorTexture(0)
#endif
, m_texture(0)
#endif
{
+#if ENABLE(ACCELERATED_2D_CANVAS) && USE(COORDINATED_GRAPHICS_THREADED)
+ if (m_renderingMode == RenderingMode::Accelerated)
+ m_platformLayerProxy = adoptRef(new TextureMapperPlatformLayerProxy);
+#endif
}
ImageBufferData::~ImageBufferData()
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes