[Webkit-unassigned] [Bug 91581] [WK2][EFL] Add an ACCELERATED_COMPOSITING implementation for Efl WebKit2
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jul 23 22:47:41 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=91581
--- Comment #8 from YoungTaeck Song <youngtaeck.song at samsung.com> 2012-07-23 22:47:42 PST ---
(In reply to comment #6)
Thanks for kind review.
> (From update of attachment 153157 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=153157&action=review
>
> > Source/WebKit2/UIProcess/API/efl/ewk_view.cpp:393
> > + EWK_VIEW_SD_GET(ewkView, smartData);
>
> Use EWK_VIEW_SD_GET_OR_RETURN(ewkView, smartData, 0);
fixed.
>
> > Source/WebKit2/UIProcess/API/efl/ewk_view.cpp:394
> > + EWK_VIEW_PRIV_GET(smartData, priv);
>
> ditto.
fixed.
>
> > Source/WebKit2/UIProcess/API/efl/ewk_view.cpp:404
> > + ASSERT(!priv->evasGlSurface);
>
> Though below condition check this again, should we use this ?
It's Christophe Dumez's suggestion.
It's for memory leak when the client calls this function several times.
>
> > Source/WebKit2/UIProcess/API/efl/ewk_view.cpp:416
> > +bool ewk_view_accelerated_compositing_mode_enter(Evas_Object* ewkView)
>
> If possible, it is good to use *const* keyword.
fixed.
>
> > Source/WebKit2/UIProcess/API/efl/ewk_view.cpp:418
> > + EWK_VIEW_SD_GET(ewkView, smartData);
>
> ditto.
fixed.
>
> > Source/WebKit2/UIProcess/API/efl/ewk_view.cpp:419
> > + EWK_VIEW_PRIV_GET(smartData, priv);
>
> ditto.
fixed.
>
> > Source/WebKit2/UIProcess/API/efl/ewk_view.cpp:442
> > + }
>
> Add an empty line.
fixed.
>
> > Source/WebKit2/UIProcess/API/efl/ewk_view.cpp:446
> > +bool ewk_view_accelerated_compositing_mode_exit(Evas_Object* ewkView)
>
> If possible, it is good to use *const* keyword.
fixed.
>
> > Source/WebKit2/UIProcess/API/efl/ewk_view.cpp:448
> > + EWK_VIEW_SD_GET(ewkView, smartData);
>
> ditto.
fixed.
>
> > Source/WebKit2/UIProcess/API/efl/ewk_view.cpp:449
> > + EWK_VIEW_PRIV_GET(smartData, priv);
>
> ditto.
fixed.
>
> > Tools/MiniBrowser/efl/main.c:51
> > + "GPL",
>
> AFAIK, WebKit is based on LGPL and Apple BSD. So, LGPL is more proper.
fixed.
>
> > Tools/MiniBrowser/efl/main.c:224
> > + ecore_app_args_set(argc, (const char**) argv);
>
> s/(const char**)/(const char **)/g
fixed.
--
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