[Webkit-unassigned] [Bug 73430] [EFL] Add pre-rendering implementation.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Dec 22 18:43:50 PST 2011
https://bugs.webkit.org/show_bug.cgi?id=73430
--- Comment #11 from JungJik Lee <jungjik.lee at samsung.com> 2011-12-22 18:43:50 PST ---
(In reply to comment #9)
> > Source/WebKit/efl/ewk/ewk_private.h:51
> > +#define EWK_ARGB_BYTES_SIZE 4
>
> I suggest you to put this into ewk_tiled_backing_store.h since only backing store is using it.
This value is using in view and backing store both, so it should be in ewk_private.h
>
> > Source/WebKit/efl/ewk/ewk_tiled_backing_store.cpp:24
> > +#include "ewk_private.h"
>
> I think that this can be removed.
>
Due to EWK_ARGB_BYTES_SIZE, it is necessary.
> > Source/WebKit/efl/ewk/ewk_tiled_backing_store.cpp:1868
> > + viewRect->x, viewRect->y, viewRect->w, viewRect->h, tileWidth, tileHeight)) {
>
> Do you have any reason these must have two lines ?
>
> > Source/WebKit/efl/ewk/ewk_tiled_backing_store.cpp:1874
> > + renderRect->x, renderRect->y, renderRect->w, renderRect->h, tileWidth, tileHeight)) {
>
> Ditto.
>
It looks too long so I split it up to two lines.
> > Source/WebKit/efl/ewk/ewk_view.h:1257
> > + * This is an alternative method to pre-render the view area.
>
> may you mean "pre-render the view area" -> "pre-render around the view area".
>
OK, I will change the comment.
> > Source/WebKit/efl/ewk/ewk_view_tiled.cpp:237
> > +static inline void _ewk_view_tiled_rect_collision_resolve(int direction, int* destinationX, int* destinationY, int* destinationWidth, int* destinationHeight, int sourceX, int sourceY, int sourceWidth, int sourceHeight)
>
> As no new assignment for destinationWidth and destinationHeight was found, why should it be pointer ?
>
No necessary to be a pointer, I will change them.
> > Source/WebKit/efl/ewk/ewk_view_tiled.cpp:277
> > + && smartData->previousView.zoom == currentViewZoom) {
>
> Do you have any reason these must have three lines ?
> currentViewZoom is just available from this line, but you put the code to bring it from the beginning of the function.
> I suggest you to move calling of it into somewhere near the this condition block.
>
> > Source/WebKit/efl/ewk/ewk_view_tiled.cpp:292
Looks too long, same reason. and I will move the currentViewZoom near by condition block.
--
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