Title: [120532] trunk/Source/WebCore
Revision
120532
Author
[email protected]
Date
2012-06-16 15:17:04 -0700 (Sat, 16 Jun 2012)

Log Message

[Texmap] Remove unused code in Texmap.
https://bugs.webkit.org/show_bug.cgi?id=89265

Patch by Huang Dongsung <[email protected]> on 2012-06-16
Reviewed by Noam Rosenthal.

* platform/graphics/texmap/GraphicsLayerTextureMapper.cpp:
(WebCore::GraphicsLayerTextureMapper::didSynchronize):
* platform/graphics/texmap/GraphicsLayerTextureMapper.h:
(GraphicsLayerTextureMapper):
* platform/graphics/texmap/TextureMapperLayer.cpp:
(WebCore::TextureMapperLayer::syncCompositingState):
* platform/graphics/texmap/TextureMapperLayer.h:
(TextureMapperLayer):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (120531 => 120532)


--- trunk/Source/WebCore/ChangeLog	2012-06-16 22:10:13 UTC (rev 120531)
+++ trunk/Source/WebCore/ChangeLog	2012-06-16 22:17:04 UTC (rev 120532)
@@ -1,3 +1,19 @@
+2012-06-16  Huang Dongsung  <[email protected]>
+
+        [Texmap] Remove unused code in Texmap.
+        https://bugs.webkit.org/show_bug.cgi?id=89265
+
+        Reviewed by Noam Rosenthal.
+
+        * platform/graphics/texmap/GraphicsLayerTextureMapper.cpp:
+        (WebCore::GraphicsLayerTextureMapper::didSynchronize):
+        * platform/graphics/texmap/GraphicsLayerTextureMapper.h:
+        (GraphicsLayerTextureMapper):
+        * platform/graphics/texmap/TextureMapperLayer.cpp:
+        (WebCore::TextureMapperLayer::syncCompositingState):
+        * platform/graphics/texmap/TextureMapperLayer.h:
+        (TextureMapperLayer):
+
 2012-06-16  Igor Oliveira  <[email protected]>
 
         [TexmapGL] Reduce the number of glTexSubImage2D calls

Modified: trunk/Source/WebCore/platform/graphics/texmap/GraphicsLayerTextureMapper.cpp (120531 => 120532)


--- trunk/Source/WebCore/platform/graphics/texmap/GraphicsLayerTextureMapper.cpp	2012-06-16 22:10:13 UTC (rev 120531)
+++ trunk/Source/WebCore/platform/graphics/texmap/GraphicsLayerTextureMapper.cpp	2012-06-16 22:17:04 UTC (rev 120532)
@@ -52,7 +52,6 @@
 
 void GraphicsLayerTextureMapper::didSynchronize()
 {
-    m_syncQueued = false;
     m_changeMask = 0;
     m_needsDisplay = false;
     m_needsDisplayRect = IntRect();

Modified: trunk/Source/WebCore/platform/graphics/texmap/GraphicsLayerTextureMapper.h (120531 => 120532)


--- trunk/Source/WebCore/platform/graphics/texmap/GraphicsLayerTextureMapper.h	2012-06-16 22:10:13 UTC (rev 120531)
+++ trunk/Source/WebCore/platform/graphics/texmap/GraphicsLayerTextureMapper.h	2012-06-16 22:17:04 UTC (rev 120532)
@@ -105,7 +105,6 @@
     OwnPtr<TextureMapperLayer> m_layer;
     RefPtr<TextureMapperBackingStore> m_compositedImage;
     RefPtr<Image> m_image;
-    bool m_syncQueued;
     int m_changeMask;
     bool m_needsDisplay;
     bool m_fixedToViewport;

Modified: trunk/Source/WebCore/platform/graphics/texmap/TextureMapperLayer.cpp (120531 => 120532)


--- trunk/Source/WebCore/platform/graphics/texmap/TextureMapperLayer.cpp	2012-06-16 22:10:13 UTC (rev 120531)
+++ trunk/Source/WebCore/platform/graphics/texmap/TextureMapperLayer.cpp	2012-06-16 22:17:04 UTC (rev 120532)
@@ -510,14 +510,6 @@
         setOpacity(m_state.opacity);
 }
 
-void TextureMapperLayer::syncAnimationsRecursively()
-{
-    syncAnimations();
-
-    for (int i = m_children.size() - 1; i >= 0; --i)
-        m_children[i]->syncAnimationsRecursively();
-}
-
 void TextureMapperLayer::syncCompositingState(GraphicsLayerTextureMapper* graphicsLayer, TextureMapper* textureMapper, int options)
 {
     if (!textureMapper)

Modified: trunk/Source/WebCore/platform/graphics/texmap/TextureMapperLayer.h (120531 => 120532)


--- trunk/Source/WebCore/platform/graphics/texmap/TextureMapperLayer.h	2012-06-16 22:10:13 UTC (rev 120531)
+++ trunk/Source/WebCore/platform/graphics/texmap/TextureMapperLayer.h	2012-06-16 22:17:04 UTC (rev 120532)
@@ -113,7 +113,6 @@
 
     void syncCompositingState(GraphicsLayerTextureMapper*, int syncOptions = 0);
     void syncCompositingState(GraphicsLayerTextureMapper*, TextureMapper*, int syncOptions = 0);
-    void syncAnimationsRecursively();
     IntSize size() const { return IntSize(m_size.width(), m_size.height()); }
     void setTransform(const TransformationMatrix&);
     void setOpacity(float value) { m_opacity = value; }
@@ -128,7 +127,6 @@
     void clearBackingStoresRecursive();
 
     void setScrollPositionDeltaIfNeeded(const IntPoint&);
-    void setFixedToViewport(bool fixed) { m_fixedToViewport = fixed; }
 
     void setDebugBorder(const Color&, float width);
 
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to