[Webkit-unassigned] [Bug 56178] [EFL] Repaint throttling API for WebKit-EFL
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon May 9 05:29:28 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=56178
--- Comment #7 from Grzegorz <g.czajkowski at samsung.com> 2011-05-09 05:29:28 PST ---
(In reply to comment #6)
> (From update of attachment 85446 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=85446&action=review
>
> Don't you need to ENABLE(REPAINT_THROTTLING)?
Yes, you are right.
>
> > Source/WebKit/efl/ewk/ewk_settings.cpp:67
> > +static const struct _repaint_throttling_values {
> > + double deferred_repaint_delay;
> > + double initial_deferred_repaint_delay_during_loading;
> > + double max_deferred_repaint_delay_during_loading;
> > + double deferred_repaint_delay_increment_during_loading;
> > +} repaint_throttling_values[] = {
> > + { 0, 0, 0, 0 },
> > + { 0.025, 0, 2.5, 0.5 },
> > + { 0.01, 0, 1, 0.2 },
> > + { 0.025, 1, 5, 0.5 },
> > + { 0.1, 2, 10, 1 }
> > + };
> > +
>
> It seems weird for me to expose this API. Wouldn't it be better to let the browser decide which value each field takes? With a quick grep I couldn't find a similar implementation in other ports.
Methods QWebPagePrivate::dynamicPropertyChangeEvent in http://trac.webkit.org/browser/trunk/Source/WebKit/qt/Api/qwebpage.cpp allows to set repaint throttling based on browser's settings.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list