Title: [184892] trunk/Source/WebKit2
Revision
184892
Author
commit-qu...@webkit.org
Date
2015-05-26 18:08:29 -0700 (Tue, 26 May 2015)

Log Message

[EFL] webview should be updated from (0,0) when using the evasGL.
https://bugs.webkit.org/show_bug.cgi?id=137948

Patch by Hunseop Jeong <hs85.je...@samsung.com> on 2015-05-26
Reviewed by Gyuyoung Kim.

Changed the point of the start position to update the evasObject
correctly when using the evasGL for graphics backend.

* UIProcess/API/efl/EwkView.cpp:
(EwkView::displayTimerFired):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (184891 => 184892)


--- trunk/Source/WebKit2/ChangeLog	2015-05-27 00:54:38 UTC (rev 184891)
+++ trunk/Source/WebKit2/ChangeLog	2015-05-27 01:08:29 UTC (rev 184892)
@@ -1,3 +1,16 @@
+2015-05-26  Hunseop Jeong  <hs85.je...@samsung.com>
+
+        [EFL] webview should be updated from (0,0) when using the evasGL.
+        https://bugs.webkit.org/show_bug.cgi?id=137948
+
+        Reviewed by Gyuyoung Kim.
+
+        Changed the point of the start position to update the evasObject
+        correctly when using the evasGL for graphics backend.
+
+        * UIProcess/API/efl/EwkView.cpp:
+        (EwkView::displayTimerFired):
+
 2015-05-26  Dan Bernstein  <m...@apple.com>
 
         <rdar://problem/21104551> Update build settings

Modified: trunk/Source/WebKit2/UIProcess/API/efl/EwkView.cpp (184891 => 184892)


--- trunk/Source/WebKit2/UIProcess/API/efl/EwkView.cpp	2015-05-27 00:54:38 UTC (rev 184891)
+++ trunk/Source/WebKit2/UIProcess/API/efl/EwkView.cpp	2015-05-27 01:08:29 UTC (rev 184892)
@@ -576,8 +576,8 @@
 
     WKViewPaintToCurrentGLContext(wkView());
 
-    // sd->image is tied to a native surface, which is in the parent's coordinates.
-    evas_object_image_data_update_add(sd->image, sd->view.x, sd->view.y, sd->view.w, sd->view.h);
+    // sd->image should be updated from (0,0) when using the evasGL for graphics backend.
+    evas_object_image_data_update_add(sd->image, 0, 0, sd->view.w, sd->view.h);
 }
 
 void EwkView::scheduleUpdateDisplay()
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to