[Webkit-unassigned] [Bug 142865] [GTK] Add a configure option to build without Redirected XComposite Window

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 19 19:01:52 PDT 2015


--- Comment #8 from Gwang Yoon Hwang <yoon at igalia.com> ---
(In reply to comment #6)
> I'm also a bit curious about the memory usage, because a double-buffer
> window framebuffer and a window + a single-buffer pixmap framebuffer should
> take about the same amount of memory. Have you tried simply making the
> redirected X Composite window a single-buffer framebuffer?

Well, I didn't thought to make redirected X Composite window as a single-buffered.

I think the target frame buffer of GLContext should be double buffered.
If it is not, we need to make sure the frame buffer of redirected X Composite Window copied to WebView's window before SwapBuffer call in WebProcess.

And this approach should reduce memory copy overhead. Current redirected X Composite window approach has a overhead to copy frame buffer to cairo surface of WebView, but in this approach, we can simply flip the double-buffer window frame buffer.

I need to investigate more detailed GtkWidget and GdkWindow's behavior to remove other possible overhead such as gdk_window_begin_paint_region / gdk_window_end_paint[1].

[1] https://developer.gnome.org/gdk3/stable/gdk3-Windows.html#gdk-window-begin-paint-region

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150320/eb849c93/attachment-0002.html>

More information about the webkit-unassigned mailing list