Title: [132972] trunk/Source
Revision
132972
Author
[email protected]
Date
2012-10-30 18:39:45 -0700 (Tue, 30 Oct 2012)

Log Message

Coordinated Graphics: Remove unused methods
https://bugs.webkit.org/show_bug.cgi?id=100799

Patch by Jae Hyun Park <[email protected]> on 2012-10-30
Reviewed by Noam Rosenthal.

Currently, there are several unused methods regarding Coordinated
Graphics. This patch removes those unused methods.

Source/WebCore:

No new tests (No change in behavior).

* platform/graphics/texmap/TextureMapperGL.cpp:

Source/WebKit2:

* UIProcess/CoordinatedGraphics/LayerTreeCoordinatorProxy.h:
(LayerTreeCoordinatorProxy):
* UIProcess/DrawingAreaProxy.h:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (132971 => 132972)


--- trunk/Source/WebCore/ChangeLog	2012-10-31 01:37:51 UTC (rev 132971)
+++ trunk/Source/WebCore/ChangeLog	2012-10-31 01:39:45 UTC (rev 132972)
@@ -1,3 +1,17 @@
+2012-10-30  Jae Hyun Park  <[email protected]>
+
+        Coordinated Graphics: Remove unused methods
+        https://bugs.webkit.org/show_bug.cgi?id=100799
+
+        Reviewed by Noam Rosenthal.
+
+        Currently, there are several unused methods regarding Coordinated
+        Graphics. This patch removes those unused methods.
+
+        No new tests (No change in behavior).
+
+        * platform/graphics/texmap/TextureMapperGL.cpp:
+
 2012-10-30  Hans Muller  <[email protected]>
 
         [CSS Exclusions] Multiple segment polygon layout does not get all segments

Modified: trunk/Source/WebCore/platform/graphics/texmap/TextureMapperGL.cpp (132971 => 132972)


--- trunk/Source/WebCore/platform/graphics/texmap/TextureMapperGL.cpp	2012-10-31 01:37:51 UTC (rev 132971)
+++ trunk/Source/WebCore/platform/graphics/texmap/TextureMapperGL.cpp	2012-10-31 01:39:45 UTC (rev 132972)
@@ -33,10 +33,6 @@
 #include <wtf/PassRefPtr.h>
 #include <wtf/RefCounted.h>
 
-#if USE(GRAPHICS_SURFACE)
-#include "GraphicsSurface.h"
-#endif
-
 #if PLATFORM(QT)
 #include "NativeImageQt.h"
 #endif

Modified: trunk/Source/WebKit2/ChangeLog (132971 => 132972)


--- trunk/Source/WebKit2/ChangeLog	2012-10-31 01:37:51 UTC (rev 132971)
+++ trunk/Source/WebKit2/ChangeLog	2012-10-31 01:39:45 UTC (rev 132972)
@@ -1,3 +1,17 @@
+2012-10-30  Jae Hyun Park  <[email protected]>
+
+        Coordinated Graphics: Remove unused methods
+        https://bugs.webkit.org/show_bug.cgi?id=100799
+
+        Reviewed by Noam Rosenthal.
+
+        Currently, there are several unused methods regarding Coordinated
+        Graphics. This patch removes those unused methods.
+
+        * UIProcess/CoordinatedGraphics/LayerTreeCoordinatorProxy.h:
+        (LayerTreeCoordinatorProxy):
+        * UIProcess/DrawingAreaProxy.h:
+
 2012-10-30  Joseph Pecoraro  <[email protected]>
 
         [Mac] Sync up FeatureDefine Configuration Files

Modified: trunk/Source/WebKit2/UIProcess/CoordinatedGraphics/LayerTreeCoordinatorProxy.h (132971 => 132972)


--- trunk/Source/WebKit2/UIProcess/CoordinatedGraphics/LayerTreeCoordinatorProxy.h	2012-10-31 01:37:51 UTC (rev 132971)
+++ trunk/Source/WebKit2/UIProcess/CoordinatedGraphics/LayerTreeCoordinatorProxy.h	2012-10-31 01:39:45 UTC (rev 132972)
@@ -39,12 +39,6 @@
 #include <wtf/Functional.h>
 #include <wtf/HashSet.h>
 
-#if PLATFORM(QT)
-QT_BEGIN_NAMESPACE
-class QSGNode;
-QT_END_NAMESPACE
-#endif
-
 namespace WebKit {
 
 class WebLayerInfo;
@@ -62,8 +56,6 @@
 #endif
     void deleteCompositingLayer(WebLayerID);
     void setRootCompositingLayer(WebLayerID);
-    void didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageID, CoreIPC::MessageDecoder&);
-    void purgeGLResources();
     void setContentsSize(const WebCore::FloatSize&);
     void setVisibleContentsRect(const WebCore::FloatRect&, float scale, const WebCore::FloatPoint& trajectoryVector);
     void didRenderFrame(const WebCore::IntSize& contentsSize, const WebCore::IntRect& coveredRect);

Modified: trunk/Source/WebKit2/UIProcess/DrawingAreaProxy.h (132971 => 132972)


--- trunk/Source/WebKit2/UIProcess/DrawingAreaProxy.h	2012-10-31 01:37:51 UTC (rev 132971)
+++ trunk/Source/WebKit2/UIProcess/DrawingAreaProxy.h	2012-10-31 01:39:45 UTC (rev 132972)
@@ -35,14 +35,6 @@
 #include <stdint.h>
 #include <wtf/Noncopyable.h>
 
-#if PLATFORM(QT)
-QT_BEGIN_NAMESPACE
-class QPainter;
-QT_END_NAMESPACE
-#elif PLATFORM(GTK)
-typedef struct _cairo cairo_t;
-#endif
-
 namespace CoreIPC {
     class Connection;
     class MessageDecoder;
@@ -94,12 +86,8 @@
     virtual void updateViewport();
     virtual WebCore::IntRect viewportVisibleRect() const { return contentsRect(); }
     virtual WebCore::IntRect contentsRect() const;
-    virtual bool isBackingStoreReady() const { return true; }
     LayerTreeCoordinatorProxy* layerTreeCoordinatorProxy() const { return m_layerTreeCoordinatorProxy.get(); }
     virtual void setVisibleContentsRect(const WebCore::FloatRect& /* visibleContentsRect */, float /* scale */, const WebCore::FloatPoint& /* trajectoryVector */) { }
-    virtual void createTileForLayer(int /* layerID */, int /* tileID */, const WebKit::UpdateInfo&) { }
-    virtual void updateTileForLayer(int /* layerID */, int /* tileID */, const WebKit::UpdateInfo&) { }
-    virtual void removeTileForLayer(int /* layerID */, int /* tileID */) { }
     virtual void didReceiveLayerTreeCoordinatorProxyMessage(CoreIPC::Connection*, CoreIPC::MessageID, CoreIPC::MessageDecoder&);
 
     WebPageProxy* page() { return m_webPageProxy; }
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to