Title: [123998] trunk/Source
Revision
123998
Author
[email protected]
Date
2012-07-29 23:09:55 -0700 (Sun, 29 Jul 2012)

Log Message

[WK2][EFL] TILED_BACKING_STORE support on Efl WebKit2
https://bugs.webkit.org/show_bug.cgi?id=91582

Patch by YoungTaeck Song <[email protected]> on 2012-07-29
Reviewed by Noam Rosenthal.

Source/WebCore:

This patch is a subset of Efl's UI_SIDE_COMPOSITING implementation.
This patch adds TILED_BACKING_STORE related files to CMakeLists.txt and PlatformEfl.cmake

* CMakeLists.txt:
* PlatformEfl.cmake:

Source/WebKit/efl:

Add a dummy function for fixing building error when enabling TILED_BACKING_STORE.

* WebCoreSupport/ChromeClientEfl.cpp:
(WebCore):
(WebCore::ChromeClientEfl::delegatedScrollRequested):
* WebCoreSupport/ChromeClientEfl.h:
(ChromeClientEfl):

Source/WebKit2:

This patch is a subset of Efl's UI_SIDE_COMPOSITING implementation.
Add a dummy function for fixing building error when enabling TILED_BACKING_STORE.

* UIProcess/API/efl/PageClientImpl.cpp:
(WebKit):
(WebKit::PageClientImpl::pageDidRequestScroll):
* UIProcess/API/efl/PageClientImpl.h:
(PageClientImpl):
* WebProcess/WebCoreSupport/WebChromeClient.cpp:
(WebKit::WebChromeClient::contentsSizeChanged):

Modified Paths

Diff

Modified: trunk/Source/WebCore/CMakeLists.txt (123997 => 123998)


--- trunk/Source/WebCore/CMakeLists.txt	2012-07-30 05:49:29 UTC (rev 123997)
+++ trunk/Source/WebCore/CMakeLists.txt	2012-07-30 06:09:55 UTC (rev 123998)
@@ -1812,6 +1812,7 @@
     platform/graphics/SurrogatePairAwareTextIterator.cpp
     platform/graphics/SVGGlyph.cpp
     platform/graphics/TextRun.cpp
+    platform/graphics/TiledBackingStore.cpp
     platform/graphics/WidthIterator.cpp
 
     platform/graphics/filters/CustomFilterGlobalContext.cpp

Modified: trunk/Source/WebCore/ChangeLog (123997 => 123998)


--- trunk/Source/WebCore/ChangeLog	2012-07-30 05:49:29 UTC (rev 123997)
+++ trunk/Source/WebCore/ChangeLog	2012-07-30 06:09:55 UTC (rev 123998)
@@ -1,3 +1,16 @@
+2012-07-29  YoungTaeck Song  <[email protected]>
+
+        [WK2][EFL] TILED_BACKING_STORE support on Efl WebKit2
+        https://bugs.webkit.org/show_bug.cgi?id=91582
+
+        Reviewed by Noam Rosenthal.
+
+        This patch is a subset of Efl's UI_SIDE_COMPOSITING implementation.
+        This patch adds TILED_BACKING_STORE related files to CMakeLists.txt and PlatformEfl.cmake
+
+        * CMakeLists.txt:
+        * PlatformEfl.cmake:
+
 2012-07-29  Keishi Hattori  <[email protected]>
 
         Fix removing invalid values from color input suggestions

Modified: trunk/Source/WebCore/PlatformEfl.cmake (123997 => 123998)


--- trunk/Source/WebCore/PlatformEfl.cmake	2012-07-30 05:49:29 UTC (rev 123997)
+++ trunk/Source/WebCore/PlatformEfl.cmake	2012-07-30 06:09:55 UTC (rev 123998)
@@ -135,6 +135,7 @@
     platform/graphics/cairo/GraphicsContextCairo.cpp
     platform/graphics/cairo/ImageBufferCairo.cpp
     platform/graphics/cairo/ImageCairo.cpp
+    platform/graphics/cairo/IntRectCairo.cpp
     platform/graphics/cairo/NativeImageCairo.cpp
     platform/graphics/cairo/OwnPtrCairo.cpp
     platform/graphics/cairo/PathCairo.cpp
@@ -142,6 +143,8 @@
     platform/graphics/cairo/PlatformContextCairo.cpp
     platform/graphics/cairo/PlatformPathCairo.cpp
     platform/graphics/cairo/RefPtrCairo.cpp
+    platform/graphics/cairo/TileCairo.cpp
+    platform/graphics/cairo/TiledBackingStoreBackendCairo.cpp
     platform/graphics/cairo/TransformationMatrixCairo.cpp
 
     platform/image-decoders/cairo/ImageDecoderCairo.cpp

Modified: trunk/Source/WebKit/efl/ChangeLog (123997 => 123998)


--- trunk/Source/WebKit/efl/ChangeLog	2012-07-30 05:49:29 UTC (rev 123997)
+++ trunk/Source/WebKit/efl/ChangeLog	2012-07-30 06:09:55 UTC (rev 123998)
@@ -1,3 +1,18 @@
+2012-07-29  YoungTaeck Song  <[email protected]>
+
+        [WK2][EFL] TILED_BACKING_STORE support on Efl WebKit2
+        https://bugs.webkit.org/show_bug.cgi?id=91582
+
+        Reviewed by Noam Rosenthal.
+
+        Add a dummy function for fixing building error when enabling TILED_BACKING_STORE.
+
+        * WebCoreSupport/ChromeClientEfl.cpp:
+        (WebCore):
+        (WebCore::ChromeClientEfl::delegatedScrollRequested):
+        * WebCoreSupport/ChromeClientEfl.h:
+        (ChromeClientEfl):
+
 2012-07-27  Christophe Dumez  <[email protected]>
 
         [EFL] Regression(r123858): Default navigation policy decision was switched to "reject"

Modified: trunk/Source/WebKit/efl/WebCoreSupport/ChromeClientEfl.cpp (123997 => 123998)


--- trunk/Source/WebKit/efl/WebCoreSupport/ChromeClientEfl.cpp	2012-07-30 05:49:29 UTC (rev 123997)
+++ trunk/Source/WebKit/efl/WebCoreSupport/ChromeClientEfl.cpp	2012-07-30 06:09:55 UTC (rev 123998)
@@ -650,4 +650,11 @@
 }
 #endif
 
+#if USE(TILED_BACKING_STORE)
+void ChromeClientEfl::delegatedScrollRequested(const IntPoint& point)
+{
+    notImplemented();
 }
+#endif
+
+}

Modified: trunk/Source/WebKit/efl/WebCoreSupport/ChromeClientEfl.h (123997 => 123998)


--- trunk/Source/WebKit/efl/WebCoreSupport/ChromeClientEfl.h	2012-07-30 05:49:29 UTC (rev 123997)
+++ trunk/Source/WebKit/efl/WebCoreSupport/ChromeClientEfl.h	2012-07-30 06:09:55 UTC (rev 123998)
@@ -180,6 +180,10 @@
     virtual bool shouldRubberBandInDirection(WebCore::ScrollDirection) const { return true; }
     virtual void numWheelEventHandlersChanged(unsigned) { }
 
+#if USE(TILED_BACKING_STORE)
+    virtual void delegatedScrollRequested(const IntPoint& scrollPoint);
+#endif
+
     Evas_Object* m_view;
     KURL m_hoveredLinkURL;
 #if ENABLE(FULLSCREEN_API)

Modified: trunk/Source/WebKit2/ChangeLog (123997 => 123998)


--- trunk/Source/WebKit2/ChangeLog	2012-07-30 05:49:29 UTC (rev 123997)
+++ trunk/Source/WebKit2/ChangeLog	2012-07-30 06:09:55 UTC (rev 123998)
@@ -1,3 +1,21 @@
+2012-07-29  YoungTaeck Song  <[email protected]>
+
+        [WK2][EFL] TILED_BACKING_STORE support on Efl WebKit2
+        https://bugs.webkit.org/show_bug.cgi?id=91582
+
+        Reviewed by Noam Rosenthal.
+
+        This patch is a subset of Efl's UI_SIDE_COMPOSITING implementation.
+        Add a dummy function for fixing building error when enabling TILED_BACKING_STORE.
+
+        * UIProcess/API/efl/PageClientImpl.cpp:
+        (WebKit):
+        (WebKit::PageClientImpl::pageDidRequestScroll):
+        * UIProcess/API/efl/PageClientImpl.h:
+        (PageClientImpl):
+        * WebProcess/WebCoreSupport/WebChromeClient.cpp:
+        (WebKit::WebChromeClient::contentsSizeChanged):
+
 2012-07-29  Patrick Gansterer  <[email protected]>
 
         [CMake] Use WEBKIT_CREATE_FORWARDING_HEADERS to generate WK2 forwarding headers

Modified: trunk/Source/WebKit2/UIProcess/API/efl/PageClientImpl.cpp (123997 => 123998)


--- trunk/Source/WebKit2/UIProcess/API/efl/PageClientImpl.cpp	2012-07-30 05:49:29 UTC (rev 123997)
+++ trunk/Source/WebKit2/UIProcess/API/efl/PageClientImpl.cpp	2012-07-30 06:09:55 UTC (rev 123998)
@@ -288,4 +288,11 @@
     ewk_download_job_unref(ewkDownload);
 }
 
+#if USE(TILED_BACKING_STORE)
+void PageClientImpl::pageDidRequestScroll(const IntPoint&)
+{
+    notImplemented();
+}
+#endif
+
 } // namespace WebKit

Modified: trunk/Source/WebKit2/UIProcess/API/efl/PageClientImpl.h (123997 => 123998)


--- trunk/Source/WebKit2/UIProcess/API/efl/PageClientImpl.h	2012-07-30 05:49:29 UTC (rev 123997)
+++ trunk/Source/WebKit2/UIProcess/API/efl/PageClientImpl.h	2012-07-30 06:09:55 UTC (rev 123998)
@@ -108,6 +108,10 @@
     virtual void findStringInCustomRepresentation(const String&, FindOptions, unsigned);
     virtual void countStringMatchesInCustomRepresentation(const String&, FindOptions, unsigned);
 
+#if USE(TILED_BACKING_STORE)
+    virtual void pageDidRequestScroll(const WebCore::IntPoint&);
+#endif
+
 private:
     RefPtr<WebPageProxy> m_page;
     Evas_Object* m_viewWidget;

Modified: trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebChromeClient.cpp (123997 => 123998)


--- trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebChromeClient.cpp	2012-07-30 05:49:29 UTC (rev 123997)
+++ trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebChromeClient.cpp	2012-07-30 06:09:55 UTC (rev 123998)
@@ -440,7 +440,7 @@
     if (frame->page()->mainFrame() != frame)
         return;
 
-#if PLATFORM(QT)
+#if PLATFORM(QT) || (PLATFORM(EFL) && USE(TILED_BACKING_STORE))
     if (m_page->useFixedLayout()) {
         // The below method updates the size().
         m_page->resizeToContentsIfNeeded();
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to