Hello,

I am running GTK+ in a singal machine, the machine is slow so I want
make GTK+ use XSHM extension to accelerate the drawing speed.

By taking a look at both GTK+ source code and the MIT-SHM paper, my
conclusion is :

1) The XSHM can only support XImage and Pixmap.
2) The GTK+ engine update the image using XCopyArea, so its impossible
to accelerate the entire process.

I am thinking a case, we do all the rendering process in GTK+
side(such as use pango to render text, use other library to render
image), the transfer the rendered image to XServer using XSHM, then
draw this Image to the window.

Will this work?

Thanks.
Bin
_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers

Reply via email to