RESOLVED INVALID 63240
[EFL] Put bg_rect object under the backing store
https://bugs.webkit.org/show_bug.cgi?id=63240
Summary [EFL] Put bg_rect object under the backing store
KwangHyuk
Reported 2011-06-23 02:53:47 PDT
Basic implementation to support backgrounds for areas not rendered yet and zoom animation (weak zoom).
Attachments
propose a simple patch (2.70 KB, patch)
2011-06-23 02:57 PDT, KwangHyuk
lucas.de.marchi: review-
KwangHyuk
Comment 1 2011-06-23 02:57:35 PDT
Created attachment 98328 [details] propose a simple patch
Gyuyoung Kim
Comment 2 2011-06-23 03:03:29 PDT
Could you explain why you need this patch ?
KwangHyuk
Comment 3 2011-06-23 05:07:10 PDT
First, As the most of content’s size is not corresponding to the viewport, while zooming content’s bottom side is cut and it looks little ugly. Second, There would be no tile rendered when backing store is working, background color can give better feeling than transparent one. And finally, zoom bounce implementation also requires bg_rect object since it can fill the bottom side of the scaled content while it is working with the smaller zoom level than 1.0x.
KwangHyuk
Comment 4 2011-06-23 05:09:30 PDT
As for the zoom bounce feature, It would be added as soon as some apis are ready.
Gyuyoung Kim
Comment 5 2011-06-23 05:10:08 PDT
LGTM.
Ryuan Choi
Comment 6 2011-06-23 05:15:51 PDT
View in context: https://bugs.webkit.org/attachment.cgi?id=98328&action=review > Source/WebKit/efl/ewk/ewk_view.cpp:738 > + evas_object_color_set(o, 255, 255, 255, 255); How can we get transparent webview? Should we need to consider behavior of ewk_view_bg_color_set?
KwangHyuk
Comment 7 2011-06-23 05:22:10 PDT
> How can we get transparent webview? > Should we need to consider behavior of ewk_view_bg_color_set? Make sense, :-)
KwangHyuk
Comment 8 2011-06-23 06:44:09 PDT
>> How can we get transparent webview? >> Should we need to consider behavior of ewk_view_bg_color_set? > Make sense, :-) As for this, I better add some implementation into ewk_view_bg_color_set as new patch and will follow it up too if there is no objection to modify that api.
Lucas De Marchi
Comment 9 2011-06-24 14:15:17 PDT
(In reply to comment #3) > First, As the most of content’s size is not corresponding to the viewport, while zooming content’s bottom side is cut and it looks little ugly. > Second, There would be no tile rendered when backing store is working, background color can give better feeling than transparent one. > And finally, zoom bounce implementation also requires bg_rect object since it can fill the bottom side of the scaled content while it is working with the smaller zoom level than 1.0x. This doesn't belong to WebKit. It could be perfectly done in the browser as eve does. Eric Seidel already noticed once that sometimes the EFL port does things that should be rather implemented in the browser. So, let's try not to bloat our API. Informal r- on my side.
KwangHyuk
Comment 10 2011-06-24 19:35:26 PDT
Make sense. But, I would like to add my idea more. From the point of api view, I won’t add new api for this bounce feature. I would like to know whether you still think that this bounce feature would be in application area although I won’t add new api for this feature ? In addition, I think that it would be nice if webview can support zoom bounce feature by itself, by considering rectangle ratio between view port and content size. I will appreciate you if you share your idea more for this.
KwangHyuk
Comment 11 2011-08-08 04:22:40 PDT
Hi, Lucas, I will discuss with ui developer whether he can take bg rect and apply it into application side. Would you share your idea one more time whether you are really thinking that bg rect can't be a part of ewk_view ?
KwangHyuk
Comment 12 2011-08-19 06:34:04 PDT
I close this bug. :-)
Note You need to log in before you can comment on or make changes to this bug.