[Webkit-unassigned] [Bug 62444] [EFL][WK2] Add BackingStoreEfl for WebKit2 EFL port

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 15 09:07:56 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=62444


Leandro Pereira <leandro at profusion.mobi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #97229|review?, commit-queue?      |review-, commit-queue-
               Flag|                            |




--- Comment #9 from Leandro Pereira <leandro at profusion.mobi>  2011-06-15 09:07:55 PST ---
(From update of attachment 97229)
View in context: https://bugs.webkit.org/attachment.cgi?id=97229&action=review

Informal r-.

> Source/WebKit2/UIProcess/efl/BackingStoreEfl.cpp:40
> +void BackingStore::paint(cairo_t* context, const IntRect& rect)

Can't this be shared with other Cairo-using ports?

> Source/WebKit2/UIProcess/efl/BackingStoreEfl.cpp:48
> +void BackingStore::incorporateUpdate(ShareableBitmap* bitmap, const UpdateInfo& updateInfo)

If the platform-independent part of this function is also similar to other Cairo-using ports, consider splitting this method into two, and doing something along the lines of:

   if (!m_backingStoreSurface)
      platformCreateBackingStoreSurface();

   scroll(...); ...

I'd talk with WinCairo and GTK+ devs before attempting this, though.

> Source/WebKit2/UIProcess/efl/BackingStoreEfl.cpp:77
> +void BackingStore::scroll(const IntRect& scrollRect, const IntSize& scrollOffset)

This method could also be shared with GTK+ or other Cairo-using ports: the only part here that depends on Evas is obtaining the dimentions of the view object, so perhaps a little refactoring would make this platform-independent?

-- 
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