Bug 137948 - [EFL] webview should be updated from (0,0) when using the evasGL.
Summary: [EFL] webview should be updated from (0,0) when using the evasGL.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit EFL (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Hunseop Jeong
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-22 00:11 PDT by Hunseop Jeong
Modified: 2015-05-26 18:08 PDT (History)
4 users (show)

See Also:


Attachments
Patch (1.51 KB, patch)
2014-10-22 01:23 PDT, Hunseop Jeong
no flags Details | Formatted Diff | Diff
Patch (1.56 KB, patch)
2015-02-17 23:34 PST, Hunseop Jeong
no flags Details | Formatted Diff | Diff
Patch (1.60 KB, patch)
2015-04-22 22:11 PDT, Hunseop Jeong
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Hunseop Jeong 2014-10-22 00:11:34 PDT
When using the evasGL, evas_object of webview have to update from (0,0) to the size of webview.
Comment 1 Hunseop Jeong 2014-10-22 00:15:26 PDT
Now, webview didn't update the part of top in minibrowser. You can watch this error when scrolling the any page.
Comment 2 Hunseop Jeong 2014-10-22 01:23:52 PDT
Created attachment 240255 [details]
Patch
Comment 3 Hunseop Jeong 2014-10-22 04:25:31 PDT
Hyowon, Could review this patch?
Comment 4 Hunseop Jeong 2014-10-22 04:26:41 PDT
Could you review this patch?
Comment 5 Ryuan Choi 2014-10-22 14:35:13 PDT
Comment on attachment 240255 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=240255&action=review

> Source/WebKit2/UIProcess/API/efl/EwkView.cpp:564
> -    // 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 have to update as the size of webview from (0,0) when using the evasGL.
> +    evas_object_image_data_update_add(sd->image, 0, 0, sd->view.w, sd->view.h);

I need more clear description about it.
At least, I want to know how to reproduce the issue.

If I remember correctly, it was tried but reverted long time ago.
Comment 6 Hunseop Jeong 2015-02-17 23:34:37 PST
Created attachment 246804 [details]
Patch
Comment 7 Gyuyoung Kim 2015-04-22 07:27:13 PDT
Comment on attachment 246804 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=246804&action=review

> Source/WebKit2/ChangeLog:3
> +        [EFL] webview have to update from (0,0) to the size of webView after r180134.

s/have/has/g

> Source/WebKit2/ChangeLog:9
> +        (EwkView::displayTimerFired): Changed the point of start position to update the evasobject.

Could you explain what is problem now ?

> Source/WebKit2/UIProcess/API/efl/EwkView.cpp:578
> +    // sd->image have to update as the size of webview from (0,0) when using the evasGL.

I don't understand this comment well. Do you mean sd->image should be updated from (0, 0) when we use evasGL for graphics backend ?
Comment 8 Hunseop Jeong 2015-04-22 17:42:28 PDT
(In reply to comment #7)
> Comment on attachment 246804 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=246804&action=review
> 
> > Source/WebKit2/ChangeLog:3
> > +        [EFL] webview have to update from (0,0) to the size of webView after r180134.
> 
> s/have/has/g
> 
> > Source/WebKit2/ChangeLog:9
> > +        (EwkView::displayTimerFired): Changed the point of start position to update the evasobject.
> 
> Could you explain what is problem now ?
In my Minibrowser, The top part of the screen wasn't updated. Looks like freeze. I try to test at other PC but that also occurred.
Is your Minibrowser okay?

> 
> > Source/WebKit2/UIProcess/API/efl/EwkView.cpp:578
> > +    // sd->image have to update as the size of webview from (0,0) when using the evasGL.
> 
> I don't understand this comment well. Do you mean sd->image should be
> updated from (0, 0) when we use evasGL for graphics backend ?
Yes, sd->image should be updated from (0,0) if using the graphics backend.
Comment 9 Gyuyoung Kim 2015-04-22 18:47:21 PDT
Comment on attachment 246804 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=246804&action=review

>>> Source/WebKit2/UIProcess/API/efl/EwkView.cpp:578
>>> +    // sd->image have to update as the size of webview from (0,0) when using the evasGL.
>> 
>> I don't understand this comment well. Do you mean sd->image should be updated from (0, 0) when we use evasGL for graphics backend ?
> 
> Yes, sd->image should be updated from (0,0) if using the graphics backend.

I see. Please update this patch description and comment according to my comment again.
Comment 10 Hunseop Jeong 2015-04-22 22:11:35 PDT
Created attachment 251405 [details]
Patch
Comment 11 Gyuyoung Kim 2015-05-26 00:32:05 PDT
Comment on attachment 251405 [details]
Patch

It would be nicer if Ryuan has a final review before landing.
Comment 12 WebKit Commit Bot 2015-05-26 18:08:45 PDT
Comment on attachment 251405 [details]
Patch

Clearing flags on attachment: 251405

Committed r184892: <http://trac.webkit.org/changeset/184892>
Comment 13 WebKit Commit Bot 2015-05-26 18:08:51 PDT
All reviewed patches have been landed.  Closing bug.