Can GTK+ make use of XSHM extension from MIT
- From: "Bin Chen" <binary chen gmail com>
- To: gtk-app-devel-list gnome org, maemo-developers maemo org
- Subject: Can GTK+ make use of XSHM extension from MIT
- Date: Thu, 10 Jan 2008 16:12:36 +0800
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]